#include <GaudiKernel/Kernel.h>
Public Methods | |
| InterfaceID ( unsigned long lid ) | |
| constructor from a pack long. More... | |
| InterfaceID ( unsigned long id, unsigned long major, unsigned long minor = 0) | |
| constructor from components. More... | |
| ~InterfaceID () | |
| destructor. More... | |
| operator unsigned long () const | |
| conversion to unsigned long. More... | |
| unsigned long | id () const |
| get the interfac identifier. More... | |
| unsigned long | majorVersion () const |
| get the major version of the interface. More... | |
| unsigned long | minorVersion () const |
| get the minor version of the interface. More... | |
| bool | versionMatch ( const InterfaceID& iid ) const |
| check compatibility. The major version is check and the minor one should be bigger or equal. More... | |
| bool | fullMatch ( const InterfaceID& iid ) const |
| check full compatibility. More... | |
| bool | operator== (const InterfaceID& iid ) const |
Private Attributes | |
| unsigned long | m_id |
| unsigned long | m_major_ver |
| unsigned long | m_minor_ver |
It consists of several fields: interface number, major version number and minor version number. Interface number should be allocated globally. The major and minor version numbers are used for checking compatibility between interface versions.
Definition at line 20 of file IInterface.h.
|
|
constructor from a pack long.
Definition at line 23 of file IInterface.h. |
|
|
constructor from components.
Definition at line 26 of file IInterface.h. |
|
|
destructor.
Definition at line 29 of file IInterface.h. |
|
|
check full compatibility.
Definition at line 43 of file IInterface.h. Referenced by operator==(). |
|
|
get the interfac identifier.
Definition at line 33 of file IInterface.h. Referenced by fullMatch(), and versionMatch(). |
|
|
get the major version of the interface.
Definition at line 35 of file IInterface.h. Referenced by fullMatch(), and versionMatch(). |
|
|
get the minor version of the interface.
Definition at line 37 of file IInterface.h. Referenced by fullMatch(), and versionMatch(). |
|
|
conversion to unsigned long.
Definition at line 31 of file IInterface.h. |
|
|
Definition at line 46 of file IInterface.h. |
|
|
check compatibility. The major version is check and the minor one should be bigger or equal.
Definition at line 39 of file IInterface.h. |
|
|
Definition at line 48 of file IInterface.h. |
|
|
Definition at line 49 of file IInterface.h. |
|
|
Definition at line 50 of file IInterface.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000