common/cmconfig.h File Reference

This file defines a "standardized" interface to configurations for consmgr applications. More...

#include <stdlib.h>
#include <pthread.h>
#include <string>
#include <fstream>
#include <map>
#include <vector>
#include <loki/SmartPtr.h>

Include dependency graph for cmconfig.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Config
 Print debugging for configuration file parsing. More...
class  ConfigFactory
 A factory object to instantiate the correct subclass of Config. More...
class  ConfigException
 A general-purpose class for configuration file exceptions. More...
class  ConfigBadFile
 An exception indicating a problem reading the file. More...
class  ConfigParseException
 An exception indicating a parse error in the file. More...
class  ConfigUnfoundException
 An exception indicating that an element or parameter was not found. More...

Typedefs

typedef Loki::SmartPtr< Config,
Loki::RefCountedMTAdj
< Loki::ObjectLevelLockable >
::RefCountedMT > 
ConfigP
 A typedef for a smart-pointer to a Config object (or subclass there-of).


Detailed Description

This file defines a "standardized" interface to configurations for consmgr applications.

Subclasses of this interface class deal with the guts of actually doing the work.

Also in this file is a definition of the ConfigException class, which is used to define and report exceptions determined from the configurations. Since these classes are used by a variety of subsystems, each can translate errors into the ConfigException elements as they see fit.

Todo:
ConfigException should be moved to be sub-classed from CMException

Definition in file cmconfig.h.


Generated on Tue May 13 11:32:36 2008 for consmgr by  doxygen 1.5.5