Exotica
Public Member Functions | Public Attributes | List of all members
exotica::Initializer Class Reference

#include <property.h>

Collaboration diagram for exotica::Initializer:
Collaboration graph

Public Member Functions

 Initializer ()
 
 Initializer (const std::string &name)
 
 Initializer (const std::string &name, const std::map< std::string, boost::any > &properties)
 
const std::string & GetName () const
 
void SetName (const std::string &name)
 
void AddProperty (const Property &prop)
 
boost::any GetProperty (const std::string &name) const
 
void SetProperty (const std::string &name, boost::any)
 
bool HasProperty (const std::string &name) const
 
std::vector< std::string > GetPropertyNames () const
 

Public Attributes

std::map< std::string, Propertyproperties_
 
std::string name_
 

Constructor & Destructor Documentation

◆ Initializer() [1/3]

exotica::Initializer::Initializer ( )

◆ Initializer() [2/3]

exotica::Initializer::Initializer ( const std::string &  name)

◆ Initializer() [3/3]

exotica::Initializer::Initializer ( const std::string &  name,
const std::map< std::string, boost::any > &  properties 
)

Member Function Documentation

◆ AddProperty()

void exotica::Initializer::AddProperty ( const Property prop)

◆ GetName()

const std::string& exotica::Initializer::GetName ( ) const

◆ GetProperty()

boost::any exotica::Initializer::GetProperty ( const std::string &  name) const

◆ GetPropertyNames()

std::vector<std::string> exotica::Initializer::GetPropertyNames ( ) const

◆ HasProperty()

bool exotica::Initializer::HasProperty ( const std::string &  name) const

◆ SetName()

void exotica::Initializer::SetName ( const std::string &  name)

◆ SetProperty()

void exotica::Initializer::SetProperty ( const std::string &  name,
boost::any   
)

Member Data Documentation

◆ name_

std::string exotica::Initializer::name_

◆ properties_

std::map<std::string, Property> exotica::Initializer::properties_

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