ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/utils/GenericData.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-3.0/src/utils/GenericData.hpp (file contents):
Revision 1701 by tim, Wed Nov 3 16:08:43 2004 UTC vs.
Revision 1829 by tim, Thu Dec 2 05:14:58 2004 UTC

# Line 90 | Line 90 | namespace oopse{
90          public:
91              SimpleTypeData() :  GenericData(), data_(ElemDataType()) {}
92              SimpleTypeData(const std::string& id) : GenericData(id), data_(ElemDataType()) {}
93 <
93 >            SimpleTypeData(const std::string&id , const ElemDataType& data) : GenericData(id), data_(data) {}
94              template<typename T>
95              SimpleTypeData(const SimpleTypeData<T>& s) {
96                  data_ = s.getData();
# Line 137 | Line 137 | namespace oopse{
137    
138      /**
139       * @typedef StringGenericData
140 <     * A generic data type contains a string variable
140 >     * A generic data type contains a  std::string variable
141       *
142       * @code
143       *   StringGenericData* s = new StringGenericData("MyStringGenericData");
# Line 188 | Line 188 | namespace oopse{
188  
189      /**
190       * @typedef IntVectorGenericData
191 <     * A generic data type contains a vector<int> variable.
191 >     * A generic data type contains a  std::vector<int> variable.
192       */  
193      typedef STLContainerTypeData<std::vector, int> IntVectorGenericData;
194  
195      /**
196       * @typedef IntVectorGenericData
197 <     * A generic data type contains a vector<float> variable.
197 >     * A generic data type contains a  std::vector<float> variable.
198       */  
199      typedef STLContainerTypeData<std::vector, float> FloatVectorGenericData;
200  
201      /**
202       * @typedef IntVectorGenericData
203 <     * A generic data type contains a vector<double> variable.
203 >     * A generic data type contains a  std::vector<double> variable.
204       */  
205      typedef STLContainerTypeData<std::vector, double> DoubleVectorGenericData;
206  
207      /**
208       * @typedef StringVectorGenericData
209 <     *  A generic data type contains a vector<string> variable.
209 >     *  A generic data type contains a  std::vector<string> variable.
210       *
211       * @code
212       *  StringVectorGenericData* sv = new StringVectorGenericData("MyStringVector");
# Line 236 | Line 236 | namespace oopse{
236  
237      /**
238       * @typedef IntVectorGenericData
239 <     * A generic data type contains a  list<vector<string> >  variable.
239 >     * A generic data type contains a   std::list<vector<string> >  variable.
240       */  
241      typedef STLContainerTypeData<std::list, std::vector<int> > IntVectorListGenericData;
242    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines