|
#include <ArmarXGui/libraries/StructuralJson/JsonArray.h>
Public Member Functions | |
void | add (const JsonArray &value) |
void | add (const JsonDataPtr &value) |
void | add (const JsonValue &value) |
void | clear () |
JsonDataPtr | clone () override |
JsonArray () | |
JsonArray (const std::vector< JsonValue > &values) | |
void | remove (uint index) |
void | set (uint index, const JsonDataPtr &value) |
void | set (uint index, const JsonValue &value) |
uint | size () |
JsonArrayPtr | 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 34 of file JsonArray.h.
JsonArray | ( | ) |
void add | ( | const JsonArray & | value | ) |
void add | ( | const JsonDataPtr & | value | ) |
Definition at line 52 of file JsonArray.cpp.
void add | ( | const JsonValue & | value | ) |
void clear | ( | ) |
Definition at line 93 of file JsonArray.cpp.
|
overridevirtual |
Implements JsonData.
Definition at line 104 of file JsonArray.cpp.
void remove | ( | uint | index | ) |
Definition at line 78 of file JsonArray.cpp.
void set | ( | uint | index, |
const JsonDataPtr & | value | ||
) |
Definition at line 67 of file JsonArray.cpp.
void set | ( | uint | index, |
const JsonValue & | value | ||
) |
uint size | ( | ) |
Definition at line 88 of file JsonArray.cpp.
JsonArrayPtr toSharedPtr | ( | ) | const |
|
overridevirtual |
Implements JsonData.
Definition at line 39 of file JsonArray.cpp.
|
friend |
Definition at line 36 of file JsonArray.h.