Homepage Demos Overview Downloads Tutorials Reference
Credits

config.h File Reference


Detailed Description

Header file for Config class definitions.

Definition in file config.h.

#include <iostream>
#include <string>
#include <iomanip>
#include <fstream>
#include <sstream>
#include <vector>
#include "utils.h"

Include dependency graph for config.h:

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

Go to the source code of this file.

Namespaces

namespace  ROBOOP
namespace  std

Defines

#define CAN_NOT_OPEN_FILE   -1
 Return when can not open file.
#define CAN_NOT_CREATE_FILE   -2
 Return when can not create a file.
#define SECTION_OR_PARAMETER_DOES_NOT_EXIST   -3
 Return when a section or parameter does not exist.

Typedefs

typedef ROBOOP::Data Data
 Basic data element used in Config class.
typedef vector< DataConf_data
 Configuration data type.

Variables

static const char header_config_rcsid [] = "$Id: config.h,v 1.11 2004/12/22 19:18:48 ejt Exp $"
 RCS/CVS version.


Define Documentation

#define CAN_NOT_CREATE_FILE   -2
 

Return when can not create a file.

Definition at line 82 of file config.h.

Referenced by ROBOOP::Config::write_conf().

#define CAN_NOT_OPEN_FILE   -1
 

Return when can not open file.

Definition at line 79 of file config.h.

Referenced by ROBOOP::Config::read_conf().

#define SECTION_OR_PARAMETER_DOES_NOT_EXIST   -3
 

Return when a section or parameter does not exist.

Definition at line 85 of file config.h.

Referenced by ROBOOP::Config::select_bool(), ROBOOP::Config::select_double(), ROBOOP::Config::select_float(), ROBOOP::Config::select_int(), ROBOOP::Config::select_real(), ROBOOP::Config::select_short(), and ROBOOP::Config::select_string().


Typedef Documentation

typedef vector< Data > ROBOOP::Conf_data
 

Configuration data type.

Definition at line 101 of file config.h.

typedef struct ROBOOP::Data ROBOOP::Data
 

Basic data element used in Config class.


Variable Documentation

const char header_config_rcsid[] = "$Id: config.h,v 1.11 2004/12/22 19:18:48 ejt Exp $" [static]
 

RCS/CVS version.

Definition at line 54 of file config.h.


ROBOOP v1.21a
Generated Tue Jan 4 15:42:26 2005 by Doxygen 1.4.0