Base class for instances of modelling entities.
Public Functions
-
inline Entity entity() const
Returns the entity that this instance is part of.
-
inline Tuple key() const
Returns the key of this instance.
-
inline std::string name() const
Returns the name of this instance.
-
inline std::string toString() const
Returns a string representation of this instance.
-
template<class InnerInstance>
inline Instance(BasicInstance<InnerInstance> instance)
Constructor for base class conversions.
-
template<class InnerInstance>
inline Instance &operator=(BasicInstance<InnerInstance> instance)
Operator for base class conversions.