Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

ph::common::pretendable_object_base Class Reference

#include <pretendable_object.hpp>


Detailed Description

Abstract class representing the interface for an object that can pretend to be another.

Definition at line 21 of file pretendable_object.hpp.

Public Member Functions

virtual ~pretendable_object_base ()
virtual bool is_any_object ()=0
virtual object_baserealobject ()=0


Constructor & Destructor Documentation

virtual ph::common::pretendable_object_base::~pretendable_object_base  )  [inline, virtual]
 

Definition at line 28 of file pretendable_object.hpp.


Member Function Documentation

virtual bool ph::common::pretendable_object_base::is_any_object  )  [pure virtual]
 

Return true if this object can pretend to be any other object. In future there may be some way that an object can pretend to be certain other objects.

virtual object_base* ph::common::pretendable_object_base::realobject  )  [pure virtual]
 

Get the real object that this object points to. This is used in iterators and dereferencing the object directly. It's also so that "anyobject" can work correctly.


The documentation for this class was generated from the following file:
Generated on Wed Apr 5 22:03:34 2006 for cppxmlobj by  doxygen 1.4.3