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

DSIGTransformList.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  * DSIGTransformList := List that holds all the transforms in the Signature.
00021  *
00022  * Author(s): Berin Lautenbach
00023  *
00024  * $Id: DSIGTransformList.hpp,v 1.9 2005/06/04 11:30:25 blautenb Exp $
00025  *
00026  */
00027 
00028 #ifndef DSIGTRANSFORMLIST_INCLUDE
00029 #define DSIGTRANSFORMLIST_INCLUDE
00030 
00031 
00032 // XSEC Includes
00033 #include <xsec/framework/XSECDefs.hpp>
00034 
00035 // General includes
00036 #include <vector>
00037 
00038 class DSIGTransform;
00039 
00055 class DSIG_EXPORT DSIGTransformList {
00056 
00057 public:
00058 
00059 #if defined(XSEC_NO_NAMESPACES)
00060     typedef vector<DSIGTransform *>         TransformListVectorType;
00061 #else
00062     typedef std::vector<DSIGTransform *>    TransformListVectorType;
00063 #endif
00064 
00065 #if defined(XSEC_SIZE_T_IN_NAMESPACE_STD)
00066     typedef std::size_t     size_type;
00067 #else
00068     typedef size_t          size_type;
00069 #endif
00070 
00073 
00079     DSIGTransformList();
00080 
00089     ~DSIGTransformList();
00090 
00092 
00095 
00106     void addTransform(DSIGTransform * ref);
00107 
00115     void removeTransform(size_type index);
00116 
00123     DSIGTransform * item(size_type index);
00124 
00130     size_type   getSize();
00131 
00136     bool empty();
00137 
00138 
00139     // Get information
00140 
00141 private:
00142 
00143     TransformListVectorType                 m_transformList;
00144 };
00145 
00146 
00147 #endif /* DSIGTRANSFORMLIST_INCLUDE */

Generated on Sun Jul 3 17:37:25 2005 for XML-Security-C by  doxygen 1.4.2