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

Handles types with a fixed, known set of values (enumerations for example) More...

#include <stringify.h>

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

Public Member Functions

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

Detailed Description

template<class T>
class core::StringifyKnownValues< T >

Handles types with a fixed, known set of values (enumerations for example)


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