ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Common::INIFile::Section Struct Reference

A section in a ini file. More...

#include <ini-file.h>

Collaboration diagram for Common::INIFile::Section:

List of all members.

Public Member Functions

bool hasKey (const String &key) const
const KeyValuegetKey (const String &key) const
void setKey (const String &key, const String &value)
void removeKey (const String &key)
const SectionKeyList getKeys () const

Public Attributes

String name
List< KeyValuekeys
String comment

Detailed Description

A section in a ini file.

I.e. corresponds to something like this: [mySection] key=value

Comments are also stored, to keep users happy who like editing their ini files manually.

Definition at line 65 of file ini-file.h.


Member Function Documentation

const INIFile::KeyValue * Common::INIFile::Section::getKey ( const String key  )  const

Definition at line 360 of file ini-file.cpp.

const SectionKeyList Common::INIFile::Section::getKeys (  )  const [inline]

Definition at line 74 of file ini-file.h.

bool Common::INIFile::Section::hasKey ( const String key  )  const

Definition at line 356 of file ini-file.cpp.

void Common::INIFile::Section::removeKey ( const String key  ) 

Definition at line 383 of file ini-file.cpp.

void Common::INIFile::Section::setKey ( const String key,
const String value 
)

Definition at line 369 of file ini-file.cpp.


Member Data Documentation

Definition at line 66 of file ini-file.h.


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


Generated on Sat Nov 16 2019 05:02:48 for ResidualVM by doxygen 1.7.1
curved edge   curved edge