Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

TXFMChain.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 2002-2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 /*
00018  * XSEC
00019  *
00020  * TXFMChain := List class that holds and manipulates a chain of TXFM 
00021  *              objects.
00022  *
00023  * Author(s): Berin Lautenbach
00024  *
00025  * $Id: TXFMChain.hpp 351214 2005-02-03 13:58:14Z milan $
00026  *
00027  */
00028 
00029 #ifndef TXFMCHAIN_INCLUDE
00030 #define TXFMCHAIN_INCLUDE
00031 
00032 #include <xsec/framework/XSECDefs.hpp>
00033 
00034 class TXFMBase;
00035 
00036 
00044 class DSIG_EXPORT TXFMChain {
00045 
00046 public:
00047 
00048     // Constructors/destructors
00049 
00050     TXFMChain(TXFMBase * baseTxfm, bool deleteChainWhenDone = true);
00051     ~TXFMChain();
00052 
00053     // Manipulate
00054     void appendTxfm(TXFMBase * txfm);
00055     TXFMBase * getLastTxfm(void);
00056 
00057 private:
00058 
00059     TXFMChain();
00060     TXFMChain(TXFMChain &toCopy);
00061 
00062     TXFMBase                * mp_currentTxfm;
00063     bool                    m_deleteChainWhenDone;
00064 
00065     void deleteTXFMChain(TXFMBase * toDelete);
00066 
00067 };
00068 
00069 inline
00070 TXFMBase * TXFMChain::getLastTxfm(void) {return mp_currentTxfm;}
00071 
00072 
00073 
00074 #endif /* TXFMCHAIN_INCLUDE */

Generated on Sun Jan 28 19:37:22 2007 for XML-Security-C by  doxygen 1.4.2