This is Unofficial EPICS BASE Doxygen Site
epics::pvData::Field::Helper Struct Reference

Static Public Member Functions

static unsigned hash (Field *fld)
 

Detailed Description

Definition at line 39 of file FieldCreateFactory.cpp.

Member Function Documentation

static unsigned epics::pvData::Field::Helper::hash ( Field fld)
inlinestatic

Definition at line 40 of file FieldCreateFactory.cpp.

40  {
41  std::ostringstream key;
42  // hash the output of operator<<()
43  // not efficient, but stable within this process.
44  key<<(*fld);
45  unsigned H = epicsStrHash(key.str().c_str(), 0xbadc0de1);
46  fld->m_hash = H;
47  return H;
48  }
unsigned int epicsStrHash(const char *str, unsigned int seed)
Definition: epicsString.c:356

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