VariantJsonCompressor Class Reference

#include <ArmarXGui/gui-plugins/StatechartEditorPlugin/variantjson/VariantJsonCompressor.h>

Public Member Functions

 VariantJsonCompressor ()
 

Static Public Member Functions

static ParseResult CheckUserInput (const std::string &json, const std::string &variantBaseTypeName, const Ice::CommunicatorPtr &communicator)
 
static std::string Compress (const std::string &json, const std::string &variantBaseTypeName, int indenting=2)
 
static JsonDataPtr CompressToJson (const std::string &json, const std::string &variantBaseTypeName)
 
static std::string Decompress (const std::string &json, const std::string &variantBaseTypeName)
 
static std::string DecompressBasicVariant (const std::string &value, const std::string &variantBaseTypeName)
 
static ParseResult FormatUserInput (std::string &json, int indenting=2)
 

Detailed Description

Definition at line 40 of file VariantJsonCompressor.h.

Constructor & Destructor Documentation

◆ VariantJsonCompressor()

Definition at line 36 of file VariantJsonCompressor.cpp.

Member Function Documentation

◆ CheckUserInput()

ParseResult CheckUserInput ( const std::string &  json,
const std::string &  variantBaseTypeName,
const Ice::CommunicatorPtr communicator 
)
static

Definition at line 40 of file VariantJsonCompressor.cpp.

+ Here is the call graph for this function:

◆ Compress()

std::string Compress ( const std::string &  json,
const std::string &  variantBaseTypeName,
int  indenting = 2 
)
static

Definition at line 181 of file VariantJsonCompressor.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CompressToJson()

JsonDataPtr CompressToJson ( const std::string &  json,
const std::string &  variantBaseTypeName 
)
static

Definition at line 187 of file VariantJsonCompressor.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Decompress()

std::string Decompress ( const std::string &  json,
const std::string &  variantBaseTypeName 
)
static

Definition at line 200 of file VariantJsonCompressor.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DecompressBasicVariant()

std::string DecompressBasicVariant ( const std::string &  value,
const std::string &  variantBaseTypeName 
)
static

Definition at line 214 of file VariantJsonCompressor.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FormatUserInput()

ParseResult FormatUserInput ( std::string &  json,
int  indenting = 2 
)
static

Definition at line 67 of file VariantJsonCompressor.cpp.

+ Here is the call graph for this function:

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