#include <Partition.h>
Collaboration diagram for SCTDAL::Partition:
Public Member Functions | |
Partition (::Configuration &conf,::ConfigObject &obj) | |
virtual | ~Partition () |
bool | destroy (::Configuration &conf) |
Destroy object of the Partition class. | |
virtual void | init (bool init_children) |
virtual void | print (unsigned int, bool, std::ostream &) const |
const std::string & | get_name () const |
Get "name" attribute value. | |
const std::string & | name () const |
bool | set_name (const std::string &value) |
Set "name" attribute value. | |
unsigned short | get_id () const |
Get "id" attribute value. | |
unsigned short | id () const |
bool | set_id (unsigned short value) |
Set "id" attribute value. | |
const std::vector< const SCTDAL::Crate * > & | get_crates () const |
Get "crates" relationship value. | |
const std::vector< const SCTDAL::Crate * > & | crates () const |
bool | set_crates (const std::vector< const SCTDAL::Crate * > &value) |
Set "crates" relationship value. | |
Static Public Member Functions | |
static Partition * | create (::Configuration &conf, const std::string &id="") |
Create new object of the Partition class. | |
Static Public Attributes | |
static const std::string | s_class_name |
Private Member Functions | |
void | check_init () const |
Static Private Member Functions | |
static void | update (::Configuration &conf, const ::ConfigurationChange *change) |
static void | reset (::Configuration &conf, bool re_initialise_obj) |
Private Attributes | |
std::string | m_name |
unsigned short | m_id |
std::vector< const SCTDAL::Crate * > | m_crates |
Friends | |
class | ::Configuration |
Definition at line 26 of file Partition.h.
|
Create new object of the Partition class.
|
|
Destroy object of the Partition class.
|
|
Get "crates" relationship value.
Definition at line 109 of file Partition.h. References check_init(), and m_crates. Here is the call graph for this function: ![]() |
|
Get "id" attribute value.
Definition at line 96 of file Partition.h. References check_init(), and m_id. Here is the call graph for this function: ![]() |
|
Get "name" attribute value.
Definition at line 83 of file Partition.h. References check_init(), and m_name. Here is the call graph for this function: ![]() |
|
Set "crates" relationship value.
Definition at line 123 of file Partition.cpp. |
|
Set "id" attribute value.
Definition at line 103 of file Partition.h. |
|
Set "name" attribute value.
Definition at line 90 of file Partition.h. |