Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Handler for internal items. More...
#include <bayeux/geomtools/model_with_internal_items_tools.h>
Classes | |
struct | item_type |
Internal item record. More... | |
Public Types | |
typedef std::map< std::string, item_type > | item_dict_type |
Public Member Functions | |
model_with_internal_items_tools () | |
~model_with_internal_items_tools () | |
const item_type & | get_item (const std::string &) const |
item_type & | grab_item (const std::string &) |
void | add_item (const std::string &label_, const i_model &model_, const placement &placement_) |
bool | has_item (const std::string &) const |
size_t | get_number_of_items () const |
const item_dict_type & | get_items () const |
item_dict_type & | grab_items () |
void | plug_internal_models (const datatools::properties &setup_, logical_volume &log_, models_col_type *models_) |
Static Public Member Functions | |
static void | init_ocd (datatools::object_configuration_description &ocd_, const std::string &prefix_="") |
Static Public Attributes | |
static const std::string | INTERNAL_ITEM_PREFIX |
value = "internal_item." More... | |
static const std::string | INTERNAL_ITEM_LABELS_KEY |
value = "internal_item.labels" More... | |
static const std::string | INTERNAL_ITEM_MODEL_PREFIX |
value = "internal_item.model." More... | |
static const std::string | INTERNAL_ITEM_PLACEMENT_PREFIX |
value = "internal_item.placement." More... | |
Handler for internal items.
typedef std::map<std::string, item_type> geomtools::model_with_internal_items_tools::item_dict_type |
geomtools::model_with_internal_items_tools::model_with_internal_items_tools | ( | ) |
geomtools::model_with_internal_items_tools::~model_with_internal_items_tools | ( | ) |
void geomtools::model_with_internal_items_tools::add_item | ( | const std::string & | label_, |
const i_model & | model_, | ||
const placement & | placement_ | ||
) |
const item_type& geomtools::model_with_internal_items_tools::get_item | ( | const std::string & | ) | const |
const item_dict_type& geomtools::model_with_internal_items_tools::get_items | ( | ) | const |
size_t geomtools::model_with_internal_items_tools::get_number_of_items | ( | ) | const |
item_type& geomtools::model_with_internal_items_tools::grab_item | ( | const std::string & | ) |
item_dict_type& geomtools::model_with_internal_items_tools::grab_items | ( | ) |
bool geomtools::model_with_internal_items_tools::has_item | ( | const std::string & | ) | const |
|
static |
void geomtools::model_with_internal_items_tools::plug_internal_models | ( | const datatools::properties & | setup_, |
logical_volume & | log_, | ||
models_col_type * | models_ | ||
) |
|
static |
value = "internal_item.labels"
|
static |
value = "internal_item.model."
|
static |
value = "internal_item.placement."
|
static |
value = "internal_item."