ObjectIdentifier Class Reference

The ObjectIdentifier class. More...

Detailed Description

The ObjectIdentifier class.

A mean to identify an object without a pointer. The id is useful if the object is inside a collection.

Example:

ObjectIdentifier ob{"TheObjectName", 34};
The ObjectIdentifier class.
Definition: ObjectIdentifier.hpp:21

Public Member Functions

 ObjectIdentifier (const char *name)
 
 ObjectIdentifier (QString name, int32_t id)
 
template<typename T >
 ObjectIdentifier (QString name, Id< T > id)
 
const QString & objectName () const
 
int32_t id () const
 

Friends

bool operator== (const ObjectIdentifier &lhs, const ObjectIdentifier &rhs)
 

The documentation for this class was generated from the following file: