Classes | Defines | Typedefs | Enumerations | Functions | Variables
CDataFile.h File Reference
#include <vector>
#include <string>
#include <fstream>
Include dependency graph for CDataFile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CDataFile
 Class Definitions /////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////. More...
struct  st_key
struct  st_section

Defines

#define AUTOCREATE_KEYS   (1L<<2)
#define AUTOCREATE_SECTIONS   (1L<<1)
#define MAX_BUFFER_LEN   512

Typedefs

typedef KeyList::iterator KeyItor
typedef std::vector< t_KeyKeyList
typedef SectionList::iterator SectionItor
typedef std::vector< t_SectionSectionList
typedef struct st_key t_Key
typedef struct st_section t_Section
typedef std::string t_Str

Enumerations

enum  e_DebugLevel {
  E_DEBUG = 0, E_INFO, E_WARN, E_ERROR,
  E_FATAL, E_CRITICAL
}

Functions

int CompareNoCase (const t_Str &str1, const t_Str &str2)
t_Str GetNextWord (t_Str &CommandLine)
void Report (e_DebugLevel DebugLevel, const char *fmt,...)
 General Purpose Utility Functions /////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////.
void Trim (t_Str &szStr)
int WriteLn (std::fstream &stream, const char *fmt,...)

Variables

const t_Str CommentIndicators = t_Str("#;")
const t_Str EqualIndicators = t_Str("=:")
const t_Str WhiteSpace = t_Str(" \t\n\r")

Define Documentation

#define AUTOCREATE_KEYS   (1L<<2)

Definition at line 33 of file CDataFile.h.

#define AUTOCREATE_SECTIONS   (1L<<1)

Definition at line 28 of file CDataFile.h.

#define MAX_BUFFER_LEN   512

Definition at line 39 of file CDataFile.h.


Typedef Documentation

typedef KeyList::iterator KeyItor

Definition at line 112 of file CDataFile.h.

Definition at line 111 of file CDataFile.h.

typedef SectionList::iterator SectionItor

Definition at line 134 of file CDataFile.h.

Definition at line 133 of file CDataFile.h.

typedef struct st_key t_Key
typedef struct st_section t_Section
typedef std::string t_Str

Definition at line 69 of file CDataFile.h.


Enumeration Type Documentation

Enumerator:
E_DEBUG 
E_INFO 
E_WARN 
E_ERROR 
E_FATAL 
E_CRITICAL 

Definition at line 44 of file CDataFile.h.


Function Documentation

int CompareNoCase ( const t_Str str1,
const t_Str str2 
)

Definition at line 701 of file CDataFile.cpp.

t_Str GetNextWord ( t_Str CommandLine)

Definition at line 675 of file CDataFile.cpp.

void Report ( e_DebugLevel  DebugLevel,
const char *  fmt,
  ... 
)

General Purpose Utility Functions /////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////.

Definition at line 762 of file CDataFile.cpp.

void Trim ( t_Str szStr)

Definition at line 712 of file CDataFile.cpp.

int WriteLn ( std::fstream &  stream,
const char *  fmt,
  ... 
)

Variable Documentation

const t_Str CommentIndicators = t_Str("#;")

Definition at line 76 of file CDataFile.h.

const t_Str EqualIndicators = t_Str("=:")

Definition at line 85 of file CDataFile.h.

const t_Str WhiteSpace = t_Str(" \t\n\r")

Definition at line 90 of file CDataFile.h.



blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Thu Jan 2 2014 11:38:26