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

◆ Initializer() [1/3]

exotica::Initializer::Initializer ( )

Definition at line 59 of file property.cpp.

◆ Initializer() [2/3]

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

Definition at line 63 of file property.cpp.

◆ Initializer() [3/3]

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

◆ AddProperty()

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

Definition at line 80 of file property.cpp.

◆ GetName()

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

Definition at line 75 of file property.cpp.

◆ GetProperty()

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

Definition at line 98 of file property.cpp.

◆ GetPropertyNames()

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

Definition at line 113 of file property.cpp.

◆ HasProperty()

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

Definition at line 93 of file property.cpp.

◆ SetName()

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

Definition at line 108 of file property.cpp.

◆ SetProperty()

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

Definition at line 103 of file property.cpp.

Member Data Documentation

◆ name_

std::string exotica::Initializer::name_

Definition at line 85 of file property.h.

◆ properties_

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 Fri Aug 2 2024 08:43:03