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

DSIGTransformList.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 2002-2004 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  * imitations 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.6 2004/02/08 10:20:52 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 
00056 class DSIG_EXPORT DSIGTransformList {
00057 
00058 public:
00059 
00060 #if defined(XSEC_NO_NAMESPACES)
00061     typedef vector<DSIGTransform *>         TransformListVectorType;
00062 #else
00063     typedef std::vector<DSIGTransform *>    TransformListVectorType;
00064 #endif
00065 
00066 #if defined(XSEC_SIZE_T_IN_NAMESPACE_STD)
00067     typedef std::size_t     size_type;
00068 #else
00069     typedef size_t          size_type;
00070 #endif
00071 
00074 
00080     DSIGTransformList();
00081 
00090     ~DSIGTransformList();
00091 
00093 
00096 
00107     void addTransform(DSIGTransform * ref);
00108 
00116     void removeTransform(size_type index);
00117 
00124     DSIGTransform * item(size_type index);
00125 
00131     size_type   getSize();
00132 
00137     bool empty();
00138 
00139 
00140     // Get information
00141 
00142 private:
00143 
00144     TransformListVectorType                 m_transformList;
00145 };
00146 
00147 
00148 #endif /* DSIGTRANSFORMLIST_INCLUDE */

Generated on Sun Mar 14 20:20:35 2004 for XML-Security-C by doxygen 1.3.2