This is Unofficial EPICS BASE Doxygen Site
intId< T, MIN_INDEX_WIDTH, MAX_ID_WIDTH > Class Template Reference

#include "resourceLib.h"

+ Collaboration diagram for intId< T, MIN_INDEX_WIDTH, MAX_ID_WIDTH >:

Public Member Functions

 intId (const T &idIn)
 
bool operator== (const intId &idIn) const
 
resTableIndex hash () const
 
const T getId () const
 

Protected Attributes

id
 

Detailed Description

template<class T, unsigned MIN_INDEX_WIDTH = 4u, unsigned MAX_ID_WIDTH = sizeof(T)*CHAR_BIT>
class intId< T, MIN_INDEX_WIDTH, MAX_ID_WIDTH >

Definition at line 200 of file resourceLib.h.

Constructor & Destructor Documentation

template<class T, unsigned MIN_INDEX_WIDTH, unsigned MAX_ID_WIDTH>
intId< T, MIN_INDEX_WIDTH, MAX_ID_WIDTH >::intId ( const T &  idIn)

Definition at line 1004 of file resourceLib.h.

1005  : id (idIn) {}

Member Function Documentation

template<class T , unsigned MIN_INDEX_WIDTH, unsigned MAX_ID_WIDTH>
const T intId< T, MIN_INDEX_WIDTH, MAX_ID_WIDTH >::getId ( ) const
inline

Definition at line 1021 of file resourceLib.h.

1022 {
1023  return this->id;
1024 }
template<class T , unsigned MIN_INDEX_WIDTH, unsigned MAX_ID_WIDTH>
resTableIndex intId< T, MIN_INDEX_WIDTH, MAX_ID_WIDTH >::hash ( ) const
inline

Definition at line 1068 of file resourceLib.h.

1069 {
1070  return integerHash ( MIN_INDEX_WIDTH, MAX_ID_WIDTH, this->id );
1071 }
resTableIndex integerHash(unsigned MIN_INDEX_WIDTH, unsigned MAX_ID_WIDTH, const T &id)
Definition: resourceLib.h:1032
template<class T , unsigned MIN_INDEX_WIDTH, unsigned MAX_ID_WIDTH>
bool intId< T, MIN_INDEX_WIDTH, MAX_ID_WIDTH >::operator== ( const intId< T, MIN_INDEX_WIDTH, MAX_ID_WIDTH > &  idIn) const
inline

Definition at line 1012 of file resourceLib.h.

1013 {
1014  return this->id == idIn.id;
1015 }

Member Data Documentation

template<class T, unsigned MIN_INDEX_WIDTH = 4u, unsigned MAX_ID_WIDTH = sizeof(T)*CHAR_BIT>
T intId< T, MIN_INDEX_WIDTH, MAX_ID_WIDTH >::id
protected

Definition at line 207 of file resourceLib.h.


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