scfInterface< T > Class Template Reference
[Shared Class Facility (SCF)]
Interface query class.
More...
#include <csutil/scf.h>
Static Public Member Functions | |
int | GetVersion () |
Retrieve the interface's current version number which was specified with SCF_VERSION(). | |
scfInterfaceID | GetID () |
Retrieve the interface's identifier. | |
char const * | GetName () |
Retrieve the interface's name as a string. |
Detailed Description
template<class T>
class scfInterface< T >
Interface query class.
This template class allows you to query static information about SCF interfaces, such as an interface's current version number. For example, to find out the version number of the iFooBar SCF interface, you would invoke scfInterface<iFooBar>::GetVersion().
Definition at line 794 of file scf.h.
Member Function Documentation
|
Retrieve the interface's identifier. This is a unique identifier by which SCF recognizes the interface. Although human's prefer to identify interfaces symbolically via name, SCF perfers to identify them, for performance reasons, by scfInterfaceID, which is typically a small integer. Definition at line 815 of file scf.h. References scfInterfaceID. Referenced by csTypedObjectIterator< T >::csTypedObjectIterator(). |
|
Retrieve the interface's name as a string.
|
|
Retrieve the interface's current version number which was specified with SCF_VERSION().
Definition at line 801 of file scf.h. Referenced by csTypedObjectIterator< T >::csTypedObjectIterator(). |
The documentation for this class was generated from the following file:
- csutil/scf.h
Generated for Crystal Space by doxygen 1.3.9.1