|
CHROMA
|
Serializable key harness. More...
#include <key_val_db.h>
Public Member Functions | |
| SerialDBKey () | |
| Default constructor. More... | |
| SerialDBKey (const K &k) | |
| Constructor from data. More... | |
| K & | key () |
| Setter. More... | |
| const K & | key () const |
| Getter. More... | |
| const unsigned short | serialID (void) const |
| void | writeObject (std::string &output) const throw (SerializeException) |
| void | readObject (const std::string &input) throw (SerializeException) |
| int | hasHashFunc (void) const |
| int | hasCompareFunc (void) const |
Static Public Member Functions | |
| static unsigned int | hash (const void *bytes, unsigned int len) |
| static int | compare (const FFDB_DBT *k1, const FFDB_DBT *k2) |
Private Attributes | |
| K | key_ |
Serializable key harness.
Definition at line 20 of file key_val_db.h.
|
inline |
Default constructor.
Definition at line 24 of file key_val_db.h.
|
inline |
Constructor from data.
Definition at line 27 of file key_val_db.h.
|
inlinestatic |
Definition at line 57 of file key_val_db.h.
|
inline |
Definition at line 51 of file key_val_db.h.
|
inlinestatic |
Empty hash and compare functions. We are using default functions.
Definition at line 56 of file key_val_db.h.
|
inline |
Definition at line 50 of file key_val_db.h.
|
inline |
Setter.
Definition at line 30 of file key_val_db.h.
Referenced by Chroma::InlineDiscoEigCGEnv::InlineMeas::func(), Chroma::InlineDiscoEoEigCGEnv::InlineMeas::func(), Chroma::InlineDiscoEOPrecEnv::InlineMeas::func(), Chroma::InlineDiscoEnv::InlineMeas::func(), and Chroma::InlineStochHadronEnv::InlineMeas::func().
|
inline |
Getter.
Definition at line 33 of file key_val_db.h.
|
inline | ||||||||||||||
Definition at line 44 of file key_val_db.h.
References Chroma::read().
|
inline |
Definition at line 36 of file key_val_db.h.
|
inline | ||||||||||||||
Definition at line 38 of file key_val_db.h.
References Chroma::write().
|
private |
Definition at line 60 of file key_val_db.h.