m2etis  0.4
m2etis::message::Key< KeyProvider > Class Template Reference

Key. More...

#include <Key.h>

Inheritance diagram for m2etis::message::Key< KeyProvider >:
Inheritance graph

Public Member Functions

 Key ()
 Default constructor. More...
 
 Key (const Key &rval)
 Copy Constructor. More...
 
 Key (const std::string &val)
 Constructor. More...
 
 Key (const std::vector< unsigned char > &val)
 
std::string toStr () const
 Gets a string representation of the key. More...
 
Key< KeyProvider > & operator= (const Key< KeyProvider > &rval)
 
bool operator== (const Key< KeyProvider > &rval) const
 
bool operator!= (const Key< KeyProvider > &rval) const
 
bool operator< (const Key< KeyProvider > &rval) const
 
bool operator> (const Key< KeyProvider > &rval) const
 

Static Public Member Functions

static size_t size ()
 

Friends

class boost::serialization::access
 

Detailed Description

template<class KeyProvider>
class m2etis::message::Key< KeyProvider >

Key.

Long Desc

Definition at line 41 of file Key.h.

Constructor & Destructor Documentation

template<class KeyProvider>
m2etis::message::Key< KeyProvider >::Key ( )
inline

Default constructor.

Definition at line 46 of file Key.h.

template<class KeyProvider>
m2etis::message::Key< KeyProvider >::Key ( const Key< KeyProvider > &  rval)
inline

Copy Constructor.

Parameters
[in]rvalkey to copy

Definition at line 53 of file Key.h.

template<class KeyProvider>
m2etis::message::Key< KeyProvider >::Key ( const std::string &  val)
inlineexplicit

Constructor.

Parameters
[in]valkey

Definition at line 61 of file Key.h.

template<class KeyProvider>
m2etis::message::Key< KeyProvider >::Key ( const std::vector< unsigned char > &  val)
inlineexplicit

Definition at line 65 of file Key.h.

Member Function Documentation

template<class KeyProvider>
bool m2etis::message::Key< KeyProvider >::operator!= ( const Key< KeyProvider > &  rval) const
inline

Definition at line 91 of file Key.h.

template<class KeyProvider>
bool m2etis::message::Key< KeyProvider >::operator< ( const Key< KeyProvider > &  rval) const
inline

Definition at line 95 of file Key.h.

template<class KeyProvider>
Key<KeyProvider>& m2etis::message::Key< KeyProvider >::operator= ( const Key< KeyProvider > &  rval)
inline

Definition at line 82 of file Key.h.

template<class KeyProvider>
bool m2etis::message::Key< KeyProvider >::operator== ( const Key< KeyProvider > &  rval) const
inline

Definition at line 87 of file Key.h.

template<class KeyProvider>
bool m2etis::message::Key< KeyProvider >::operator> ( const Key< KeyProvider > &  rval) const
inline

Definition at line 99 of file Key.h.

template<class KeyProvider>
static size_t m2etis::message::Key< KeyProvider >::size ( )
inlinestatic

Definition at line 69 of file Key.h.

template<class KeyProvider>
std::string m2etis::message::Key< KeyProvider >::toStr ( ) const
inline

Gets a string representation of the key.

Returns
Returns a string representation of the key

Definition at line 78 of file Key.h.

Here is the caller graph for this function:

Friends And Related Function Documentation

template<class KeyProvider>
friend class boost::serialization::access
friend

Definition at line 104 of file Key.h.


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