Version: 9.15.0
SALOME_ModuleCatalogImpl::Private Class Reference

Public Member Functions

void _parse_xml_file (const char *file, ParserComponents &modulelist, ParserPathPrefixes &pathlist, ParserTypes &typeMap, TypeList &typeList)
 method to parse one module catalog More...
 
ParserComponentfindComponent (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...
 
bool _verify_path_prefix (ParserPathPrefixes &pathlist)
 method to verify path prefix content More...
 

Data Fields

char * _general_path
 
char * _personal_path
 
ParserComponents _general_module_list
 
ParserPathPrefixes _general_path_list
 
ParserTypes _typeMap
 
TypeList _typeList
 
ParserComponents _personal_module_list
 
ParserPathPrefixes _personal_path_list
 
std::map< std::string, SALOME_ModuleCatalog::DataStreamDependencyDataStreamDepConvert
 
std::map< ParserComponentType, SALOME_ModuleCatalog::ComponentTypeComponentTypeConvert
 

Friends

class SALOME_ModuleCatalogImpl
 

Member Function Documentation

◆ _parse_xml_file()

void SALOME_ModuleCatalogImpl::Private::_parse_xml_file ( const char *  file,
ParserComponents modulelist,
ParserPathPrefixes pathlist,
ParserTypes typeMap,
TypeList typeList 
)

method to parse one module catalog

Parameters
fileconst char* arguments
modulelistParserComponents arguments
pathlistParserPathPrefixes arguments
typeMapParserTypes arguments

References MESSAGE, pythfilter::name, and SALOME_ModuleCatalog_Handler::ProcessXmlDocument().

Referenced by SALOME_ModuleCatalogImpl::ImportXmlCatalogFile(), and SALOME_ModuleCatalogImpl::SALOME_ModuleCatalogImpl().

◆ _verify_path_prefix()

bool SALOME_ModuleCatalogImpl::Private::_verify_path_prefix ( ParserPathPrefixes pathlist)

method to verify path prefix content

Parameters
pathlistListOfParserPathPrefix arguments
Returns
true if verification is OK

References MESSAGE.

Referenced by SALOME_ModuleCatalogImpl::SALOME_ModuleCatalogImpl().

◆ duplicate() [1/6]

void SALOME_ModuleCatalogImpl::Private::duplicate ( ParserPathPrefixes p_out,
const ParserPathPrefixes P_in 
)

method to create the path prefix structures from the catalog parsing

Parameters
pathsParserPathPrefixes arguments
Returns
the paths

◆ duplicate() [2/6]

◆ duplicate() [3/6]

void SALOME_ModuleCatalogImpl::Private::duplicate ( SALOME_ModuleCatalog::DefinitionInterface I_corba,
const ParserInterface I_parser 
)

method to create a CORBA interface description from parser

Parameters
I_corbaDefinitionInterface argument
I_parserconst ParserInterface argument

References duplicate(), SALOME_ModuleCatalog::DefinitionInterface::interfacename, SALOME_ModuleCatalog::DefinitionInterface::interfaceservicelist, ParserInterface::name, and ParserInterface::services.

◆ duplicate() [4/6]

◆ duplicate() [5/6]

◆ duplicate() [6/6]

void SALOME_ModuleCatalogImpl::Private::duplicate ( SALOME_ModuleCatalog::ServicesParameter P_corba,
const ParserParameter P_parser 
)

method to create a CORBA parameter description from parser

Parameters
P_corbaServicesParameter argument
P_parserconst ParserParameter argument

References ParserParameter::name, SALOME_ModuleCatalog::ServicesParameter::Parametername, SALOME_ModuleCatalog::ServicesParameter::Parametertype, and ParserParameter::type.

◆ findComponent()

ParserComponent * SALOME_ModuleCatalogImpl::Private::findComponent ( const std::string &  name)

method to find component in the parser list

Parameters
namestring argument
Returns
pointer on a component, NULL if not found

References _general_module_list, _personal_module_list, MESSAGE, and pythfilter::name.

Referenced by SALOME_ModuleCatalogImpl::GetComponent(), and SALOME_ModuleCatalogImpl::GetComponentInfo().

Friends And Related Function Documentation

◆ SALOME_ModuleCatalogImpl

friend class SALOME_ModuleCatalogImpl
friend

Field Documentation

◆ _general_module_list

◆ _general_path

char* SALOME_ModuleCatalogImpl::Private::_general_path

◆ _general_path_list

ParserPathPrefixes SALOME_ModuleCatalogImpl::Private::_general_path_list

◆ _personal_module_list

◆ _personal_path

char* SALOME_ModuleCatalogImpl::Private::_personal_path

◆ _personal_path_list

◆ _typeList

◆ _typeMap

◆ ComponentTypeConvert

std::map<ParserComponentType, SALOME_ModuleCatalog::ComponentType> SALOME_ModuleCatalogImpl::Private::ComponentTypeConvert

◆ DataStreamDepConvert

std::map<std::string, SALOME_ModuleCatalog::DataStreamDependency> SALOME_ModuleCatalogImpl::Private::DataStreamDepConvert