Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

LcgConfigBuffer::ConfigBuffer Class Reference

Reads and stores the configuration information defined in a file as a series of attributes and their values. More...

#include <ConfigBuffer.h>

List of all members.

Public Methods

 ConfigBuffer ()
 ConfigBuffer (const string &filename)
 ~ConfigBuffer ()
void show_map ()
 Shows the mapping ATTRIBUTE ==> VALUE.

std::vector< std::string > list_attributes ()
 Returns a vector with all the attribute names contained in this object.

string get_attribute_value (const string &Attribute)
 Gets the value of a given attribute.

REsult set_attribute_value (const string &Attribute, const string &Value)
REsult create_new_attribute (const string &Attribute)
 Creates a new attribute.

int populate_from_config (const string &filename)


Detailed Description

Reads and stores the configuration information defined in a file as a series of attributes and their values.

Definition at line 28 of file ConfigBuffer.h.


The documentation for this class was generated from the following files:
Generated on Tue Oct 5 14:42:45 2004 for LCG Information System Interface by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002