|
|
#include <ArmarXGui/libraries/StructuralJson/JsonObject.h>
Inheritance diagram for JsonObject:Public Member Functions | |
| void | add (const std::string &key, const JsonArray &value) |
| void | add (const std::string &key, const JsonDataPtr &value) |
| void | add (const std::string &key, const JsonValue &value) |
| void | clear () |
| JsonDataPtr | clone () override |
| JsonDataPtr | get (const std::string &key) |
| std::vector< std::string > | getKeys () const |
| JsonObject () | |
| bool | remove (const std::string &key) |
| void | set (const std::string &key, const JsonDataPtr &value) |
| void | set (const std::string &key, const JsonValue &value) |
| uint | size () |
| JsonObjectPtr | toSharedPtr () const |
| void | writeJson (const JsonWriterPtr &writer) override |
Public Member Functions inherited from JsonData | |
| LexerInfo | getLexerEndOffset () |
| LexerInfo | getLexerStartOffset () |
| JsonData () | |
| void | setLexerEndOffset (LexerInfo lexerEndOffset) |
| void | setLexerStartOffset (LexerInfo lexerStartOffset) |
| std::string | toJsonString (int indenting=0, const std::string indentChars=" ", bool jsStyleKeys=false) |
| virtual | ~JsonData ()=default |
Friends | |
| class | JPathNavigator |
Definition at line 36 of file JsonObject.h.
| JsonObject | ( | ) |
| void add | ( | const std::string & | key, |
| const JsonArray & | value | ||
| ) |
| void add | ( | const std::string & | key, |
| const JsonDataPtr & | value | ||
| ) |
Definition at line 46 of file JsonObject.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void add | ( | const std::string & | key, |
| const JsonValue & | value | ||
| ) |
| void clear | ( | ) |
Definition at line 125 of file JsonObject.cpp.
|
overridevirtual |
Implements JsonData.
Definition at line 138 of file JsonObject.cpp.
| JsonDataPtr get | ( | const std::string & | key | ) |
Definition at line 104 of file JsonObject.cpp.
| std::vector< std::string > getKeys | ( | ) | const |
| bool remove | ( | const std::string & | key | ) |
Definition at line 91 of file JsonObject.cpp.
| void set | ( | const std::string & | key, |
| const JsonDataPtr & | value | ||
| ) |
Definition at line 69 of file JsonObject.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void set | ( | const std::string & | key, |
| const JsonValue & | value | ||
| ) |
| uint size | ( | ) |
Definition at line 119 of file JsonObject.cpp.
| JsonObjectPtr toSharedPtr | ( | ) | const |
|
overridevirtual |
Implements JsonData.
Definition at line 32 of file JsonObject.cpp.
|
friend |
Definition at line 38 of file JsonObject.h.