otsdaq  v2_05_02_indev
ots::ConfigurationTree Class Reference

Classes

struct  BitMap
 
struct  RecordField
 

Public Member Functions

 ConfigurationTree (const ConfigurationManager *const &configMgr, const TableBase *const &config)
 
ConfigurationTreeoperator= (const ConfigurationTree &a)
 
template<class T >
void getValue (T &value) const
 
void getValue (std::string &value) const
 
void getValueAsBitMap (ConfigurationTree::BitMap &value) const
 
template<class T >
getValue (void) const
 
template<class T >
getValueWithDefault (const T &defaultValue) const
 
std::string getValue (void) const
 
std::string getValueWithDefault (const std::string &defaultValue) const
 
ConfigurationTree::BitMap getValueAsBitMap (void) const
 
ConfigurationTree getNode (const std::string &nodeName, bool doNotThrowOnBrokenUIDLinks=false) const
 
ConfigurationTree getBackNode (std::string nodeName, unsigned int backSteps=1) const
 
ConfigurationTree getForwardNode (std::string nodeName, unsigned int forwardSteps=1) const
 
const ConfigurationManagergetConfigurationManager (void) const
 
const std::string & getTableName (void) const
 
const std::string & getFieldTableName (void) const
 
const TableVersiongetTableVersion (void) const
 
const time_t & getTableCreationTime (void) const
 
std::vector< std::vector
< std::string > > 
getChildrenNamesByPriority (bool onlyStatusTrue=false) const
 
std::vector< std::string > getChildrenNames (bool byPriority=false, bool onlyStatusTrue=false) const
 
std::vector< std::vector
< std::pair< std::string,
ConfigurationTree > > > 
getChildrenByPriority (std::map< std::string, std::string > filterMap=std::map< std::string, std::string >(), bool onlyStatusTrue=false) const
 
std::vector< std::pair
< std::string,
ConfigurationTree > > 
getChildren (std::map< std::string, std::string > filterMap=std::map< std::string, std::string >(), bool byPriority=false, bool onlyStatusTrue=false) const
 
std::map< std::string,
ConfigurationTree
getChildrenMap (void) const
 
std::string getEscapedValue (void) const
 
const std::string & getValueAsString (bool returnLinkTableValue=false) const
 
const std::string & getUIDAsString (void) const
 
const std::string & getValueDataType (void) const
 
const std::string & getValueType (void) const
 
const std::string & getValueName (void) const
 
const std::string & getDefaultValue (void) const
 
const std::string & getFieldName (void) const
 
std::string getNodeType (void) const
 
const unsigned int & getNodeRow (void) const
 
const std::string & getDisconnectedTableName (void) const
 
const std::string & getDisconnectedLinkID (void) const
 
const std::string & getChildLinkIndex (void) const
 
std::vector< std::string > getFixedChoices (void) const
 
std::set< std::string > getSetOfGroupIDs (void) const
 
bool isDefaultValue (void) const
 
bool isRootNode (void) const
 
bool isTableNode (void) const
 
bool isValueNode (void) const
 
bool isValueBoolType (void) const
 
bool isValueNumberDataType (void) const
 
bool isDisconnected (void) const
 
bool isLinkNode (void) const
 
bool isGroupLinkNode (void) const
 
bool isUIDLinkNode (void) const
 
bool isGroupIDNode (void) const
 
bool isUIDNode (void) const
 
bool isStatusNode (void) const
 
bool isEnabled (void) const
 
bool status (void) const
 
void print (const unsigned int &depth=-1, std::ostream &out=std::cout) const
 
std::string nodeDump (void) const
 

Static Public Attributes

static const std::string DISCONNECTED_VALUE = "X"
 
static const std::string VALUE_TYPE_DISCONNECTED = "Disconnected"
 
static const std::string VALUE_TYPE_NODE = "Node"
 
static const std::string NODE_TYPE_GROUP_TABLE = "GroupTableNode"
 
static const std::string NODE_TYPE_TABLE = "TableNode"
 
static const std::string NODE_TYPE_GROUP_LINK = "GroupLinkNode"
 
static const std::string NODE_TYPE_UID_LINK = "UIDLinkNode"
 
static const std::string NODE_TYPE_VALUE = "ValueNode"
 
static const std::string NODE_TYPE_UID = "UIDNode"
 
static const std::string NODE_TYPE_ROOT = "RootNode"
 
static const std::string ROOT_NAME = "/"
 

Protected Member Functions

const unsigned int & getRow (void) const
 
const unsigned int & getColumn (void) const
 
const unsigned int & getFieldRow (void) const
 
const unsigned int & getFieldColumn (void) const
 
const TableViewColumnInfogetColumnInfo (void) const
 
std::vector
< ConfigurationTree::RecordField
getCommonFields (const std::vector< std::string > &recordList, const std::vector< std::string > &fieldAcceptList, const std::vector< std::string > &fieldRejectList, unsigned int depth=-1, bool autoSelectFilterFields=false) const
 
std::set< std::string > getUniqueValuesForField (const std::vector< std::string > &recordList, const std::string &fieldName, std::string *fieldGroupIDChildLinkIndex=0) const
 

Friends

class ConfigurationGUISupervisor
 
class Iterator
 
class ARTDAQTableBase
 
std::ostream & operator<< (std::ostream &out, const ConfigurationTree &t)
 

Detailed Description

Definition at line 17 of file ConfigurationTree.h.


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