Utilities
Utilities header only library
utils::Identifiable< IdType > Class Template Reference

An object that has an id (ideally a strong id). More...

Public Member Functions

void SetId (IdType new_id)
 
IdType GetId () const
 

Protected Attributes

IdType id_
 

Detailed Description

template<typename IdType>
class utils::Identifiable< IdType >

An object that has an id (ideally a strong id).