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 42 of file VariantJsonCompressor.h.

Constructor & Destructor Documentation

◆ VariantJsonCompressor()

Definition at line 37 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 42 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 230 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 239 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 255 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 272 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 77 of file VariantJsonCompressor.cpp.

+ Here is the call graph for this function:

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