ARB
Public Member Functions | Static Public Member Functions | List of all members
ConfigMapping Struct Reference

#include <ConfigMapping.h>

Inheritance diagram for ConfigMapping:
Inheritance graph
[legend]
Collaboration diagram for ConfigMapping:
Collaboration graph
[legend]

Public Member Functions

GB_ERROR parseFrom (const std::string &configString)
 
bool has_entry (const char *entry) const
 
const charget_entry (const char *entry) const
 
void set_entry (const std::string &entry, const std::string &value)
 
void delete_entry (const char *entry)
 
std::string config_string () const
 
void get_entries (class ConstStrArray &to_array)
 

Static Public Member Functions

static GB_ERROR decode_escapes (std::string &s)
 
static void encode_escapes (std::string &s, const char *to_escape)
 

Detailed Description

Definition at line 30 of file ConfigMapping.h.

Member Function Documentation

GB_ERROR ConfigMapping::parseFrom ( const std::string configString)
bool ConfigMapping::has_entry ( const char entry) const
inline

Definition at line 35 of file ConfigMapping.h.

Referenced by AWT_config::has_entry().

const char* ConfigMapping::get_entry ( const char entry) const
inline
void ConfigMapping::set_entry ( const std::string entry,
const std::string value 
)
inline
void ConfigMapping::delete_entry ( const char entry)
inline

Definition at line 49 of file ConfigMapping.h.

Referenced by AWT_config::delete_entry().

std::string ConfigMapping::config_string ( ) const
inline
void ConfigMapping::get_entries ( class ConstStrArray to_array)
inline

Definition at line 73 of file ConfigMapping.h.

References ConstStrArray::put(), and string().

Referenced by AWT_config::get_entries(), and translate_config_changed_cb().

GB_ERROR ConfigMapping::decode_escapes ( std::string s)
static

Definition at line 17 of file ConfigMapping.cxx.

References GBS_global_string(), and NULp.

Referenced by AWT_configuration::Load().

void ConfigMapping::encode_escapes ( std::string s,
const char to_escape 
)
static

Definition at line 50 of file ConfigMapping.cxx.

Referenced by config_string(), and AWT_configuration::Save().


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