CACAO
|
Commandline properties. More...
Public Member Functions | |
Properties () | |
Constructor fills the properties list with default values. More... | |
void | put (const char *key, const char *value) |
Put the given property into the internal property map. More... | |
const char * | get (const char *key) |
Get a property entry from the internal property map. More... | |
void | fill (java_handle_t *p) |
Fill the given Java system properties with all properties from the internal properties map. More... | |
void | dump () |
Dump all property entries. More... | |
Static Public Member Functions | |
static void | put (java_handle_t *p, const char *key, const char *value) |
Add the given property to the given Java system properties. More... | |
Private Member Functions | |
Properties (const Properties &) | |
Private Attributes | |
std::map< const char *, const char *, ltstr > | _properties |
Commandline properties.
Definition at line 45 of file properties.hpp.
|
private |
Properties::Properties | ( | ) |
Constructor fills the properties list with default values.
Definition at line 60 of file properties.cpp.
void Properties::dump | ( | ) |
Dump all property entries.
Definition at line 642 of file properties.cpp.
void Properties::fill | ( | java_handle_t * | p | ) |
Fill the given Java system properties with all properties from the internal properties map.
p | Java Properties object. |
Definition at line 611 of file properties.cpp.
const char * Properties::get | ( | const char * | key | ) |
Get a property entry from the internal property map.
key | Key. |
Definition at line 590 of file properties.cpp.
|
static |
Add the given property to the given Java system properties.
p | Java properties object. |
key | Key. |
value | Value. |
Definition at line 531 of file properties.cpp.
void Properties::put | ( | const char * | key, |
const char * | value | ||
) |
Put the given property into the internal property map.
If there's already an entry with the same key, replace it.
key | Key. |
value | Value. |
Definition at line 561 of file properties.cpp.
Definition at line 47 of file properties.hpp.