Go to the documentation of this file.
9 #ifndef __IPTAGGEDOBJECT_HPP__
10 #define __IPTAGGEDOBJECT_HPP__
63 typedef unsigned int Tag;
93 return (comparison_tag == tag_) ? false :
true;
100 void ObjectChanged();
Index cache_priority_
The index indicating the cache priority for this TaggedObject.
TaggedObject()
Constructor.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
Tag tag_
The tag indicating the current state of the object.
virtual ~TaggedObject()
Destructor.
int Index
Type of all indices of vectors, matrices etc.
Tag GetTag() const
Users of TaggedObjects call this to update their own internal tags every time they perform the expens...
Slight Variation of the Observer Design Pattern (Subject part).
unsigned int Tag
Type for the Tag values.
Storing the reference count of all the smart pointers that currently reference it.
bool HasChanged(const Tag comparison_tag) const
Users of TaggedObjects call this to check if the object HasChanged since they last updated their own ...