Identifiable class
#include <Rodin/Identifiable.h>
Abstract base class for objects that can be copied.
This class defines an interface for polymorphic identifying of objects.
They are copy-stable, meaning that copies of an object will retain the same identifier as the original object.
Derived classes
- class Base
- Base class for all objects in Rodin's FormLanguage system.
Public types
- using UUID = size_t
- Type alias for unique object identifiers.
Constructors, destructors, conversion operators
- ~Identifiable() defaulted virtual
- Virtual destructor for proper cleanup of derived classes.
Public functions
Typedef documentation
using Rodin:: Identifiable:: UUID = size_t
Type alias for unique object identifiers.
UUID (Universally Unique Identifier) is used to uniquely identify each Identifiable instance during its lifetime. The identifier is assigned during construction and remains constant.
Function documentation
const UUID& Rodin:: Identifiable:: getUUID() const
Gets the unique identifier associated with this instance.
| Returns | UUID Unique identifier for this form language object |
|---|
Each Identifiable instance receives a unique identifier during construction that persists for the lifetime of the object. This UUID can be used for object tracking, caching, and debugging purposes.