Directory Struct Reference

#include <Directory.hxx>

Inheritance diagram for Directory:

Serializable Countable EphemDir List of all members.

Public Member Functions

 SERIALIZABLE_DECLS (Directory)
void clear ()
void add (const std::string &key, const MutName &value)
void remove (const std::string &key)
MutName lookup (const std::string &key)

Protected Member Functions

bool keyExists (const std::string &key)

Protected Attributes

GCPtr< ObVecentries

Detailed Description

Definition at line 44 of file Directory.hxx.


Member Function Documentation

void Directory::add const std::string &  key,
const MutName value
 

Definition at line 64 of file Directory.cxx.

References ExObjectExists, format(), keyExists(), and THROW.

void Directory::clear  )  [inline]
 

Definition at line 55 of file Directory.hxx.

References entries.

bool Directory::keyExists const std::string &  key  )  [protected]
 

Definition at line 51 of file Directory.cxx.

References entries.

Referenced by add().

MutName Directory::lookup const std::string &  key  ) 
 

Definition at line 93 of file Directory.cxx.

References entries.

void Directory::remove const std::string &  key  ) 
 

Definition at line 75 of file Directory.cxx.

References entries.

Directory::SERIALIZABLE_DECLS Directory   ) 
 


Member Data Documentation

GCPtr<ObVec> Directory::entries [protected]
 

Bug:
This should really be inline now, but older versions of the directory object serialized it directly using sdr_write. We should update this.

Definition at line 51 of file Directory.hxx.

Referenced by clear(), keyExists(), lookup(), and remove().


The documentation for this struct was generated from the following files:
Generated on Sun Apr 23 22:42:40 2006 for OpenCM by  doxygen 1.4.6