mace::KeyTraits< T > Class Template Reference

#include <Traits.h>

Inherited by mace::mace::KeyTraits< char >, mace::mace::KeyTraits< int >, mace::mace::KeyTraits< MaceTime >, mace::mace::KeyTraits< short >, mace::mace::KeyTraits< unsigned >, mace::mace::KeyTraits< unsigned char >, mace::mace::KeyTraits< unsigned long long >, and mace::mace::KeyTraits< unsigned short >.

List of all members.


Detailed Description

template<class T>
class mace::KeyTraits< T >

Basic class with types and no special properties.

Definition at line 55 of file Traits.h.


Static Public Member Functions

static bool isString ()
 Whether or not the type can be represented as a string.
static bool isInt ()
 Wether or not the type is an integer.
static bool isDeterministic ()
 Whether or not the type is deterministic (in the simulator, MaceTime is non-deterministic, so ordering is random.
static void append (std::string &str, const T &key)
 Appends value key onto string str.
static T extract (std::istream &in) throw (SerializationException)
 For XML_RPC, read from in an element of type T, returning it.

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

Generated on Sat Oct 4 21:30:43 2008 for Mace Library by  doxygen 1.5.5