|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CModuleDef: public CInterface { public: CModuleDef(); ~CModuleDef(); public: void Create(const CString &strName); void AddInterface(const XInterfaceDef &pInterface); CString GetName(); int GetInterfaceCount(); XInterfaceDef GetInterface(int nIndex); XInterfaceDef FindInterface(const CString &strInterface); };
The definition of a module in a SOM repository.
CInterfaceDef
Constructor/Destructor Summary | |
CModuleDef
();
����������Constructs the module definition. |
|
~CModuleDef
();
����������Destroys the module definition. |
Function Summary | |
void
|
Create
(const CString &strName);
����������Creates the module definition. |
void
|
AddInterface
(const XInterfaceDef &pInterface);
����������Adds an interface definition to the list of interface definitions specified by the module. |
CString
|
GetName
();
����������Returns a name of the module. |
int
|
GetInterfaceCount
();
����������Returns a number of interface definitions |
XInterfaceDef
|
GetInterface
(int nIndex);
����������Returns an interface definition at the specified index. |
XInterfaceDef
|
FindInterface
(const CString &strInterface);
����������Looks up an interface with the specified name. |
Constructor/Destructor Detail |
CModuleDef();
Constructs the module definition.
~CModuleDef();
Destroys the module definition.
Function Detail |
void Create(const CString &strName);
Creates the module definition.
strName
- the name of the modulevoid AddInterface(const XInterfaceDef &pInterface);
Adds an interface definition to the list of interface definitions specified by the module.
pInterface
- an interface definition to addCString GetName();
Returns a name of the module.
int GetInterfaceCount();
Returns a number of interface definitions
XInterfaceDef GetInterface(int nIndex);
Returns an interface definition at the specified index.
nIndex
- the index (zero-based)XInterfaceDef FindInterface(const CString &strInterface);
Looks up an interface with the specified name.
strInterface
- the name of the interface to look upNULL
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 |