Public Member Functions | |
virtual void | _parse_xml_file (const char *file, ParserComponents &modulelist, ParserPathPrefixes &pathlist, ParserTypes &typeMap, TypeList &typeList) |
method to parse one module catalog More... | |
ParserComponent * | findComponent (const std::string &name) |
method to find component in the parser list More... | |
void | duplicate (SALOME_ModuleCatalog::ComponentDef &C_corba, const ParserComponent &C_parser) |
method to create a CORBA component description from parser More... | |
void | duplicate (SALOME_ModuleCatalog::DefinitionInterface &I_corba, const ParserInterface &I_parser) |
method to create a CORBA interface description from parser More... | |
void | duplicate (SALOME_ModuleCatalog::Service &S_corba, const ParserService &service) |
method to create a CORBA service description from parser More... | |
void | duplicate (SALOME_ModuleCatalog::ServicesParameter &P_corba, const ParserParameter &P_parser) |
method to create a CORBA parameter description from parser More... | |
void | duplicate (SALOME_ModuleCatalog::ServicesDataStreamParameter &P_corba, const ParserDataStreamParameter &P_parser) |
method to create a CORBA datastream parameter description from parser More... | |
void | duplicate (ParserPathPrefixes &p_out, const ParserPathPrefixes &P_in) |
method to create the path prefix structures from the catalog parsing More... | |
virtual bool | _verify_path_prefix (ParserPathPrefixes &pathlist) |
method to verify path prefix content More... | |
Friends | |
class | SALOME_ModuleCatalogImpl |
|
virtual |
method to parse one module catalog
file | const char* arguments |
modulelist | ParserComponents arguments |
pathlist | ParserPathPrefixes arguments |
typeMap | ParserTypes arguments |
References BEGIN_OF, MESSAGE, MYDEBUG, SALOME_ModuleCatalog_Handler::ProcessXmlDocument(), and SCRUTE.
Referenced by SALOME_ModuleCatalogImpl::ImportXmlCatalogFile(), and SALOME_ModuleCatalogImpl::SALOME_ModuleCatalogImpl().
|
virtual |
method to verify path prefix content
pathlist | ListOfParserPathPrefix arguments |
References MESSAGE, and MYDEBUG.
Referenced by SALOME_ModuleCatalogImpl::SALOME_ModuleCatalogImpl().
void SALOME_ModuleCatalogImpl::Private::duplicate | ( | SALOME_ModuleCatalog::ComponentDef & | C_corba, |
const ParserComponent & | C_parser | ||
) |
method to create a CORBA component description from parser
C_corba | Component argument |
C_parser | const ParserComponent argument |
References SALOME_ModuleCatalog::CEXE, duplicate(), SALOME_ModuleCatalog::EXE, ParserComponent::icon, SALOME_ModuleCatalog::ComponentDef::icon, ParserComponent::implementationName, ParserComponent::implementationType, SALOME_ModuleCatalog::ComponentDef::implementationType, SALOME_ModuleCatalog::ComponentDef::implname, ParserComponent::interfaces, SALOME_ModuleCatalog::ComponentDef::interfaces, ParserComponent::multistudy, SALOME_ModuleCatalog::ComponentDef::multistudy, ParserComponent::name, SALOME_ModuleCatalog::ComponentDef::name, SALOME_ModuleCatalog::PY, SALOME_ModuleCatalog::SO, ParserComponent::type, SALOME_ModuleCatalog::ComponentDef::type, ParserComponent::username, and SALOME_ModuleCatalog::ComponentDef::username.
Referenced by SALOME_ModuleCatalogImpl::GetComponent(), and SALOME_ModuleCatalogImpl::GetComponentInfo().
void SALOME_ModuleCatalogImpl::Private::duplicate | ( | SALOME_ModuleCatalog::DefinitionInterface & | I_corba, |
const ParserInterface & | I_parser | ||
) |
method to create a CORBA interface description from parser
I_corba | DefinitionInterface argument |
I_parser | const ParserInterface argument |
References duplicate(), SALOME_ModuleCatalog::DefinitionInterface::interfacename, SALOME_ModuleCatalog::DefinitionInterface::interfaceservicelist, ParserInterface::name, and ParserInterface::services.
void SALOME_ModuleCatalogImpl::Private::duplicate | ( | SALOME_ModuleCatalog::Service & | S_corba, |
const ParserService & | service | ||
) |
method to create a CORBA service description from parser
S_corba | Service argument |
S_parser | const ParserService argument |
References ParserService::byDefault, duplicate(), ParserService::inDataStreamParameters, ParserService::inParameters, ParserService::name, ParserService::outDataStreamParameters, ParserService::outParameters, SALOME_ModuleCatalog::Service::Servicebydefault, SALOME_ModuleCatalog::Service::ServiceinDataStreamParameter, SALOME_ModuleCatalog::Service::ServiceinParameter, SALOME_ModuleCatalog::Service::ServiceName, SALOME_ModuleCatalog::Service::ServiceoutDataStreamParameter, SALOME_ModuleCatalog::Service::ServiceoutParameter, ParserService::typeOfNode, and SALOME_ModuleCatalog::Service::TypeOfNode.
void SALOME_ModuleCatalogImpl::Private::duplicate | ( | SALOME_ModuleCatalog::ServicesParameter & | P_corba, |
const ParserParameter & | P_parser | ||
) |
method to create a CORBA parameter description from parser
P_corba | ServicesParameter argument |
P_parser | const ParserParameter argument |
References ParserParameter::name, SALOME_ModuleCatalog::ServicesParameter::Parametername, SALOME_ModuleCatalog::ServicesParameter::Parametertype, and ParserParameter::type.
void SALOME_ModuleCatalogImpl::Private::duplicate | ( | SALOME_ModuleCatalog::ServicesDataStreamParameter & | P_corba, |
const ParserDataStreamParameter & | P_parser | ||
) |
method to create a CORBA datastream parameter description from parser
P_corba | ServicesDataStreamParameter argument |
P_parser | const ParserDataStreamParameter argument |
References SALOME_ModuleCatalog::DATASTREAM_UNDEFINED, ParserDataStreamParameter::dependency, MYDEBUG, ParserDataStreamParameter::name, SALOME_ModuleCatalog::ServicesDataStreamParameter::Parameterdependency, SALOME_ModuleCatalog::ServicesDataStreamParameter::Parametername, SALOME_ModuleCatalog::ServicesDataStreamParameter::Parametertype, SCRUTE, and ParserDataStreamParameter::type.
void SALOME_ModuleCatalogImpl::Private::duplicate | ( | ParserPathPrefixes & | p_out, |
const ParserPathPrefixes & | P_in | ||
) |
method to create the path prefix structures from the catalog parsing
pathes | ParserPathPrefixes arguments |
ParserComponent * SALOME_ModuleCatalogImpl::Private::findComponent | ( | const std::string & | name | ) |
method to find component in the parser list
name | string argument |
References _general_module_list, _personal_module_list, MESSAGE, and MYDEBUG.
Referenced by SALOME_ModuleCatalogImpl::GetComponent(), and SALOME_ModuleCatalogImpl::GetComponentInfo().
|
friend |
ParserComponents SALOME_ModuleCatalogImpl::Private::_general_module_list |
char* SALOME_ModuleCatalogImpl::Private::_general_path |
Referenced by SALOME_ModuleCatalogImpl::SALOME_ModuleCatalogImpl().
ParserPathPrefixes SALOME_ModuleCatalogImpl::Private::_general_path_list |
ParserComponents SALOME_ModuleCatalogImpl::Private::_personal_module_list |
char* SALOME_ModuleCatalogImpl::Private::_personal_path |
Referenced by SALOME_ModuleCatalogImpl::SALOME_ModuleCatalogImpl().
ParserPathPrefixes SALOME_ModuleCatalogImpl::Private::_personal_path_list |
TypeList SALOME_ModuleCatalogImpl::Private::_typeList |
ParserTypes SALOME_ModuleCatalogImpl::Private::_typeMap |
std::map<ParserComponentType, SALOME_ModuleCatalog::ComponentType> SALOME_ModuleCatalogImpl::Private::ComponentTypeConvert |
Referenced by SALOME_ModuleCatalogImpl::SALOME_ModuleCatalogImpl().
std::map<std::string, SALOME_ModuleCatalog::DataStreamDependency> SALOME_ModuleCatalogImpl::Private::DataStreamDepConvert |
Referenced by SALOME_ModuleCatalogImpl::SALOME_ModuleCatalogImpl().