#include "OW_config.h"
#include "OW_String.hpp"
#include "OW_Array.hpp"
#include "OW_SortedVectorMap.hpp"
Include dependency graph for OW_ConfigFile.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | OW_NAMESPACE |
namespace | OW_NAMESPACE::ConfigFile |
Classes | |
struct | OW_NAMESPACE::ConfigFile::ItemData |
Typedefs | |
typedef Array< ItemData > | OW_NAMESPACE::ConfigFile::ItemDataArray |
typedef SortedVectorMap< String, ItemDataArray > | OW_NAMESPACE::ConfigFile::ConfigMap |
Enumerations | |
enum | OW_NAMESPACE::ConfigFile::EOverwritePreviousFlag { OW_NAMESPACE::ConfigFile::E_PRESERVE_PREVIOUS, OW_NAMESPACE::ConfigFile::E_OVERWRITE_PREVIOUS } |
Functions | |
void | OW_NAMESPACE::ConfigFile::loadConfigFile (const String &filename, ConfigMap &rval) |
Loads a config file and stores the options in rval. | |
String | OW_NAMESPACE::ConfigFile::getConfigItem (const ConfigMap &configItems, const String &itemName, const String &defRetVal=String()) |
Retrieve itemName item from configItems. | |
StringArray | OW_NAMESPACE::ConfigFile::getMultiConfigItem (const ConfigMap &configItems, const String &itemName, const StringArray &defRetVal=StringArray(), const char *tokenizeSeparator=0) |
Retrieve itemName values from configItems. | |
void | OW_NAMESPACE::ConfigFile::setConfigItem (ConfigMap &configItems, const String &itemName, const String &value, EOverwritePreviousFlag overwritePrevious=E_OVERWRITE_PREVIOUS) |
Sets itemName to value in configItems. |