SUPER Space invader : Turbo edition DX - VS GOD 1.0.0
A simple space invader ripoff
ConfigBuilder Class Reference

temporary class used to populate a ConfigData object More...

#include <configManagement.h>

Collaboration diagram for ConfigBuilder:

Public Member Functions

void parseFile (const string &fname)
 parse the file given, and put the keys/values in internalValues More...
 
void readConfig ()
 
void dumpInternalValues () const
 print internalValues pairs in the console (in case in error reporting) More...
 

Public Attributes

ConfigData collectedData
 Actual config data object. More...
 

Detailed Description

temporary class used to populate a ConfigData object

Definition at line 24 of file configManagement.h.

Member Function Documentation

◆ dumpInternalValues()

void ConfigBuilder::dumpInternalValues ( ) const

print internalValues pairs in the console (in case in error reporting)

Definition at line 33 of file configManagement.cpp.

Here is the caller graph for this function:

◆ parseFile()

void ConfigBuilder::parseFile ( const string &  fname)

parse the file given, and put the keys/values in internalValues

read the values in collectedData and put them in the collectedData object

Parameters
[in]fnamefile to read from

Definition at line 42 of file configManagement.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readConfig()

void ConfigBuilder::readConfig ( )

Definition at line 156 of file configManagement.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ collectedData

ConfigData ConfigBuilder::collectedData

Actual config data object.

Definition at line 30 of file configManagement.h.


The documentation for this class was generated from the following files: