Version: 8.3.0
SALOME_ModuleCatalogImpl::Private Class Reference

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...
 
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...
 
virtual 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::DataStreamDependency
DataStreamDepConvert
 
std::map< ParserComponentType,
SALOME_ModuleCatalog::ComponentType
ComponentTypeConvert
 

Friends

class SALOME_ModuleCatalogImpl
 

Member Function Documentation

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

method to parse one module catalog

Parameters
fileconst char* arguments
modulelistParserComponents arguments
pathlistParserPathPrefixes arguments
typeMapParserTypes arguments

References BEGIN_OF, MESSAGE, MYDEBUG, SALOME_ModuleCatalog_Handler::ProcessXmlDocument(), and SCRUTE.

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

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

method to verify path prefix content

Parameters
pathlistListOfParserPathPrefix arguments
Returns
true if verfication is OK

References MESSAGE, and MYDEBUG.

Referenced by SALOME_ModuleCatalogImpl::SALOME_ModuleCatalogImpl().

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.

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.

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

method to create the path prefix structures from the catalog parsing

Parameters
pathesParserPathPrefixes arguments
Returns
the pathes
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 MYDEBUG.

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

Friends And Related Function Documentation

friend class SALOME_ModuleCatalogImpl
friend

Field Documentation

char* SALOME_ModuleCatalogImpl::Private::_general_path
ParserPathPrefixes SALOME_ModuleCatalogImpl::Private::_general_path_list
char* SALOME_ModuleCatalogImpl::Private::_personal_path
std::map<ParserComponentType, SALOME_ModuleCatalog::ComponentType> SALOME_ModuleCatalogImpl::Private::ComponentTypeConvert
std::map<std::string, SALOME_ModuleCatalog::DataStreamDependency> SALOME_ModuleCatalogImpl::Private::DataStreamDepConvert