class SectionAssoc

Used by Ini Links a section title to couple (id,value)

Public Methods

SectionAssoc(const String& s, const String& comment) throw()
~SectionAssoc() throw()
void add(ValueString& v) throw()
void set(const String& id, int cpt, const String& val) throw()
const String* get(const String& id, int cpt) throw(Exception)
const String* getWithoutException(const String& id, int cpt) throw()
const String* getWithDefault(const String& id, int cpt, const String& defaut) throw()
List < const String* > * getList(const String& id) throw()
List < const String* > * getListWithDefaultSection(const String& id, SectionAssoc& other) throw(Exception)
const String* getTitle() const throw()
const String* getComment() const throw()
Usually not used
List < ValueString* > * getAll() throw()
void setComment(const String& comment) throw()
Usually not used
bool used() const throw()
Used if the .ini files have to be cleaned (to remove the useless sections and ids)
void setWithMaximumNumber(const String& id, const String& val) throw()
Usually not used : add the id after all the identical ids

Protected Fields

const String title
String com
List < ValueString* > l
bool isUsed

Documentation

Used by Ini Links a section title to couple (id,value)
const String title

String com

List < ValueString* > l

bool isUsed

SectionAssoc(const String& s, const String& comment) throw()

~SectionAssoc() throw()

void add(ValueString& v) throw()

void set(const String& id, int cpt, const String& val) throw()

const String* get(const String& id, int cpt) throw(Exception)

const String* getWithoutException(const String& id, int cpt) throw()

const String* getWithDefault(const String& id, int cpt, const String& defaut) throw()

List < const String* > * getList(const String& id) throw()

List < const String* > * getListWithDefaultSection(const String& id, SectionAssoc& other) throw(Exception)

const String* getTitle() const throw()

const String* getComment() const throw()
Usually not used

List < ValueString* > * getAll() throw()

void setComment(const String& comment) throw()
Usually not used

bool used() const throw()
Used if the .ini files have to be cleaned (to remove the useless sections and ids)

void setWithMaximumNumber(const String& id, const String& val) throw()
Usually not used : add the id after all the identical ids


This class has no child classes.
Author:
David FAUTHOUX
See Also:
Ini

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de