7#ifndef __IPTAGGEDOBJECT_HPP__
8#define __IPTAGGEDOBJECT_HPP__
61 typedef unsigned int Tag;
Templated class which stores one entry for the CachedResult class.
Storing the reference count of all the smart pointers that currently reference it.
Slight Variation of the Observer Design Pattern (Subject part).
Tag GetTag() const
Users of TaggedObjects call this to update their own internal tags every time they perform the expens...
TaggedObject(const TaggedObject &)
Copy Constructor.
void ObjectChanged()
Objects derived from TaggedObject MUST call this method every time their internal state changes to up...
bool HasChanged(const Tag comparison_tag) const
Users of TaggedObjects call this to check if the object HasChanged since they last updated their own ...
unsigned int Tag
Type for the Tag values.
Tag tag_
The tag indicating the current state of the object.
TaggedObject()
Constructor.
void operator=(const TaggedObject &)
Default Assignment Operator.
Index cache_priority_
The index indicating the cache priority for this TaggedObject.
virtual ~TaggedObject()
Destructor.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
ipindex Index
Type of all indices of vectors, matrices etc.