Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
INIReader Class Reference

#include <INIReader.h>

Collaboration diagram for INIReader:

Public Member Functions

 INIReader (const std::string &filename)
 
int ParseError () const
 
std::string Get (const std::string &section, const std::string &name, const std::string &default_value) const
 
long GetInteger (const std::string &section, const std::string &name, long default_value) const
 
unsigned long GetUnsignedInteger (const std::string &section, const std::string &name, unsigned long default_value) const
 
double GetReal (const std::string &section, const std::string &name, double default_value) const
 
bool GetBoolean (const std::string &section, const std::string &name, bool default_value) const
 

Constructor & Destructor Documentation

◆ INIReader()

INIReader::INIReader ( const std::string &  filename)

Member Function Documentation

◆ Get()

string INIReader::Get ( const std::string &  section,
const std::string &  name,
const std::string &  default_value 
) const

◆ GetBoolean()

bool INIReader::GetBoolean ( const std::string &  section,
const std::string &  name,
bool  default_value 
) const

◆ GetInteger()

long INIReader::GetInteger ( const std::string &  section,
const std::string &  name,
long  default_value 
) const

◆ GetReal()

double INIReader::GetReal ( const std::string &  section,
const std::string &  name,
double  default_value 
) const

◆ GetUnsignedInteger()

unsigned long INIReader::GetUnsignedInteger ( const std::string &  section,
const std::string &  name,
unsigned long  default_value 
) const

◆ ParseError()

int INIReader::ParseError ( ) const

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