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

#include <property.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 70 of file property.h.

Constructor & Destructor Documentation

exotica::Initializer::Initializer ( )

Definition at line 59 of file property.cpp.

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

Definition at line 63 of file property.cpp.

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

Definition at line 67 of file property.cpp.

Member Function Documentation

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

Definition at line 80 of file property.cpp.

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

Definition at line 75 of file property.cpp.

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

Definition at line 98 of file property.cpp.

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

Definition at line 113 of file property.cpp.

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

Definition at line 93 of file property.cpp.

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

Definition at line 108 of file property.cpp.

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

Definition at line 103 of file property.cpp.

Member Data Documentation

std::string exotica::Initializer::name_

Definition at line 85 of file property.h.

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

Definition at line 84 of file property.h.


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


exotica_core
Author(s): Yiming Yang, Michael Camilleri
autogenerated on Sat Apr 10 2021 02:34:50