scfInterfaceTraits< Interface > Class Template Reference
[Shared Class Facility (SCF)]
Interface information query class. More...
|Retrieve the interface's identifier. |
char const *
|Retrieve the interface's name as a string. |
|Retrieve the interface's current version number. |
class scfInterfaceTraits< Interface >
Interface information 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 scfInterfaceTraits<iFooBar>::GetVersion(). For old-style interfaces it is specialized through SCF_VERSION macro, with new style interfaces no specialization is needed.
Member Function Documentation
|static CS_FORCEINLINE_TEMPLATEMETHOD scfInterfaceID scfInterfaceTraits< Interface >::GetID||(||)||
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.
|static CS_FORCEINLINE_TEMPLATEMETHOD char const* scfInterfaceTraits< Interface >::GetName||(||)||
|static CS_FORCEINLINE_TEMPLATEMETHOD scfInterfaceVersion scfInterfaceTraits< Interface >::GetVersion||(||)||
The documentation for this class was generated from the following file:
Generated for Crystal Space 1.4.1 by doxygen 1.7.1