Bayeux  3.4.1
Core Foundation library for SuperNEMO
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
geomtools::model_with_internal_items_tools Class Reference

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_typeitem_dict_type
 

Public Member Functions

 model_with_internal_items_tools ()
 
 ~model_with_internal_items_tools ()
 
const item_typeget_item (const std::string &) const
 
item_typegrab_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_typeget_items () const
 
item_dict_typegrab_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...
 

Detailed Description

Handler for internal items.

Member Typedef Documentation

◆ item_dict_type

Constructor & Destructor Documentation

◆ model_with_internal_items_tools()

geomtools::model_with_internal_items_tools::model_with_internal_items_tools ( )

◆ ~model_with_internal_items_tools()

geomtools::model_with_internal_items_tools::~model_with_internal_items_tools ( )

Member Function Documentation

◆ add_item()

void geomtools::model_with_internal_items_tools::add_item ( const std::string &  label_,
const i_model model_,
const placement placement_ 
)

◆ get_item()

const item_type& geomtools::model_with_internal_items_tools::get_item ( const std::string &  ) const

◆ get_items()

const item_dict_type& geomtools::model_with_internal_items_tools::get_items ( ) const

◆ get_number_of_items()

size_t geomtools::model_with_internal_items_tools::get_number_of_items ( ) const

◆ grab_item()

item_type& geomtools::model_with_internal_items_tools::grab_item ( const std::string &  )

◆ grab_items()

item_dict_type& geomtools::model_with_internal_items_tools::grab_items ( )

◆ has_item()

bool geomtools::model_with_internal_items_tools::has_item ( const std::string &  ) const

◆ init_ocd()

static void geomtools::model_with_internal_items_tools::init_ocd ( datatools::object_configuration_description ocd_,
const std::string &  prefix_ = "" 
)
static

◆ plug_internal_models()

void geomtools::model_with_internal_items_tools::plug_internal_models ( const datatools::properties setup_,
logical_volume log_,
models_col_type models_ 
)

Member Data Documentation

◆ INTERNAL_ITEM_LABELS_KEY

const std::string geomtools::model_with_internal_items_tools::INTERNAL_ITEM_LABELS_KEY
static

value = "internal_item.labels"

◆ INTERNAL_ITEM_MODEL_PREFIX

const std::string geomtools::model_with_internal_items_tools::INTERNAL_ITEM_MODEL_PREFIX
static

value = "internal_item.model."

◆ INTERNAL_ITEM_PLACEMENT_PREFIX

const std::string geomtools::model_with_internal_items_tools::INTERNAL_ITEM_PLACEMENT_PREFIX
static

value = "internal_item.placement."

◆ INTERNAL_ITEM_PREFIX

const std::string geomtools::model_with_internal_items_tools::INTERNAL_ITEM_PREFIX
static

value = "internal_item."


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