k3d::ipersistent_lookup Class Reference

Abstract interface to assign / lookup unique identifiers for object serialization. More...

#include <ipersistent_lookup.h>

Inheritance diagram for k3d::ipersistent_lookup:
Inheritance graph
[legend]

List of all members.

Public Types

typedef unsigned long id_type
 Defines a unique identifier that can be serialized.

Public Member Functions

virtual id_type lookup_id (iunknown *Object)=0
 Returns a unique identifier for the given object that can be used in serialization.
virtual iunknownlookup_object (const id_type ID)=0
 Given a unique identifier, returns the corresponding object (could return NULL).

Protected Member Functions

 ipersistent_lookup ()
 ipersistent_lookup (const ipersistent_lookup &Other)
ipersistent_lookupoperator= (const ipersistent_lookup &)
virtual ~ipersistent_lookup ()

Detailed Description

Abstract interface to assign / lookup unique identifiers for object serialization.


Member Typedef Documentation

typedef unsigned long k3d::ipersistent_lookup::id_type

Defines a unique identifier that can be serialized.


Constructor & Destructor Documentation

k3d::ipersistent_lookup::ipersistent_lookup (  )  [inline, protected]
k3d::ipersistent_lookup::ipersistent_lookup ( const ipersistent_lookup Other  )  [inline, protected]
virtual k3d::ipersistent_lookup::~ipersistent_lookup (  )  [inline, protected, virtual]

Member Function Documentation

virtual id_type k3d::ipersistent_lookup::lookup_id ( iunknown Object  )  [pure virtual]
virtual iunknown* k3d::ipersistent_lookup::lookup_object ( const id_type  ID  )  [pure virtual]
ipersistent_lookup& k3d::ipersistent_lookup::operator= ( const ipersistent_lookup  )  [inline, protected]

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

Generated on Mon Mar 21 07:41:56 2011 for K-3D by doxygen 1.6.3