oasys::DurableStoreKey Class Reference

#include <DurableStoreKey.h>

Inheritance diagram for oasys::DurableStoreKey:

oasys::SerializableObject

List of all members.


Detailed Description

SerializableKey - Used by the keys to the store to avoid unnecessary serialization.

Definition at line 30 of file DurableStoreKey.h.


Public Member Functions

virtual int compare (const DurableStoreKey &other)=0
 Compare function used by the tables for finding the key.
virtual std::string as_ascii ()=0
 
Returns:
Key expressed as an ascii string.

virtual bool from_ascii (const std::string &ascii)=0
 
Returns:
True if a key could be converted from the ascii.


Member Function Documentation

virtual int oasys::DurableStoreKey::compare ( const DurableStoreKey other  )  [pure virtual]

Compare function used by the tables for finding the key.

virtual std::string oasys::DurableStoreKey::as_ascii (  )  [pure virtual]

Returns:
Key expressed as an ascii string.

This is easier than a generalized marshalling/unmarshalling which is quite a heavy weight process.

virtual bool oasys::DurableStoreKey::from_ascii ( const std::string &  ascii  )  [pure virtual]

Returns:
True if a key could be converted from the ascii.


The documentation for this class was generated from the following file:
Generated on Sat Sep 8 08:43:54 2007 for DTN Reference Implementation by  doxygen 1.5.3