class for YACS catalogs. More...
#include <Catalog.hxx>
Public Member Functions | |
Catalog (const std::string &name) | |
virtual | ~Catalog () |
const std::string & | getName () const |
std::string | getErrors () |
void | setErrors (const std::string &errors) |
Node * | getNodeFromNodeMap (std::string name) |
Public Member Functions inherited from YACS::ENGINE::RefCounter | |
unsigned int | getRefCnt () const |
void | incrRef () const |
bool | decrRef () |
Public Attributes | |
std::map< std::string, TypeCode * > | _typeMap |
std::map< std::string, ComponentDefinition * > | _componentMap |
std::map< std::string, Node * > | _nodeMap |
std::map< std::string, ComposedNode * > | _composednodeMap |
Protected Attributes | |
std::string | _name |
std::string | _errors |
Protected Attributes inherited from YACS::ENGINE::RefCounter | |
unsigned int | _cnt |
Additional Inherited Members | |
Static Public Attributes inherited from YACS::ENGINE::RefCounter | |
static unsigned int | _totalCnt =0 |
Protected Member Functions inherited from YACS::ENGINE::RefCounter | |
RefCounter () | |
RefCounter (const RefCounter &other) | |
virtual | ~RefCounter () |
class for YACS catalogs.
Definition at line 41 of file Catalog.hxx.
Catalog::Catalog | ( | const std::string & | name | ) |
Definition at line 32 of file Catalog.cxx.
|
virtual |
Definition at line 36 of file Catalog.cxx.
References _componentMap, _composednodeMap, _nodeMap, _typeMap, and DEBTRACE.
|
inline |
Definition at line 47 of file Catalog.hxx.
|
inline |
Definition at line 46 of file Catalog.hxx.
|
inline |
Definition at line 53 of file Catalog.hxx.
|
inline |
Definition at line 48 of file Catalog.hxx.
Referenced by YACS::ENGINE::SessionCataLoader::loadCata(), and YACS::ENGINE::ProcCataLoader::loadCata().
std::map<std::string,ComponentDefinition*> YACS::ENGINE::Catalog::_componentMap |
Definition at line 50 of file Catalog.hxx.
Referenced by YACS::HMI::CatalogWidget::addCatalog(), YACS::ENGINE::SessionCataLoader::importComponent(), YACS::ENGINE::ProcCataLoader::loadCata(), YACS::HMI::CommandAddNodeFromCatalog::localExecute(), YACS::HMI::CommandAddComponentFromCatalog::localExecute(), and ~Catalog().
std::map<std::string,ComposedNode*> YACS::ENGINE::Catalog::_composednodeMap |
Definition at line 52 of file Catalog.hxx.
Referenced by YACS::HMI::CatalogWidget::addCatalog(), YACS::HMI::GuiEditor::CreateForEachLoop(), YACS::ENGINE::ProcCataLoader::loadCata(), YACS::HMI::CommandAddNodeFromCatalog::localExecute(), YACS::HMI::CommandPutInComposedNode::localExecute(), and ~Catalog().
|
protected |
Definition at line 56 of file Catalog.hxx.
|
protected |
Definition at line 55 of file Catalog.hxx.
std::map<std::string,Node*> YACS::ENGINE::Catalog::_nodeMap |
Definition at line 51 of file Catalog.hxx.
Referenced by YACS::HMI::CatalogWidget::addCatalog(), YACS::ENGINE::ProcCataLoader::loadCata(), YACS::HMI::CommandAddNodeFromCatalog::localExecute(), and ~Catalog().
std::map<std::string,TypeCode*> YACS::ENGINE::Catalog::_typeMap |
Definition at line 49 of file Catalog.hxx.
Referenced by YACS::HMI::CatalogWidget::addCatalog(), YACS::ENGINE::SessionCataLoader::importComponent(), YACS::ENGINE::ProcCataLoader::loadCata(), YACS::ENGINE::SessionCataLoader::loadTypes(), YACS::HMI::SubjectProc::loadTypes(), YACS::ENGINE::SessionCataLoader::loadTypesOld(), YACS::HMI::CommandAddDataTypeFromCatalog::localExecute(), YACS::HMI::CommandAddInputPortFromCatalog::localExecute(), YACS::HMI::CommandAddOutputPortFromCatalog::localExecute(), YACS::HMI::CommandAddIDSPortFromCatalog::localExecute(), YACS::HMI::CommandAddODSPortFromCatalog::localExecute(), YACS::HMI::SubjectDataPort::registerUndoDestroy(), and ~Catalog().