ocra-recipes
Doxygen documentation for the ocra-recipes repository
|
#include <NamedInstance.h>
Public Member Functions | |
NamedInstance (const std::string &name) | |
const std::string & | getName () const |
virtual | ~NamedInstance () |
A trivial class with a single string member.
Within ocra, this class is meant to be used as a virtual base class to force some objects (functions, solvers) to have their own name.
Definition at line 13 of file NamedInstance.h.
ocra::NamedInstance::NamedInstance | ( | const std::string & | name | ) |
Definition at line 5 of file NamedInstance.cpp.
|
virtual |
Definition at line 15 of file NamedInstance.cpp.
const std::string & ocra::NamedInstance::getName | ( | ) | const |
Definition at line 10 of file NamedInstance.cpp.