add className function, so this class is now concrete

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@494 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
liefooga 2007-07-02 13:57:40 +00:00
commit 6c0e95bfb0
2 changed files with 19 additions and 1 deletions

View file

@ -38,6 +38,15 @@ public:
{}
/**
* Returns the class name as a std::string
*/
virtual std::string className() const
{
return "moeoBitVector";
}
/**
* Writing object
* @param _os output stream

View file

@ -30,7 +30,16 @@ public:
*/
moeoRealVector(unsigned int _size = 0, double _value = 0.0) : moeoVector< MOEOObjectiveVector, MOEOFitness, MOEODiversity, double >(_size, _value)
{}
/**
* Returns the class name as a std::string
*/
virtual std::string className() const
{
return "moeoRealVector";
}
};
#endif /*MOEOREALVECTOR_H_*/