|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CRepository: public CInterface { public: CRepository(); ~CRepository(); public: void AddModule(const XModuleDef &pModule); int GetModuleCount(); XModuleDef GetModule(int nIndex); XInterfaceDef FindInterface( const CString &strModule, const CString &strInterface); };
The SOM repository.
The SOM repository is a data structure which contains definitions of SOM modules, interfaces, constants, attributes, and operations. Usually applications create repositories by parsing one or more SOM IDL files.
CInterfaceDef, CModuleDef
Constructor/Destructor Summary | |
CRepository
();
����������Constructs the repository. |
|
~CRepository
();
����������Destroys the repository. |
Function Summary | |
void
|
AddModule
(const XModuleDef &pModule);
����������Adds a module definition to the list of modules owned by this repository. |
int
|
GetModuleCount
();
����������Returns a number of modules. |
XModuleDef
|
GetModule
(int nIndex);
����������Returns a module definition at the specified index. |
XInterfaceDef
|
FindInterface
(const CString &strModule, const CString &strInterface);
����������Looks up an inteface with the specified module and interface name. |
Constructor/Destructor Detail |
CRepository();
Constructs the repository.
~CRepository();
Destroys the repository.
Function Detail |
void AddModule(const XModuleDef &pModule);
Adds a module definition to the list of modules owned by this repository.
pModule
- the module defintion to addint GetModuleCount();
Returns a number of modules.
XModuleDef GetModule(int nIndex);
Returns a module definition at the specified index.
nIndex
- the index (zero-based)XInterfaceDef FindInterface( const CString &strModule, const CString &strInterface);
Looks up an inteface with the specified module and interface name.
strModule
- the module namestrInterface
- the interface nameNULL
if none was found
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |