This is Unofficial EPICS BASE Doxygen Site
stringId Class Reference

#include "resourceLib.h"

Public Types

enum  allocationType { copyString, refString }
 

Public Member Functions

 stringId (const char *idIn, allocationType typeIn=copyString)
 
virtual ~stringId ()
 
resTableIndex hash () const
 
bool operator== (const stringId &idIn) const
 
const char * resourceName () const
 
void show (unsigned level) const
 

Detailed Description

Definition at line 256 of file resourceLib.h.

Member Enumeration Documentation

Enumerator
copyString 
refString 

Definition at line 258 of file resourceLib.h.

Constructor & Destructor Documentation

stringId::stringId ( const char *  idIn,
allocationType  typeIn = copyString 
)
virtual stringId::~stringId ( )
virtual

Member Function Documentation

resTableIndex stringId::hash ( ) const
bool stringId::operator== ( const stringId idIn) const
inline

Definition at line 1081 of file resourceLib.h.

1082 {
1083  if (this->pStr!=NULL && idIn.pStr!=NULL) {
1084  return strcmp(this->pStr,idIn.pStr)==0;
1085  }
1086  return false; // not equal
1087 }
#define NULL
Definition: catime.c:38
const char * stringId::resourceName ( ) const
inline

Definition at line 1092 of file resourceLib.h.

1093 {
1094  return this->pStr;
1095 }
void stringId::show ( unsigned  level) const

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