JsonData Class Referenceabstract

#include <ArmarXGui/libraries/StructuralJson/JsonData.h>

+ Inheritance diagram for JsonData:

Public Member Functions

virtual JsonDataPtr clone ()=0
 
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 void writeJson (const JsonWriterPtr &writer)=0
 
virtual ~JsonData ()=default
 

Detailed Description

Definition at line 33 of file JsonData.h.

Constructor & Destructor Documentation

◆ JsonData()

JsonData ( )

Definition at line 25 of file JsonData.cpp.

◆ ~JsonData()

virtual ~JsonData ( )
virtualdefault

Member Function Documentation

◆ clone()

virtual JsonDataPtr clone ( )
pure virtual

Implemented in JsonValue, JsonObject, and JsonArray.

◆ getLexerEndOffset()

LexerInfo getLexerEndOffset ( )

Definition at line 52 of file JsonData.cpp.

◆ getLexerStartOffset()

LexerInfo getLexerStartOffset ( )

Definition at line 47 of file JsonData.cpp.

◆ setLexerEndOffset()

void setLexerEndOffset ( LexerInfo  lexerEndOffset)

Definition at line 42 of file JsonData.cpp.

◆ setLexerStartOffset()

void setLexerStartOffset ( LexerInfo  lexerStartOffset)

Definition at line 37 of file JsonData.cpp.

◆ toJsonString()

std::string toJsonString ( int  indenting = 0,
const std::string  indentChars = "  ",
bool  jsStyleKeys = false 
)

Definition at line 30 of file JsonData.cpp.

+ Here is the call graph for this function:

◆ writeJson()

virtual void writeJson ( const JsonWriterPtr writer)
pure virtual

Implemented in JsonValue, JsonObject, and JsonArray.

+ Here is the caller graph for this function:

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