VCF::InterfaceClass Class Reference
The
InterfaceClass does much the same for interface classes that the
VCF::Class does for classes.
More...
#include <InterfaceClass.h>
Inheritance diagram for VCF::InterfaceClass:
List of all members.
Detailed Description
The
InterfaceClass does much the same for interface classes that the
VCF::Class does for classes.
It is a base class for RTTI for interfaces
Constructor & Destructor Documentation
| VCF::InterfaceClass::InterfaceClass |
( |
const String & |
interfaceName, |
|
|
const String & |
interfaceID, |
|
|
const String & |
superInterfaceName |
|
) |
|
|
| virtual VCF::InterfaceClass::~InterfaceClass |
( |
|
) |
[virtual] |
|
Member Function Documentation
| void VCF::InterfaceClass::addMethod |
( |
Method * |
method |
) |
|
|
|
|
adds a new method to the InterfaceClass's method map.
|
| virtual bool VCF::InterfaceClass::compareObject |
( |
const Object * |
object |
) |
const [pure virtual] |
|
| String VCF::InterfaceClass::getID |
( |
|
) |
const [inline] |
|
|
|
returns the interface id for the interface class.
InterfaceClass's may have the same name so to prevent this, an ID is provided. This is ID MUST be generated using some algorithm that guarantees a valid UUID |
| String VCF::InterfaceClass::getInterfaceName |
( |
|
) |
const [inline] |
|
| Method* VCF::InterfaceClass::getMethod |
( |
const String & |
methodName |
) |
|
|
|
|
gets the method specified by methodName, if the class has that method.
- Parameters:
-
| String | the name of the method to try and retrieve |
- Returns:
- Method a pointer to a method of the interface.
|
| uint32 VCF::InterfaceClass::getMethodCount |
( |
|
) |
const |
|
|
|
the number of methods the Class has
|
|
|
returns an enumerator containing the Methods of the Class the enumerator does not reflect the order in which the properties were added.
|
|
|
returns the InterfaceClass that this interface is derived from, if any.
- Returns:
- InterfaceClass the super interface this interface is derived from. May return NULL if the interface is not derived from any thing
|
| bool VCF::InterfaceClass::hasMethod |
( |
const String & |
methodName |
) |
const |
|
|
|
does the InterfaceClass have a have a particular method ?
- Parameters:
-
| String | the name of the method to find |
- Returns:
- bool true if the interface has the specified method, otherwise false
|
| virtual bool VCF::InterfaceClass::isEqual |
( |
const Object * |
object |
) |
const [virtual] |
|
| void VCF::InterfaceClass::setSource |
( |
const Object * |
source |
) |
|
|
| void VCF::InterfaceClass::setSource |
( |
Object * |
source |
) |
|
|
|
|
sets the source for all methods in the InterfaceClass to source.
- Parameters:
-
| Object | the source to which the methods are set |
|
Member Data Documentation
The documentation for this class was generated from the following file: