CODPropertyCache Class
class CODPropertyCache
A description of the CODPropertyCache class.Defined in: OdPropertyCache.h
Class Members
Constructor.
virtual ~CODPropertyCache()
Destructor.
static CODPropertyCache* m_psPropertyCache
A pointer to the one instance of the property cache.
CList<CODPropPtr,CODPropPtr> m_listProperties
The list of properties in the property cache.
BOOL m_bUniqueProperty
The unique flag
static CODPropertyCache* Instance()
Returns a pointer to the one instance of the property cache.
void SetInstance(CODPropertyCache* pPropertyCache)
Sets the instance pointer.
void SetUniqueProperty(BOOL bUnique)
Sets the proerties to be unique
void Purge()
Clears the properties from the cache that are not being used anymore.
CODPropPtr FindProperty(CODProperty* pProp)
Finds a particular property in the cache. If it is not found, it is added to the cache.