Darwin Neuroevolution Framework
Public Member Functions | List of all members
core::Stringify< T > Class Template Referenceabstract

Interface for converting values to/from strings (the default implementation uses iostream I/O operators) More...

#include <stringify.h>

Inheritance diagram for core::Stringify< T >:
core::GenericStringify< T > core::StringifyKnownValues< T >

Public Member Functions

virtual string toString (const T &value) const =0
 Value to string conversion.
 
virtual T fromString (const string &str) const =0
 String to value conversion.
 
virtual vector< string > knownValues () const =0
 The list of known values for type T, if available (for example enumerations)
 

Detailed Description

template<class T>
class core::Stringify< T >

Interface for converting values to/from strings (the default implementation uses iostream I/O operators)


The documentation for this class was generated from the following file: