id

Description

ID class which is tied to it’s representing class

Vars

type

value_

Methods

id ( type )

SAW_DEFAULT_COPY ( id )

SAW_DEFAULT_MOVE ( id )

bool

operator== ( const id < T > & )

bool

operator!= ( const id < T > & )

const type &

get_value ( )


Vars Description

type value_

The low level value

Methods Description

id ( type )

Basic constructor for the id class

SAW_DEFAULT_COPY ( id )


SAW_DEFAULT_MOVE ( id )


bool operator== ( const id < T > & )

Equal operator for the id. Returns true if equal, false otherwise.

bool operator!= ( const id < T > & )

Unequal operator for the id. Returns false if equal, true otherwise.

const type & get_value ( )

Returns a const ref of the underlying base type. Mostly used for internal purposes.