ocra-recipes
Doxygen documentation for the ocra-recipes repository
Public Member Functions | List of all members
ocra::NamedInstance Class Reference

#include <NamedInstance.h>

Inheritance diagram for ocra::NamedInstance:
[legend]

Public Member Functions

 NamedInstance (const std::string &name)
 
const std::string & getName () const
 
virtual ~NamedInstance ()
 

Detailed Description

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.

Constructor & Destructor Documentation

ocra::NamedInstance::NamedInstance ( const std::string &  name)

Definition at line 5 of file NamedInstance.cpp.

ocra::NamedInstance::~NamedInstance ( )
virtual

Definition at line 15 of file NamedInstance.cpp.

Member Function Documentation

const std::string & ocra::NamedInstance::getName ( ) const

Definition at line 10 of file NamedInstance.cpp.


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