--- trunk/src/utils/GenericData.hpp 2005/04/15 22:04:00 507 +++ trunk/src/utils/GenericData.hpp 2006/05/17 21:51:42 963 @@ -54,6 +54,7 @@ #include #include #include +#include "config.h" namespace oopse{ /** @@ -148,8 +149,8 @@ namespace oopse{ /** FloatGenericData is a generic data type contains a float variable */ typedef SimpleTypeData FloatGenericData; - /** DoubleGenericData is a generic data type contains a double variable */ - typedef SimpleTypeData DoubleGenericData; + /** DoubleGenericData is a generic data type contains a RealType variable */ + typedef SimpleTypeData DoubleGenericData; /** * @typedef StringGenericData @@ -189,7 +190,7 @@ namespace oopse{ VectorTypeData(const std::string& id) : GenericData(id){} - VectorTypeData(const SelfType& s) : SelfType(s){} + VectorTypeData(const SelfType& s) : data_(s){} SelfType& operator =(const SelfType& s){ if (this == &s) @@ -217,9 +218,9 @@ namespace oopse{ /** * @typedef IntVectorGenericData - * A generic data type contains a std::vector variable. + * A generic data type contains a std::vector variable. */ - typedef VectorTypeData DoubleVectorGenericData; + typedef VectorTypeData DoubleVectorGenericData; /** * @typedef StringVectorGenericData