|
OMNeT++ API 6.1
Discrete Event Simulation Library
|
|
16 #ifndef __OMNETPP_CCONFIGREADER_H
17 #define __OMNETPP_CCONFIGREADER_H
19 #include "simkerneldefs.h"
46 virtual const char *getKey()
const = 0;
47 virtual const char *getValue()
const = 0;
48 virtual const char *getBaseDirectory()
const = 0;
49 virtual FileLine getSourceLocation()
const = 0;
102 virtual const KeyValue&
getEntry(
int sectionId,
int entryId)
const = 0;
108 virtual void dump()
const = 0;
virtual ~cConfigurationReader()
Definition: cconfigreader.h:56
virtual int getNumEntries(int sectionId) const =0
Represents the configuration, as accessed by the simulation kernel.
Definition: cconfiguration.h:76
virtual const KeyValue & getEntry(int sectionId, int entryId) const =0
Abstract base class for representing a key-value pair in the configuration.
Definition: cconfigreader.h:43
virtual const char * getSectionName(int sectionId) const =0
virtual void dump() const =0
Abstract base class for configuration readers for SectionBasedConfiguration.
Definition: cconfigreader.h:37
virtual const char * getDefaultBaseDirectory() const =0
Definition: fileline.h:27
virtual const char * getFileName() const =0
virtual int getNumSections() const =0
virtual void initializeFrom(cConfiguration *bootConfig)=0