IDMObjectVersion Class Reference

Inheritance diagram for IDMObjectVersion:

IBase


Public Methods

virtual void getDMObject (IDMObject *&object)=0
virtual void getVersion (IVersion *&version)=0

Detailed Description

This interface is used to represent an association between an IDMObject and an IVersion. It is generally used in conjunction with the IDMObjectVersionIter. Output parameters are used in the get functions to enforce the reference counting rules for interfaces.


Member Function Documentation

void IDMObjectVersion::getDMObject IDMObject *&    object [pure virtual]
 

This function will return the IDMObject interface pointer for the object whose version is being reported. Note that (as with all interface output parameters) the reference count on "object" will be incremented by this function prior to returning.

Parameters:
object A reference to a pointer to an IDMObject interface. This can also be a smart pointer of the form SPtr<IDMObject>. The calling syntax would be as follows:
SPtr<IDMObject> myObj; objVer->getDMObject(myObj);

void IDMObjectVersion::getVersion IVersion *&    version [pure virtual]
 

This function will return the IVersion interface pointer for the object whose version is being reported. Note that (as with all interface output parameters) the reference count on "version" will be incremented by this function prior to returning.

Parameters:
version A reference to a pointer to an IVersion interface. This can also be a smart pointer of the form SPtr<IVersion>. The calling syntax would be as follows:
SPtr<IVersion> ver; objVer->getVersion(ver);


The documentation for this class was generated from the following files:

Return to top of page