Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

InterfaceID Class Reference

#include <IInterface.h>

List of all members.


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

Detailed Description

Interface ID class. 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.

Author:
Pere Mato
Date:
12/1/2001


Constructor & Destructor Documentation

InterfaceID::InterfaceID unsigned long    lid [inline]
 

constructor from a pack long.

InterfaceID::InterfaceID unsigned long    id,
unsigned long    major,
unsigned long    minor = 0
[inline]
 

constructor from components.

InterfaceID::~InterfaceID   [inline]
 

destructor.


Member Function Documentation

bool InterfaceID::fullMatch const InterfaceID &    iid const [inline]
 

check full compatibility.

unsigned long InterfaceID::id   const [inline]
 

get the interfac identifier.

unsigned long InterfaceID::majorVersion   const [inline]
 

get the major version of the interface.

unsigned long InterfaceID::minorVersion   const [inline]
 

get the minor version of the interface.

InterfaceID::operator unsigned long   const [inline]
 

conversion to unsigned long.

bool InterfaceID::operator== const InterfaceID &    iid const [inline]
 

bool InterfaceID::versionMatch const InterfaceID &    iid const [inline]
 

check compatibility. The major version is check and the minor one should be bigger or equal.


The documentation for this class was generated from the following file:
Generated on Thu Apr 18 12:03:31 2002 for AtlfastExamples by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001