|
| | Property (void) |
| |
| | Property (const char *data, int len) |
| |
| | Property (const char *str) |
| |
| | Property (int val, int len) |
| |
| | Property (const ByteArray &ba) |
| |
| | Property (const Property &prop) |
| |
| virtual | ~Property (void) |
| |
| void | clear (void) |
| |
| char * | getString (void) |
| |
| void | setString (const char *str) |
| |
| const Property & | operator= (const Property &prop) |
| |
| | ByteArray (void) |
| |
| | ByteArray (int len) |
| |
| | ByteArray (const char *data, int len) |
| |
| | ByteArray (const char *str) |
| |
| | ByteArray (int val, int len) |
| |
| | ByteArray (const ByteArray &ba) |
| |
| virtual | ~ByteArray (void) |
| |
| void | clear (void) |
| |
| int | length (void) const |
| |
| char * | get (void) |
| |
| const char * | get (void) const |
| |
| void | set (const char *data, int len) |
| |
| void | append (const char *data, int len) |
| |
| void | append (const ByteArray &ba) |
| |
| void | insert (const char *data, int len, int offset) |
| |
| void | fill (char value, int len, int offset) |
| |
| int | getInt (int def_val=0) const |
| |
| void | setInt (int val, int len) |
| |
| void | appendInt (int val, int len) |
| |
| void | getString (char *str, int max_size) const |
| |
| void | setString (const char *str) |
| |
| void | appendString (const char *str) |
| |
| std::string | toString (void) const |
| |
| std::string | toHexString (void) const |
| |
| int | compare (const ByteArray &ba) const |
| |
| ByteArray | sub (int offset, int len=-1) const |
| |
| ByteArray | lstrip (void) const |
| |
| ByteArray | rstrip (const std::set< char > &charsToBeStripped) const |
| |
| void | read (const char *filename) |
| |
| void | write (const char *filename) const |
| |
| void | xtrace (const char *text=0) const |
| |
| ByteArray & | operator= (const ByteArray &ba) |
| |
| const ByteArray & | operator+= (const ByteArray &ba) |
| |
| const ByteArray & | operator|= (const ByteArray &ba) |
| |
| const ByteArray & | operator^= (const ByteArray &ba) |
| |
| char & | operator[] (int idx) |
| |
Creates and parses property values of different types.
The following example illustrates the usage of the Property class:
wchar_t *name = L"Key Name";
int name_len = (wcslen(name) + 1) * 2;
printf(
"Name: %s", keyTemplate.
getName());
Creates and parses property values of different types.
Definition: sw/cxi_api_c/def/property.h:19
Property(void)
Definition: property.cpp:140
Constructs and parses key property lists, see Key Properties.
Definition: sw/cxi_api_c/def/propertylist.h:19
char * getName(void)
Definition: propertylist.cpp:268
void set(int idx, const Property &property)
Definition: propertylist.cpp:475
#define CXI_PROP_KEY_NAME
Key name (default: empty) [array<byte>].
Definition: fw/cxi/def/cxi_defs.h:41