RMF
RMF::ID< TagT > Class Template Reference

A general purpose ID in RMF used, with different tags, to identify things. More...

#include <RMF/ID.h>

Inheritance diagram for RMF::ID< TagT >:

Public Types

typedef TagT Tag

Public Member Functions

 ID (int i, SpecialTag)
 ID (unsigned int i)
unsigned int get_index () const
int get_index_always () const

Detailed Description

template<class TagT>
class RMF::ID< TagT >

Definition at line 33 of file ID.h.

Member Typedef Documentation

◆ Tag

template<class TagT>
typedef TagT RMF::ID< TagT >::Tag

Definition at line 56 of file ID.h.

Constructor & Destructor Documentation

◆ ID() [1/3]

template<class TagT>
RMF::ID< TagT >::ID ( int i,
SpecialTag  )

Definition at line 59 of file ID.h.

◆ ID() [2/3]

template<class TagT>
RMF::ID< TagT >::ID ( unsigned int i)
explicit

Definition at line 71 of file ID.h.

◆ ID() [3/3]

template<class TagT>
RMF::ID< TagT >::ID ( )

Definition at line 76 of file ID.h.

Member Function Documentation

◆ get_index()

template<class TagT>
unsigned int RMF::ID< TagT >::get_index ( ) const

Definition at line 77 of file ID.h.

◆ get_index_always()

template<class TagT>
int RMF::ID< TagT >::get_index_always ( ) const

Definition at line 60 of file ID.h.


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