CHROMA
Public Member Functions | Private Attributes | List of all members
Chroma::SerialDBData< D > Class Template Reference

Serializable value harness. More...

#include <key_val_db.h>

Inheritance diagram for Chroma::SerialDBData< D >:

Public Member Functions

 SerialDBData ()
 Default constructor. More...
 
 SerialDBData (const D &d)
 Constructor from data. More...
 
D & data ()
 Setter. More...
 
const D & data () 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)
 

Private Attributes

data_
 

Detailed Description

template<typename D>
class Chroma::SerialDBData< D >

Serializable value harness.

Definition at line 68 of file key_val_db.h.

Constructor & Destructor Documentation

◆ SerialDBData() [1/2]

template<typename D >
Chroma::SerialDBData< D >::SerialDBData ( )
inline

Default constructor.

Definition at line 72 of file key_val_db.h.

◆ SerialDBData() [2/2]

template<typename D >
Chroma::SerialDBData< D >::SerialDBData ( const D &  d)
inline

Constructor from data.

Definition at line 75 of file key_val_db.h.

Member Function Documentation

◆ data() [1/2]

template<typename D >
D& Chroma::SerialDBData< D >::data ( )
inline

◆ data() [2/2]

template<typename D >
const D& Chroma::SerialDBData< D >::data ( ) const
inline

Getter.

Definition at line 81 of file key_val_db.h.

◆ readObject()

template<typename D >
void Chroma::SerialDBData< D >::readObject ( const std::string &  input)
throw (SerializeException
)
inline

Definition at line 92 of file key_val_db.h.

References Chroma::read().

◆ serialID()

template<typename D >
const unsigned short Chroma::SerialDBData< D >::serialID ( void  ) const
inline

Definition at line 84 of file key_val_db.h.

◆ writeObject()

template<typename D >
void Chroma::SerialDBData< D >::writeObject ( std::string &  output) const
throw (SerializeException
)
inline

Definition at line 86 of file key_val_db.h.

References Chroma::write().

Member Data Documentation

◆ data_

template<typename D >
D Chroma::SerialDBData< D >::data_
private

Definition at line 98 of file key_val_db.h.


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