diff --git a/.github/workflows/build-linux-clang.yml b/.github/workflows/build-linux-clang.yml
index 883d3f5..d3588fd 100644
--- a/.github/workflows/build-linux-clang.yml
+++ b/.github/workflows/build-linux-clang.yml
@@ -16,6 +16,8 @@ jobs:
- name: "Setup clang"
uses: egor-tensin/setup-clang@v1
+ with:
+ version: 12
- name: "Setup cmake"
run: cmake --version
diff --git a/.github/workflows/build-linux-gcc.yml b/.github/workflows/build-linux-gcc.yml
index 37b0bd9..f18664a 100644
--- a/.github/workflows/build-linux-gcc.yml
+++ b/.github/workflows/build-linux-gcc.yml
@@ -16,6 +16,8 @@ jobs:
- name: "Setup gcc"
uses: egor-tensin/setup-gcc@v1
+ with:
+ version: 11
- name: "Setup cmake"
run: cmake --version
diff --git a/.gitlinks b/.gitlinks
index c36cf92..38fae86 100644
--- a/.gitlinks
+++ b/.gitlinks
@@ -6,6 +6,7 @@ CppCommon modules/CppCommon https://github.com/chronoxor/CppCommon.git master
flatbuffers modules/flatbuffers https://github.com/google/flatbuffers.git master
protobuf modules/protobuf https://github.com/google/protobuf.git 21.x
rapidjson modules/rapidjson https://github.com/miloyip/rapidjson.git master
+zpp_bits modules/zpp_bits https://github.com/eyalz800/zpp_bits.git v4.4.11
# Scripts
build build https://github.com/chronoxor/CppBuildScripts.git master
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 12fcafd..384d001 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,6 +20,9 @@ endif()
# CMake module path
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
+# C++20
+set(CMAKE_CXX_STANDARD 20)
+
# Compiler features
include(SetCompilerFeatures)
include(SetCompilerWarnings)
@@ -162,7 +165,11 @@ if(NOT CPPSERIALIZATION_MODULE)
string(REGEX REPLACE "(.*)\\.cpp" "\\1" EXAMPLE_NAME ${EXAMPLE_SOURCE_FILE})
set(EXAMPLE_TARGET "cppserialization-example-${EXAMPLE_NAME}")
add_executable(${EXAMPLE_TARGET} ${EXAMPLE_HEADER_FILES} ${EXAMPLE_INLINE_FILES} "examples/${EXAMPLE_SOURCE_FILE}")
- set_target_properties(${EXAMPLE_TARGET} PROPERTIES COMPILE_FLAGS "${PEDANTIC_COMPILE_FLAGS}" FOLDER "examples")
+ if(MSVC)
+ set_target_properties(${EXAMPLE_TARGET} PROPERTIES COMPILE_FLAGS "${PEDANTIC_COMPILE_FLAGS}" FOLDER "examples")
+ else()
+ set_target_properties(${EXAMPLE_TARGET} PROPERTIES COMPILE_FLAGS "${PEDANTIC_COMPILE_FLAGS} -Wno-shadow" FOLDER "examples")
+ endif()
target_link_libraries(${EXAMPLE_TARGET} ${LINKLIBS})
list(APPEND INSTALL_TARGETS ${EXAMPLE_TARGET})
list(APPEND INSTALL_TARGETS_PDB ${EXAMPLE_TARGET})
@@ -176,7 +183,11 @@ if(NOT CPPSERIALIZATION_MODULE)
string(REGEX REPLACE "(.*)\\.cpp" "\\1" BENCHMARK_NAME ${BENCHMARK_SOURCE_FILE})
set(BENCHMARK_TARGET "cppserialization-performance-${BENCHMARK_NAME}")
add_executable(${BENCHMARK_TARGET} ${BENCHMARK_HEADER_FILES} ${BENCHMARK_INLINE_FILES} "performance/${BENCHMARK_SOURCE_FILE}")
- set_target_properties(${BENCHMARK_TARGET} PROPERTIES COMPILE_FLAGS "${PEDANTIC_COMPILE_FLAGS}" FOLDER "performance")
+ if(MSVC)
+ set_target_properties(${BENCHMARK_TARGET} PROPERTIES COMPILE_FLAGS "${PEDANTIC_COMPILE_FLAGS}" FOLDER "performance")
+ else()
+ set_target_properties(${BENCHMARK_TARGET} PROPERTIES COMPILE_FLAGS "${PEDANTIC_COMPILE_FLAGS} -Wno-shadow" FOLDER "performance")
+ endif()
target_link_libraries(${BENCHMARK_TARGET} ${LINKLIBS} cppbenchmark)
list(APPEND INSTALL_TARGETS ${BENCHMARK_TARGET})
list(APPEND INSTALL_TARGETS_PDB ${BENCHMARK_TARGET})
@@ -187,7 +198,11 @@ if(NOT CPPSERIALIZATION_MODULE)
file(GLOB TESTS_INLINE_FILES "tests/*.inl")
file(GLOB TESTS_SOURCE_FILES "tests/*.cpp")
add_executable(cppserialization-tests ${TESTS_HEADER_FILES} ${TESTS_INLINE_FILES} ${TESTS_SOURCE_FILES} ${Catch2})
- set_target_properties(cppserialization-tests PROPERTIES COMPILE_FLAGS "${PEDANTIC_COMPILE_FLAGS}" FOLDER "tests")
+ if (MSVC)
+ set_target_properties(cppserialization-tests PROPERTIES COMPILE_FLAGS "${PEDANTIC_COMPILE_FLAGS}" FOLDER "tests")
+ else()
+ set_target_properties(cppserialization-tests PROPERTIES COMPILE_FLAGS "${PEDANTIC_COMPILE_FLAGS} -Wno-shadow" FOLDER "tests")
+ endif()
target_include_directories(cppserialization-tests PRIVATE ${Catch2})
target_link_libraries(cppserialization-tests ${LINKLIBS})
list(APPEND INSTALL_TARGETS cppserialization-tests)
diff --git a/documents/html/annotated.html b/documents/html/annotated.html
new file mode 100644
index 0000000..6ecd316
--- /dev/null
+++ b/documents/html/annotated.html
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+CppSerialization: Class List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Here are the classes, structs, unions and interfaces with brief descriptions:
+
+
+
+
+
diff --git a/documents/html/bc_s.png b/documents/html/bc_s.png
new file mode 100644
index 0000000..224b29a
Binary files /dev/null and b/documents/html/bc_s.png differ
diff --git a/documents/html/bdwn.png b/documents/html/bdwn.png
new file mode 100644
index 0000000..940a0b9
Binary files /dev/null and b/documents/html/bdwn.png differ
diff --git a/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_deserializer-members.html b/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_deserializer-members.html
new file mode 100644
index 0000000..06868dc
--- /dev/null
+++ b/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_deserializer-members.html
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
+CppSerialization: Member List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
This is the complete list of members for CppSerialization::JSON::Deserializer, including all inherited members.
+
+ Deserializer()=delete | CppSerialization::JSON::Deserializer | |
+ Deserializer(const Deserializer &)=delete | CppSerialization::JSON::Deserializer | |
+ Deserializer(Deserializer &&)=delete | CppSerialization::JSON::Deserializer | |
+ Find(const JSON &json, const char *key, bool &value) | CppSerialization::JSON::Deserializer | inlinestatic |
+ Find(const JSON &json, const char *key, int &value) | CppSerialization::JSON::Deserializer | inlinestatic |
+ Find(const JSON &json, const char *key, unsigned &value) | CppSerialization::JSON::Deserializer | inlinestatic |
+ Find(const JSON &json, const char *key, int64_t &value) | CppSerialization::JSON::Deserializer | inlinestatic |
+ Find(const JSON &json, const char *key, uint64_t &value) | CppSerialization::JSON::Deserializer | inlinestatic |
+ Find(const JSON &json, const char *key, double &value) | CppSerialization::JSON::Deserializer | inlinestatic |
+ Find(const JSON &json, const char *key, char *value, size_t size) | CppSerialization::JSON::Deserializer | inlinestatic |
+ Find(const JSON &json, const char *key, std::string &value) | CppSerialization::JSON::Deserializer | inlinestatic |
+ Find(const JSON &json, const char *key, char(&value)[N]) | CppSerialization::JSON::Deserializer | inlinestatic |
+ FindArray(const JSON &json, const char *key, const std::function< void(const Value &)> &handler) | CppSerialization::JSON::Deserializer | inlinestatic |
+ FindArray(const JSON &json, const char *key, const std::function< void(size_t)> &initialize, const std::function< void(const Value &)> &handler) | CppSerialization::JSON::Deserializer | inlinestatic |
+ FindObject(const JSON &json, const char *key, const std::function< void(const Value::ConstObject &)> &handler) | CppSerialization::JSON::Deserializer | inlinestatic |
+ operator=(const Deserializer &)=delete | CppSerialization::JSON::Deserializer | |
+ operator=(Deserializer &&)=delete | CppSerialization::JSON::Deserializer | |
+ ~Deserializer()=delete | CppSerialization::JSON::Deserializer | |
+
+
+
+
+
diff --git a/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_deserializer.html b/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_deserializer.html
new file mode 100644
index 0000000..b811c94
--- /dev/null
+++ b/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_deserializer.html
@@ -0,0 +1,911 @@
+
+
+
+
+
+
+
+CppSerialization: CppSerialization::JSON::Deserializer Class Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
JSON deserializer.
+ More...
+
+
#include <deserializer.h>
+
+ |
+template<typename JSON > |
+static bool | Find (const JSON &json, const char *key, bool &value) |
+ | Try to get the boolean key/value pair. More...
|
+ |
+template<typename JSON > |
+static bool | Find (const JSON &json, const char *key, int &value) |
+ | Try to get the integer key/value pair. More...
|
+ |
+template<typename JSON > |
+static bool | Find (const JSON &json, const char *key, unsigned &value) |
+ | Try to get the unsigned key/value pair. More...
|
+ |
+template<typename JSON > |
+static bool | Find (const JSON &json, const char *key, int64_t &value) |
+ | Try to get the 64-bit integer key/value pair. More...
|
+ |
+template<typename JSON > |
+static bool | Find (const JSON &json, const char *key, uint64_t &value) |
+ | Try to get the 64-bit unsigned key/value pair. More...
|
+ |
+template<typename JSON > |
+static bool | Find (const JSON &json, const char *key, double &value) |
+ | Try to get the double key/value pair. More...
|
+ |
+template<typename JSON > |
+static bool | Find (const JSON &json, const char *key, char *value, size_t size) |
+ | Try to get the C-string key/value pair with a given size. More...
|
+ |
+template<typename JSON > |
+static bool | Find (const JSON &json, const char *key, std::string &value) |
+ | Try to get the string key/value pair. More...
|
+ |
+template<typename JSON , std::size_t N> |
+static bool | Find (const JSON &json, const char *key, char(&value)[N]) |
+ | Try to get the fixed string array key/value pair. More...
|
+ |
+template<typename JSON > |
+static bool | FindArray (const JSON &json, const char *key, const std::function< void(const Value &)> &handler) |
+ | Try to get the array key/value pair. More...
|
+ |
+template<typename JSON > |
+static bool | FindArray (const JSON &json, const char *key, const std::function< void(size_t)> &initialize, const std::function< void(const Value &)> &handler) |
+ | Try to get the array key/value pair with array initialize handler. More...
|
+ |
+template<typename JSON > |
+static bool | FindObject (const JSON &json, const char *key, const std::function< void(const Value::ConstObject &)> &handler) |
+ | Try to get the object key/value pair. More...
|
+ |
+
+
+
JSON deserializer.
+
JSON deserializer is used to deserialize objects from the JSON document.
+
+
Definition at line 25 of file deserializer.h.
+
+
+
◆ Deserializer() [1/3]
+
+
+
+
+
+
+
+
+ CppSerialization::JSON::Deserializer::Deserializer |
+ ( |
+ | ) |
+ |
+
+
+ |
+
+delete |
+
+
+
+
+
+
+
+
◆ Deserializer() [2/3]
+
+
+
+
+
+
+
+
+ CppSerialization::JSON::Deserializer::Deserializer |
+ ( |
+ const Deserializer & |
+ | ) |
+ |
+
+
+ |
+
+delete |
+
+
+
+
+
+
+
+
◆ Deserializer() [3/3]
+
+
+
+
+
+
+
+
+ CppSerialization::JSON::Deserializer::Deserializer |
+ ( |
+ Deserializer && |
+ | ) |
+ |
+
+
+ |
+
+delete |
+
+
+
+
+
+
+
+
◆ ~Deserializer()
+
+
+
+
+
+
+
+
+ CppSerialization::JSON::Deserializer::~Deserializer |
+ ( |
+ | ) |
+ |
+
+
+ |
+
+delete |
+
+
+
+
+
+
+
+
+
◆ Find() [1/9]
+
+
+
+
+template<typename JSON >
+
+
+
+
+
+ bool CppSerialization::JSON::Deserializer::Find |
+ ( |
+ const JSON & |
+ json, |
+
+
+ |
+ |
+ const char * |
+ key, |
+
+
+ |
+ |
+ bool & |
+ value |
+
+
+ |
+ ) |
+ | |
+
+
+ |
+
+inlinestatic |
+
+
+
+
+
Try to get the boolean key/value pair.
+
+
Definition at line 13 of file deserializer.inl.
+
+
+
+
+
◆ Find() [2/9]
+
+
+
+
+template<typename JSON >
+
+
+
+
+
+ bool CppSerialization::JSON::Deserializer::Find |
+ ( |
+ const JSON & |
+ json, |
+
+
+ |
+ |
+ const char * |
+ key, |
+
+
+ |
+ |
+ char * |
+ value, |
+
+
+ |
+ |
+ size_t |
+ size |
+
+
+ |
+ ) |
+ | |
+
+
+ |
+
+inlinestatic |
+
+
+
+
+
Try to get the C-string key/value pair with a given size.
+
+
Definition at line 115 of file deserializer.inl.
+
+
+
+
+
◆ Find() [3/9]
+
+
+
+
+template<typename JSON , std::size_t N>
+
+
+
+
+
+ bool CppSerialization::JSON::Deserializer::Find |
+ ( |
+ const JSON & |
+ json, |
+
+
+ |
+ |
+ const char * |
+ key, |
+
+
+ |
+ |
+ char(&) |
+ value[N] |
+
+
+ |
+ ) |
+ | |
+
+
+ |
+
+inlinestatic |
+
+
+
+
+
Try to get the fixed string array key/value pair.
+
+
Definition at line 153 of file deserializer.inl.
+
+
+
+
+
◆ Find() [4/9]
+
+
+
+
+template<typename JSON >
+
+
+
+
+
+ bool CppSerialization::JSON::Deserializer::Find |
+ ( |
+ const JSON & |
+ json, |
+
+
+ |
+ |
+ const char * |
+ key, |
+
+
+ |
+ |
+ double & |
+ value |
+
+
+ |
+ ) |
+ | |
+
+
+ |
+
+inlinestatic |
+
+
+
+
+
Try to get the double key/value pair.
+
+
Definition at line 98 of file deserializer.inl.
+
+
+
+
+
◆ Find() [5/9]
+
+
+
+
+template<typename JSON >
+
+
+
+
+
+ bool CppSerialization::JSON::Deserializer::Find |
+ ( |
+ const JSON & |
+ json, |
+
+
+ |
+ |
+ const char * |
+ key, |
+
+
+ |
+ |
+ int & |
+ value |
+
+
+ |
+ ) |
+ | |
+
+
+ |
+
+inlinestatic |
+
+
+
+
+
Try to get the integer key/value pair.
+
+
Definition at line 30 of file deserializer.inl.
+
+
+
+
+
◆ Find() [6/9]
+
+
+
+
+template<typename JSON >
+
+
+
+
+
+ bool CppSerialization::JSON::Deserializer::Find |
+ ( |
+ const JSON & |
+ json, |
+
+
+ |
+ |
+ const char * |
+ key, |
+
+
+ |
+ |
+ int64_t & |
+ value |
+
+
+ |
+ ) |
+ | |
+
+
+ |
+
+inlinestatic |
+
+
+
+
+
Try to get the 64-bit integer key/value pair.
+
+
Definition at line 64 of file deserializer.inl.
+
+
+
+
+
◆ Find() [7/9]
+
+
+
+
+template<typename JSON >
+
+
+
+
+
+ bool CppSerialization::JSON::Deserializer::Find |
+ ( |
+ const JSON & |
+ json, |
+
+
+ |
+ |
+ const char * |
+ key, |
+
+
+ |
+ |
+ std::string & |
+ value |
+
+
+ |
+ ) |
+ | |
+
+
+ |
+
+inlinestatic |
+
+
+
+
+
Try to get the string key/value pair.
+
+
Definition at line 136 of file deserializer.inl.
+
+
+
+
+
◆ Find() [8/9]
+
+
+
+
+template<typename JSON >
+
+
+
+
+
+ bool CppSerialization::JSON::Deserializer::Find |
+ ( |
+ const JSON & |
+ json, |
+
+
+ |
+ |
+ const char * |
+ key, |
+
+
+ |
+ |
+ uint64_t & |
+ value |
+
+
+ |
+ ) |
+ | |
+
+
+ |
+
+inlinestatic |
+
+
+
+
+
Try to get the 64-bit unsigned key/value pair.
+
+
Definition at line 81 of file deserializer.inl.
+
+
+
+
+
◆ Find() [9/9]
+
+
+
+
+template<typename JSON >
+
+
+
+
+
+ bool CppSerialization::JSON::Deserializer::Find |
+ ( |
+ const JSON & |
+ json, |
+
+
+ |
+ |
+ const char * |
+ key, |
+
+
+ |
+ |
+ unsigned & |
+ value |
+
+
+ |
+ ) |
+ | |
+
+
+ |
+
+inlinestatic |
+
+
+
+
+
Try to get the unsigned key/value pair.
+
+
Definition at line 47 of file deserializer.inl.
+
+
+
+
+
◆ FindArray() [1/2]
+
+
+
+
+template<typename JSON >
+
+
+
+
+
+ bool CppSerialization::JSON::Deserializer::FindArray |
+ ( |
+ const JSON & |
+ json, |
+
+
+ |
+ |
+ const char * |
+ key, |
+
+
+ |
+ |
+ const std::function< void(const Value &)> & |
+ handler |
+
+
+ |
+ ) |
+ | |
+
+
+ |
+
+inlinestatic |
+
+
+
+
+
Try to get the array key/value pair.
+
+
Definition at line 174 of file deserializer.inl.
+
+
+
+
+
◆ FindArray() [2/2]
+
+
+
+
+template<typename JSON >
+
+
+
+
+
+ bool CppSerialization::JSON::Deserializer::FindArray |
+ ( |
+ const JSON & |
+ json, |
+
+
+ |
+ |
+ const char * |
+ key, |
+
+
+ |
+ |
+ const std::function< void(size_t)> & |
+ initialize, |
+
+
+ |
+ |
+ const std::function< void(const Value &)> & |
+ handler |
+
+
+ |
+ ) |
+ | |
+
+
+ |
+
+inlinestatic |
+
+
+
+
+
Try to get the array key/value pair with array initialize handler.
+
+
Definition at line 181 of file deserializer.inl.
+
+
+
+
+
◆ FindObject()
+
+
+
+
+template<typename JSON >
+
+
+
+
+
+ bool CppSerialization::JSON::Deserializer::FindObject |
+ ( |
+ const JSON & |
+ json, |
+
+
+ |
+ |
+ const char * |
+ key, |
+
+
+ |
+ |
+ const std::function< void(const Value::ConstObject &)> & |
+ handler |
+
+
+ |
+ ) |
+ | |
+
+
+ |
+
+inlinestatic |
+
+
+
+
+
Try to get the object key/value pair.
+
+
Definition at line 205 of file deserializer.inl.
+
+
+
+
+
◆ operator=() [1/2]
+
+
+
+
◆ operator=() [2/2]
+
+
+
The documentation for this class was generated from the following files:
+
+
+
+
+
diff --git a/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_parser-members.html b/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_parser-members.html
new file mode 100644
index 0000000..6dd157d
--- /dev/null
+++ b/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_parser-members.html
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+CppSerialization: Member List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
This is the complete list of members for CppSerialization::JSON::Parser, including all inherited members.
+
+
+
+
+
diff --git a/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_parser.html b/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_parser.html
new file mode 100644
index 0000000..5dece95
--- /dev/null
+++ b/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_parser.html
@@ -0,0 +1,454 @@
+
+
+
+
+
+
+
+CppSerialization: CppSerialization::JSON::Parser Class Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
JSON parser.
+ More...
+
+
#include <parser.h>
+
+ |
+template<typename InputStream > |
+static Document | ParseStream (InputStream &stream) |
+ | Parse the input stream. More...
|
+ |
+static Document | Parse (const char *source) |
+ | Parse the C-string. More...
|
+ |
+static Document | Parse (const char *source, size_t size) |
+ | Parse the C-string with a given size. More...
|
+ |
+static Document | Parse (const std::string &source) |
+ | Parse the string. More...
|
+ |
+static Document | ParseInPlace (char *source) |
+ | Parse the in-place C-string in mutable mode. More...
|
+ |
+
+
+
JSON parser.
+
JSON parser is used to parse JSON from the given source (stream, string) and create a corresponding DOM document.
+
+
Definition at line 22 of file parser.h.
+
+
+
◆ Parser() [1/3]
+
+
+
+
+
+
+
+
+ CppSerialization::JSON::Parser::Parser |
+ ( |
+ | ) |
+ |
+
+
+ |
+
+delete |
+
+
+
+
+
+
+
+
◆ Parser() [2/3]
+
+
+
+
+
+
+
+
+ CppSerialization::JSON::Parser::Parser |
+ ( |
+ const Parser & |
+ | ) |
+ |
+
+
+ |
+
+delete |
+
+
+
+
+
+
+
+
◆ Parser() [3/3]
+
+
+
+
+
+
+
+
+ CppSerialization::JSON::Parser::Parser |
+ ( |
+ Parser && |
+ | ) |
+ |
+
+
+ |
+
+delete |
+
+
+
+
+
+
+
+
◆ ~Parser()
+
+
+
+
+
+
+
+
+ CppSerialization::JSON::Parser::~Parser |
+ ( |
+ | ) |
+ |
+
+
+ |
+
+delete |
+
+
+
+
+
+
+
+
+
◆ operator=() [1/2]
+
+
+
+
+
+
+
+
+ Parser& CppSerialization::JSON::Parser::operator= |
+ ( |
+ const Parser & |
+ | ) |
+ |
+
+
+ |
+
+delete |
+
+
+
+
+
+
+
+
◆ operator=() [2/2]
+
+
+
+
+
+
+
+
+ Parser& CppSerialization::JSON::Parser::operator= |
+ ( |
+ Parser && |
+ | ) |
+ |
+
+
+ |
+
+delete |
+
+
+
+
+
+
+
+
◆ Parse() [1/3]
+
+
+
+
+
+
+
+
+ Document CppSerialization::JSON::Parser::Parse |
+ ( |
+ const char * |
+ source | ) |
+ |
+
+
+ |
+
+static |
+
+
+
+
+
Parse the C-string.
+
+
Definition at line 14 of file parser.cpp.
+
+
+
+
+
◆ Parse() [2/3]
+
+
+
+
+
+
+
+
+ Document CppSerialization::JSON::Parser::Parse |
+ ( |
+ const char * |
+ source, |
+
+
+ |
+ |
+ size_t |
+ size |
+
+
+ |
+ ) |
+ | |
+
+
+ |
+
+static |
+
+
+
+
+
Parse the C-string with a given size.
+
+
Definition at line 20 of file parser.cpp.
+
+
+
+
+
◆ Parse() [3/3]
+
+
+
+
+
+
+
+
+ Document CppSerialization::JSON::Parser::Parse |
+ ( |
+ const std::string & |
+ source | ) |
+ |
+
+
+ |
+
+static |
+
+
+
+
+
Parse the string.
+
+
Definition at line 26 of file parser.cpp.
+
+
+
+
+
◆ ParseInPlace()
+
+
+
+
+
+
+
+
+ Document CppSerialization::JSON::Parser::ParseInPlace |
+ ( |
+ char * |
+ source | ) |
+ |
+
+
+ |
+
+static |
+
+
+
+
+
Parse the in-place C-string in mutable mode.
+
+
Definition at line 32 of file parser.cpp.
+
+
+
+
+
◆ ParseStream()
+
+
+
+
+template<typename InputStream >
+
+
+
+
+
+ Document CppSerialization::JSON::Parser::ParseStream |
+ ( |
+ InputStream & |
+ stream | ) |
+ |
+
+
+ |
+
+inlinestatic |
+
+
+
+
+
Parse the input stream.
+
+
Definition at line 13 of file parser.inl.
+
+
+
+
The documentation for this class was generated from the following files:
+
+
+
+
+
diff --git a/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_serializer-members.html b/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_serializer-members.html
new file mode 100644
index 0000000..93931a7
--- /dev/null
+++ b/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_serializer-members.html
@@ -0,0 +1,122 @@
+
+
+
+
+
+
+
+CppSerialization: Member List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
This is the complete list of members for CppSerialization::JSON::Serializer< OutputStream >, including all inherited members.
+
+ EndArray() | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ EndObject() | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Key(const char *key) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Key(const char *key, size_t size) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Key(const std::string &key) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Key(const char(&key)[N]) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ operator=(const Serializer &)=delete | CppSerialization::JSON::Serializer< OutputStream > | |
+ operator=(Serializer &&)=default | CppSerialization::JSON::Serializer< OutputStream > | |
+ Pair(const char *key, std::nullptr_t value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Pair(const char *key, bool value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Pair(const char *key, int value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Pair(const char *key, unsigned value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Pair(const char *key, int64_t value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Pair(const char *key, uint64_t value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Pair(const char *key, double value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Pair(const char *key, const char *value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Pair(const char *key, const char *value, size_t size) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Pair(const char *key, const std::string &value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Pair(const char *key, const char(&value)[N]) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Serializer()=default | CppSerialization::JSON::Serializer< OutputStream > | |
+ Serializer(OutputStream &stream) | CppSerialization::JSON::Serializer< OutputStream > | inlineexplicit |
+ Serializer(const Serializer &)=delete | CppSerialization::JSON::Serializer< OutputStream > | |
+ Serializer(Serializer &&)=default | CppSerialization::JSON::Serializer< OutputStream > | |
+ StartArray() | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ StartObject() | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Value(std::nullptr_t value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Value(bool value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Value(int value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Value(unsigned value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Value(int64_t value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Value(uint64_t value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Value(double value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Value(const char *value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Value(const char *value, size_t size) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Value(const std::string &value) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ Value(const char(&value)[N]) | CppSerialization::JSON::Serializer< OutputStream > | inline |
+ ~Serializer()=default | CppSerialization::JSON::Serializer< OutputStream > | |
+
+
+
+
+
diff --git a/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_serializer.html b/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_serializer.html
new file mode 100644
index 0000000..3cff50f
--- /dev/null
+++ b/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_serializer.html
@@ -0,0 +1,1503 @@
+
+
+
+
+
+
+
+CppSerialization: CppSerialization::JSON::Serializer< OutputStream > Class Template Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
JSON serializer.
+ More...
+
+
#include <serializer.h>
+
+
+
+

+
+
+ |
+ | Serializer ()=default |
+ |
+ | Serializer (OutputStream &stream) |
+ |
+ | Serializer (const Serializer &)=delete |
+ |
+ | Serializer (Serializer &&)=default |
+ |
+ | ~Serializer ()=default |
+ |
+Serializer & | operator= (const Serializer &)=delete |
+ |
+Serializer & | operator= (Serializer &&)=default |
+ |
+void | StartObject () |
+ | Start new object. More...
|
+ |
+void | EndObject () |
+ | End the current object. More...
|
+ |
+void | StartArray () |
+ | Start new array. More...
|
+ |
+void | EndArray () |
+ | End the current array. More...
|
+ |
+void | Key (const char *key) |
+ | Put the C-string key. More...
|
+ |
+void | Key (const char *key, size_t size) |
+ | Put the C-string key with a given size. More...
|
+ |
+void | Key (const std::string &key) |
+ | Put the string key. More...
|
+ |
+template<std::size_t N> |
+void | Key (const char(&key)[N]) |
+ | Put the fixed string array key. More...
|
+ |
+void | Value (std::nullptr_t value) |
+ | Put the null value. More...
|
+ |
+void | Value (bool value) |
+ | Put the boolean value. More...
|
+ |
+void | Value (int value) |
+ | Put the integer value. More...
|
+ |
+void | Value (unsigned value) |
+ | Put the unsigned integer value. More...
|
+ |
+void | Value (int64_t value) |
+ | Put the 64-bit integer value. More...
|
+ |
+void | Value (uint64_t value) |
+ | Put the 64-bit unsigned integer value. More...
|
+ |
+void | Value (double value) |
+ | Put the double value. More...
|
+ |
+void | Value (const char *value) |
+ | Put the C-string value. More...
|
+ |
+void | Value (const char *value, size_t size) |
+ | Put the C-string value with a given size. More...
|
+ |
+void | Value (const std::string &value) |
+ | Put the string value. More...
|
+ |
+template<std::size_t N> |
+void | Value (const char(&value)[N]) |
+ | Put the fixed string array value. More...
|
+ |
+void | Pair (const char *key, std::nullptr_t value) |
+ | Put the null key/value pair. More...
|
+ |
+void | Pair (const char *key, bool value) |
+ | Put the boolean key/value pair. More...
|
+ |
+void | Pair (const char *key, int value) |
+ | Put the integer key/value pair. More...
|
+ |
+void | Pair (const char *key, unsigned value) |
+ | Put the unsigned integer key/value pair. More...
|
+ |
+void | Pair (const char *key, int64_t value) |
+ | Put the 64-bit integer key/value pair. More...
|
+ |
+void | Pair (const char *key, uint64_t value) |
+ | Put the 64-bit unsigned integer key/value pair. More...
|
+ |
+void | Pair (const char *key, double value) |
+ | Put the double key/value pair. More...
|
+ |
+void | Pair (const char *key, const char *value) |
+ | Put the C-string key/value pair. More...
|
+ |
+void | Pair (const char *key, const char *value, size_t size) |
+ | Put the C-string key/value pair with a given size. More...
|
+ |
+void | Pair (const char *key, const std::string &value) |
+ | Put the string key/value pair. More...
|
+ |
+template<std::size_t N> |
+void | Pair (const char *key, const char(&value)[N]) |
+ | Put the fixed string array key/value pair. More...
|
+ |
+
+
+
template<class OutputStream>
+class CppSerialization::JSON::Serializer< OutputStream >
+
+
JSON serializer.
+
JSON serializer is parametrized with an output stream and is used to serialize objects into JSON format.
+
+
Definition at line 23 of file serializer.h.
+
+
+
◆ Serializer() [1/4]
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
+
+
◆ Serializer() [2/4]
+
+
+
+
+template<class OutputStream >
+
+
+
+
+ |
+
+inlineexplicit |
+
+
+
+
+
+
◆ Serializer() [3/4]
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
+
+
◆ Serializer() [4/4]
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
+
+
◆ ~Serializer()
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
+
+
+
◆ EndArray()
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
◆ EndObject()
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
◆ Key() [1/4]
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
◆ Key() [2/4]
+
+
+
+
+template<class OutputStream >
+
+
+
+
Put the C-string key with a given size.
+
+
Definition at line 48 of file serializer.inl.
+
+
+
+
+
◆ Key() [3/4]
+
+
+
+
+template<class OutputStream >
+
+template<std::size_t N>
+
+
+
+
Put the fixed string array key.
+
+
Definition at line 63 of file serializer.inl.
+
+
+
+
+
◆ Key() [4/4]
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
◆ operator=() [1/2]
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
+
+
◆ operator=() [2/2]
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
+
+
◆ Pair() [1/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
Put the boolean key/value pair.
+
+
Definition at line 83 of file serializer.h.
+
+
+
+
+
◆ Pair() [2/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
Put the C-string key/value pair.
+
+
Definition at line 101 of file serializer.h.
+
+
+
+
+
◆ Pair() [3/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
Put the C-string key/value pair with a given size.
+
+
Definition at line 104 of file serializer.h.
+
+
+
+
+
◆ Pair() [4/11]
+
+
+
+
+template<class OutputStream >
+
+template<std::size_t N>
+
+
+
+
Put the fixed string array key/value pair.
+
+
Definition at line 111 of file serializer.h.
+
+
+
+
+
◆ Pair() [5/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
Put the string key/value pair.
+
+
Definition at line 107 of file serializer.h.
+
+
+
+
+
◆ Pair() [6/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
Put the double key/value pair.
+
+
Definition at line 98 of file serializer.h.
+
+
+
+
+
◆ Pair() [7/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
Put the integer key/value pair.
+
+
Definition at line 86 of file serializer.h.
+
+
+
+
+
◆ Pair() [8/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
Put the 64-bit integer key/value pair.
+
+
Definition at line 92 of file serializer.h.
+
+
+
+
+
◆ Pair() [9/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
Put the null key/value pair.
+
+
Definition at line 80 of file serializer.h.
+
+
+
+
+
◆ Pair() [10/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
Put the 64-bit unsigned integer key/value pair.
+
+
Definition at line 95 of file serializer.h.
+
+
+
+
+
◆ Pair() [11/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
Put the unsigned integer key/value pair.
+
+
Definition at line 89 of file serializer.h.
+
+
+
+
+
◆ StartArray()
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
◆ StartObject()
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
◆ Value() [1/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
◆ Value() [2/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
◆ Value() [3/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
Put the C-string value with a given size.
+
+
Definition at line 126 of file serializer.inl.
+
+
+
+
+
◆ Value() [4/11]
+
+
+
+
+template<class OutputStream >
+
+template<std::size_t N>
+
+
+
+
Put the fixed string array value.
+
+
Definition at line 141 of file serializer.inl.
+
+
+
+
+
◆ Value() [5/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
◆ Value() [6/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
◆ Value() [7/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
◆ Value() [8/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
Put the 64-bit integer value.
+
+
Definition at line 98 of file serializer.inl.
+
+
+
+
+
◆ Value() [9/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
+
◆ Value() [10/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
Put the 64-bit unsigned integer value.
+
+
Definition at line 105 of file serializer.inl.
+
+
+
+
+
◆ Value() [11/11]
+
+
+
+
+template<class OutputStream >
+
+
+
+
Put the unsigned integer value.
+
+
Definition at line 91 of file serializer.inl.
+
+
+
+
The documentation for this class was generated from the following files:
+
+
+
+
+
diff --git a/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_serializer.png b/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_serializer.png
new file mode 100644
index 0000000..4a89684
Binary files /dev/null and b/documents/html/class_cpp_serialization_1_1_j_s_o_n_1_1_serializer.png differ
diff --git a/documents/html/class_cpp_serialization_1_1_serialization_exception.html b/documents/html/class_cpp_serialization_1_1_serialization_exception.html
new file mode 100644
index 0000000..2d1d8f4
--- /dev/null
+++ b/documents/html/class_cpp_serialization_1_1_serialization_exception.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+
+
+CppSerialization: CppSerialization::SerializationException Class Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Serialization exception.
+ More...
+
+
#include <exceptions.h>
+
+
+
+

+
+
+
Serialization exception.
+
+
Definition at line 17 of file exceptions.h.
+
The documentation for this class was generated from the following file:
+
+
+
+
+
diff --git a/documents/html/class_cpp_serialization_1_1_serialization_exception.png b/documents/html/class_cpp_serialization_1_1_serialization_exception.png
new file mode 100644
index 0000000..43e5d52
Binary files /dev/null and b/documents/html/class_cpp_serialization_1_1_serialization_exception.png differ
diff --git a/documents/html/classes.html b/documents/html/classes.html
new file mode 100644
index 0000000..affffc7
--- /dev/null
+++ b/documents/html/classes.html
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+CppSerialization: Class Index
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/documents/html/closed.png b/documents/html/closed.png
new file mode 100644
index 0000000..98cc2c9
Binary files /dev/null and b/documents/html/closed.png differ
diff --git a/documents/html/deserializer_8h.html b/documents/html/deserializer_8h.html
new file mode 100644
index 0000000..fb57be1
--- /dev/null
+++ b/documents/html/deserializer_8h.html
@@ -0,0 +1,118 @@
+
+
+
+
+
+
+
+CppSerialization: include/serialization/json/deserializer.h File Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
JSON deserializer definition.
+More...
+
#include "json.h"
+
#include <algorithm>
+
#include <cassert>
+
#include <functional>
+
#include "deserializer.inl"
+
+
Go to the source code of this file.
+
+
+
JSON deserializer definition.
+
- Author
- Ivan Shynkarenka
+
- Date
- 27.02.2017
+
- Copyright
- MIT License
+
+
Definition in file deserializer.h.
+
+
+
+
+
diff --git a/documents/html/deserializer_8h_source.html b/documents/html/deserializer_8h_source.html
new file mode 100644
index 0000000..708f7e4
--- /dev/null
+++ b/documents/html/deserializer_8h_source.html
@@ -0,0 +1,151 @@
+
+
+
+
+
+
+
+CppSerialization: include/serialization/json/deserializer.h Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
9 #ifndef CPPSERIALIZATION_JSON_DESERIALIZER_H
+
10 #define CPPSERIALIZATION_JSON_DESERIALIZER_H
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
37 template<
typename JSON>
+
38 static bool Find(
const JSON& json,
const char* key,
bool& value);
+
40 template<
typename JSON>
+
41 static bool Find(
const JSON& json,
const char* key,
int& value);
+
43 template<
typename JSON>
+
44 static bool Find(
const JSON& json,
const char* key,
unsigned& value);
+
46 template<
typename JSON>
+
47 static bool Find(
const JSON& json,
const char* key, int64_t& value);
+
49 template<
typename JSON>
+
50 static bool Find(
const JSON& json,
const char* key, uint64_t& value);
+
52 template<
typename JSON>
+
53 static bool Find(
const JSON& json,
const char* key,
double& value);
+
55 template<
typename JSON>
+
56 static bool Find(
const JSON& json,
const char* key,
char* value,
size_t size);
+
58 template<
typename JSON>
+
59 static bool Find(
const JSON& json,
const char* key, std::string& value);
+
61 template <
typename JSON, std::
size_t N>
+
62 static bool Find(
const JSON& json,
const char* key,
char (&value)[N]);
+
+
65 template<
typename JSON>
+
66 static bool FindArray(
const JSON& json,
const char* key,
const std::function<
void(
const Value&)>& handler);
+
68 template<
typename JSON>
+
69 static bool FindArray(
const JSON& json,
const char* key,
const std::function<
void(
size_t)>& initialize,
const std::function<
void(
const Value&)>& handler);
+
+
72 template<
typename JSON>
+
73 static bool FindObject(
const JSON& json,
const char* key,
const std::function<
void(
const Value::ConstObject&)>& handler);
+
+
+
+
+
+
+
+
81 #endif // CPPSERIALIZATION_JSON_DESERIALIZER_H
+
+
+
+C++ Serialization project definitions.
+Deserializer & operator=(const Deserializer &)=delete
+static bool Find(const JSON &json, const char *key, bool &value)
Try to get the boolean key/value pair.
+JSON deserializer inline implementation.
+static bool FindArray(const JSON &json, const char *key, const std::function< void(const Value &)> &handler)
Try to get the array key/value pair.
+
+JSON C++ Library definition.
+static bool FindObject(const JSON &json, const char *key, const std::function< void(const Value::ConstObject &)> &handler)
Try to get the object key/value pair.
+
+
+
+
diff --git a/documents/html/deserializer_8inl.html b/documents/html/deserializer_8inl.html
new file mode 100644
index 0000000..89940a7
--- /dev/null
+++ b/documents/html/deserializer_8inl.html
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+CppSerialization: include/serialization/json/deserializer.inl File Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
JSON deserializer inline implementation.
+More...
+
+
Go to the source code of this file.
+
+
+
JSON deserializer inline implementation.
+
- Author
- Ivan Shynkarenka
+
- Date
- 27.02.2017
+
- Copyright
- MIT License
+
+
Definition in file deserializer.inl.
+
+
+
+
+
diff --git a/documents/html/deserializer_8inl_source.html b/documents/html/deserializer_8inl_source.html
new file mode 100644
index 0000000..bdcc07b
--- /dev/null
+++ b/documents/html/deserializer_8inl_source.html
@@ -0,0 +1,306 @@
+
+
+
+
+
+
+
+CppSerialization: include/serialization/json/deserializer.inl Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
12 template<
typename JSON>
+
+
+
+
16 Value::ConstMemberIterator member = json.FindMember(key);
+
17 if ((member == json.MemberEnd()) || member->value.IsNull())
+
+
+
+
21 if (!member->value.IsBool())
+
+
+
+
25 value = member->value.GetBool();
+
+
+
+
29 template<
typename JSON>
+
+
+
+
33 Value::ConstMemberIterator member = json.FindMember(key);
+
34 if ((member == json.MemberEnd()) || member->value.IsNull())
+
+
+
+
38 if (!member->value.IsInt())
+
+
+
+
42 value = member->value.GetInt();
+
+
+
+
46 template<
typename JSON>
+
+
+
+
50 Value::ConstMemberIterator member = json.FindMember(key);
+
51 if ((member == json.MemberEnd()) || member->value.IsNull())
+
+
+
+
55 if (!member->value.IsUint())
+
+
+
+
59 value = member->value.GetUint();
+
+
+
+
63 template<
typename JSON>
+
+
+
+
67 Value::ConstMemberIterator member = json.FindMember(key);
+
68 if ((member == json.MemberEnd()) || member->value.IsNull())
+
+
+
+
72 if (!member->value.IsInt64())
+
+
+
+
76 value = member->value.GetInt64();
+
+
+
+
80 template<
typename JSON>
+
+
+
+
84 Value::ConstMemberIterator member = json.FindMember(key);
+
85 if ((member == json.MemberEnd()) || member->value.IsNull())
+
+
+
+
89 if (!member->value.IsUint64())
+
+
+
+
93 value = member->value.GetUint64();
+
+
+
+
97 template<
typename JSON>
+
+
+
+
101 Value::ConstMemberIterator member = json.FindMember(key);
+
102 if ((member == json.MemberEnd()) || member->value.IsNull())
+
+
+
+
106 if (!member->value.IsDouble())
+
+
+
+
110 value = member->value.GetDouble();
+
+
+
+
114 template<
typename JSON>
+
+
+
+
118 Value::ConstMemberIterator member = json.FindMember(key);
+
119 if ((member == json.MemberEnd()) || member->value.IsNull())
+
+
+
+
123 if (!member->value.IsString())
+
+
+
+
127 size_t length = std::min((
size_t)member->value.GetStringLength(), size);
+
128 std::memcpy(value, member->value.GetString(), length);
+
+
+
131 value[length] =
'\0';
+
+
+
+
135 template<
typename JSON>
+
+
+
+
139 Value::ConstMemberIterator member = json.FindMember(key);
+
140 if ((member == json.MemberEnd()) || member->value.IsNull())
+
+
+
+
144 if (!member->value.IsString())
+
+
+
+
148 value.assign(member->value.GetString(), (
size_t)member->value.GetStringLength());
+
+
+
+
152 template <
typename JSON, std::
size_t N>
+
+
+
+
156 Value::ConstMemberIterator member = json.FindMember(key);
+
157 if ((member == json.MemberEnd()) || member->value.IsNull())
+
+
+
+
161 if (!member->value.IsString())
+
+
+
+
165 size_t length = std::min((
size_t)member->value.GetStringLength(), N);
+
166 std::memcpy(value, member->value.GetString(), length);
+
+
+
169 value[length] =
'\0';
+
+
+
+
173 template<
typename JSON>
+
+
+
176 return FindArray(json, key, [](
size_t){}, handler);
+
+
+
+
180 template<
typename JSON>
+
181 inline bool Deserializer::FindArray(
const JSON& json,
const char* key,
const std::function<
void(
size_t)>& initialize,
const std::function<
void(
const Value&)>& handler)
+
+
183 assert((initialize) &&
"JSON initialize array handler must be valid!");
+
184 assert((handler) &&
"JSON array handler must be valid!");
+
185 if (!initialize || !handler)
+
+
+
+
189 Value::ConstMemberIterator member = json.FindMember(key);
+
190 if ((member == json.MemberEnd()) || member->value.IsNull())
+
+
+
+
194 if (!member->value.IsArray())
+
+
+
+
198 initialize(member->value.GetArray().Size());
+
199 for (
const auto& item : member->value.GetArray())
+
+
+
+
+
204 template<
typename JSON>
+
205 inline bool Deserializer::FindObject(
const JSON& json,
const char* key,
const std::function<
void(
const Value::ConstObject&)>& handler)
+
+
207 assert((handler) &&
"JSON array handler must be valid!");
+
+
+
+
+
212 Value::ConstMemberIterator member = json.FindMember(key);
+
213 if ((member == json.MemberEnd()) || member->value.IsNull())
+
+
+
+
217 if (!member->value.IsObject())
+
+
+
+
221 handler(member->value.GetObj());
+
+
+
+
+
+
+C++ Serialization project definitions.
+static bool Find(const JSON &json, const char *key, bool &value)
Try to get the boolean key/value pair.
+static bool FindArray(const JSON &json, const char *key, const std::function< void(const Value &)> &handler)
Try to get the array key/value pair.
+
+static bool FindObject(const JSON &json, const char *key, const std::function< void(const Value::ConstObject &)> &handler)
Try to get the object key/value pair.
+
+
+
+
diff --git a/documents/html/dir_0fe6c2563d536d7456f8aedf69d75e1b.html b/documents/html/dir_0fe6c2563d536d7456f8aedf69d75e1b.html
new file mode 100644
index 0000000..d87903c
--- /dev/null
+++ b/documents/html/dir_0fe6c2563d536d7456f8aedf69d75e1b.html
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+CppSerialization: source/serialization/json Directory Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/documents/html/dir_8ca93b2b940c9a551f45ac13d52034a8.html b/documents/html/dir_8ca93b2b940c9a551f45ac13d52034a8.html
new file mode 100644
index 0000000..f854fdb
--- /dev/null
+++ b/documents/html/dir_8ca93b2b940c9a551f45ac13d52034a8.html
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+
+CppSerialization: include/serialization/json Directory Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/documents/html/dir_b2f33c71d4aa5e7af42a1ca61ff5af1b.html b/documents/html/dir_b2f33c71d4aa5e7af42a1ca61ff5af1b.html
new file mode 100644
index 0000000..ce1bea3
--- /dev/null
+++ b/documents/html/dir_b2f33c71d4aa5e7af42a1ca61ff5af1b.html
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+CppSerialization: source Directory Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/documents/html/dir_bfc45e77520112b140cffab3214f7fed.html b/documents/html/dir_bfc45e77520112b140cffab3214f7fed.html
new file mode 100644
index 0000000..cde6dd7
--- /dev/null
+++ b/documents/html/dir_bfc45e77520112b140cffab3214f7fed.html
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+CppSerialization: include/serialization Directory Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/documents/html/dir_bff6d02009f7d25aef9b819d24c7d771.html b/documents/html/dir_bff6d02009f7d25aef9b819d24c7d771.html
new file mode 100644
index 0000000..d138efd
--- /dev/null
+++ b/documents/html/dir_bff6d02009f7d25aef9b819d24c7d771.html
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+CppSerialization: source/serialization Directory Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/documents/html/dir_d44c64559bbebec7f509842c48db8b23.html b/documents/html/dir_d44c64559bbebec7f509842c48db8b23.html
new file mode 100644
index 0000000..0440c88
--- /dev/null
+++ b/documents/html/dir_d44c64559bbebec7f509842c48db8b23.html
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+CppSerialization: include Directory Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/documents/html/doc.png b/documents/html/doc.png
new file mode 100644
index 0000000..17edabf
Binary files /dev/null and b/documents/html/doc.png differ
diff --git a/documents/html/doxygen.css b/documents/html/doxygen.css
new file mode 100644
index 0000000..73ecbb2
--- /dev/null
+++ b/documents/html/doxygen.css
@@ -0,0 +1,1771 @@
+/* The standard CSS for doxygen 1.8.17 */
+
+body, table, div, p, dl {
+ font: 400 14px/22px Roboto,sans-serif;
+}
+
+p.reference, p.definition {
+ font: 400 14px/22px Roboto,sans-serif;
+}
+
+/* @group Heading Levels */
+
+h1.groupheader {
+ font-size: 150%;
+}
+
+.title {
+ font: 400 14px/28px Roboto,sans-serif;
+ font-size: 150%;
+ font-weight: bold;
+ margin: 10px 2px;
+}
+
+h2.groupheader {
+ border-bottom: 1px solid #879ECB;
+ color: #354C7B;
+ font-size: 150%;
+ font-weight: normal;
+ margin-top: 1.75em;
+ padding-top: 8px;
+ padding-bottom: 4px;
+ width: 100%;
+}
+
+h3.groupheader {
+ font-size: 100%;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ -webkit-transition: text-shadow 0.5s linear;
+ -moz-transition: text-shadow 0.5s linear;
+ -ms-transition: text-shadow 0.5s linear;
+ -o-transition: text-shadow 0.5s linear;
+ transition: text-shadow 0.5s linear;
+ margin-right: 15px;
+}
+
+h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow {
+ text-shadow: 0 0 15px cyan;
+}
+
+dt {
+ font-weight: bold;
+}
+
+ul.multicol {
+ -moz-column-gap: 1em;
+ -webkit-column-gap: 1em;
+ column-gap: 1em;
+ -moz-column-count: 3;
+ -webkit-column-count: 3;
+ column-count: 3;
+}
+
+p.startli, p.startdd {
+ margin-top: 2px;
+}
+
+th p.starttd, p.intertd, p.endtd {
+ font-size: 100%;
+ font-weight: 700;
+}
+
+p.starttd {
+ margin-top: 0px;
+}
+
+p.endli {
+ margin-bottom: 0px;
+}
+
+p.enddd {
+ margin-bottom: 4px;
+}
+
+p.endtd {
+ margin-bottom: 2px;
+}
+
+p.interli {
+}
+
+p.interdd {
+}
+
+p.intertd {
+}
+
+/* @end */
+
+caption {
+ font-weight: bold;
+}
+
+span.legend {
+ font-size: 70%;
+ text-align: center;
+}
+
+h3.version {
+ font-size: 90%;
+ text-align: center;
+}
+
+div.qindex, div.navtab{
+ background-color: #EBEFF6;
+ border: 1px solid #A3B4D7;
+ text-align: center;
+}
+
+div.qindex, div.navpath {
+ width: 100%;
+ line-height: 140%;
+}
+
+div.navtab {
+ margin-right: 15px;
+}
+
+/* @group Link Styling */
+
+a {
+ color: #3D578C;
+ font-weight: normal;
+ text-decoration: none;
+}
+
+.contents a:visited {
+ color: #4665A2;
+}
+
+a:hover {
+ text-decoration: underline;
+}
+
+a.qindex {
+ font-weight: bold;
+}
+
+a.qindexHL {
+ font-weight: bold;
+ background-color: #9CAFD4;
+ color: #FFFFFF;
+ border: 1px double #869DCA;
+}
+
+.contents a.qindexHL:visited {
+ color: #FFFFFF;
+}
+
+a.el {
+ font-weight: bold;
+}
+
+a.elRef {
+}
+
+a.code, a.code:visited, a.line, a.line:visited {
+ color: #4665A2;
+}
+
+a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited {
+ color: #4665A2;
+}
+
+/* @end */
+
+dl.el {
+ margin-left: -1cm;
+}
+
+ul {
+ overflow: hidden; /*Fixed: list item bullets overlap floating elements*/
+}
+
+#side-nav ul {
+ overflow: visible; /* reset ul rule for scroll bar in GENERATE_TREEVIEW window */
+}
+
+#main-nav ul {
+ overflow: visible; /* reset ul rule for the navigation bar drop down lists */
+}
+
+.fragment {
+ text-align: left;
+ direction: ltr;
+ overflow-x: auto; /*Fixed: fragment lines overlap floating elements*/
+ overflow-y: hidden;
+}
+
+pre.fragment {
+ border: 1px solid #C4CFE5;
+ background-color: #FBFCFD;
+ padding: 4px 6px;
+ margin: 4px 8px 4px 2px;
+ overflow: auto;
+ word-wrap: break-word;
+ font-size: 9pt;
+ line-height: 125%;
+ font-family: monospace, fixed;
+ font-size: 105%;
+}
+
+div.fragment {
+ padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/
+ margin: 4px 8px 4px 2px;
+ background-color: #FBFCFD;
+ border: 1px solid #C4CFE5;
+}
+
+div.line {
+ font-family: monospace, fixed;
+ font-size: 13px;
+ min-height: 13px;
+ line-height: 1.0;
+ text-wrap: unrestricted;
+ white-space: -moz-pre-wrap; /* Moz */
+ white-space: -pre-wrap; /* Opera 4-6 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ white-space: pre-wrap; /* CSS3 */
+ word-wrap: break-word; /* IE 5.5+ */
+ text-indent: -53px;
+ padding-left: 53px;
+ padding-bottom: 0px;
+ margin: 0px;
+ -webkit-transition-property: background-color, box-shadow;
+ -webkit-transition-duration: 0.5s;
+ -moz-transition-property: background-color, box-shadow;
+ -moz-transition-duration: 0.5s;
+ -ms-transition-property: background-color, box-shadow;
+ -ms-transition-duration: 0.5s;
+ -o-transition-property: background-color, box-shadow;
+ -o-transition-duration: 0.5s;
+ transition-property: background-color, box-shadow;
+ transition-duration: 0.5s;
+}
+
+div.line:after {
+ content:"\000A";
+ white-space: pre;
+}
+
+div.line.glow {
+ background-color: cyan;
+ box-shadow: 0 0 10px cyan;
+}
+
+
+span.lineno {
+ padding-right: 4px;
+ text-align: right;
+ border-right: 2px solid #0F0;
+ background-color: #E8E8E8;
+ white-space: pre;
+}
+span.lineno a {
+ background-color: #D8D8D8;
+}
+
+span.lineno a:hover {
+ background-color: #C8C8C8;
+}
+
+.lineno {
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+
+div.ah, span.ah {
+ background-color: black;
+ font-weight: bold;
+ color: #FFFFFF;
+ margin-bottom: 3px;
+ margin-top: 3px;
+ padding: 0.2em;
+ border: solid thin #333;
+ border-radius: 0.5em;
+ -webkit-border-radius: .5em;
+ -moz-border-radius: .5em;
+ box-shadow: 2px 2px 3px #999;
+ -webkit-box-shadow: 2px 2px 3px #999;
+ -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444));
+ background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%);
+}
+
+div.classindex ul {
+ list-style: none;
+ padding-left: 0;
+}
+
+div.classindex span.ai {
+ display: inline-block;
+}
+
+div.groupHeader {
+ margin-left: 16px;
+ margin-top: 12px;
+ font-weight: bold;
+}
+
+div.groupText {
+ margin-left: 16px;
+ font-style: italic;
+}
+
+body {
+ background-color: white;
+ color: black;
+ margin: 0;
+}
+
+div.contents {
+ margin-top: 10px;
+ margin-left: 12px;
+ margin-right: 8px;
+}
+
+td.indexkey {
+ background-color: #EBEFF6;
+ font-weight: bold;
+ border: 1px solid #C4CFE5;
+ margin: 2px 0px 2px 0;
+ padding: 2px 10px;
+ white-space: nowrap;
+ vertical-align: top;
+}
+
+td.indexvalue {
+ background-color: #EBEFF6;
+ border: 1px solid #C4CFE5;
+ padding: 2px 10px;
+ margin: 2px 0px;
+}
+
+tr.memlist {
+ background-color: #EEF1F7;
+}
+
+p.formulaDsp {
+ text-align: center;
+}
+
+img.formulaDsp {
+
+}
+
+img.formulaInl, img.inline {
+ vertical-align: middle;
+}
+
+div.center {
+ text-align: center;
+ margin-top: 0px;
+ margin-bottom: 0px;
+ padding: 0px;
+}
+
+div.center img {
+ border: 0px;
+}
+
+address.footer {
+ text-align: right;
+ padding-right: 12px;
+}
+
+img.footer {
+ border: 0px;
+ vertical-align: middle;
+}
+
+/* @group Code Colorization */
+
+span.keyword {
+ color: #008000
+}
+
+span.keywordtype {
+ color: #604020
+}
+
+span.keywordflow {
+ color: #e08000
+}
+
+span.comment {
+ color: #800000
+}
+
+span.preprocessor {
+ color: #806020
+}
+
+span.stringliteral {
+ color: #002080
+}
+
+span.charliteral {
+ color: #008080
+}
+
+span.vhdldigit {
+ color: #ff00ff
+}
+
+span.vhdlchar {
+ color: #000000
+}
+
+span.vhdlkeyword {
+ color: #700070
+}
+
+span.vhdllogic {
+ color: #ff0000
+}
+
+blockquote {
+ background-color: #F7F8FB;
+ border-left: 2px solid #9CAFD4;
+ margin: 0 24px 0 4px;
+ padding: 0 12px 0 16px;
+}
+
+blockquote.DocNodeRTL {
+ border-left: 0;
+ border-right: 2px solid #9CAFD4;
+ margin: 0 4px 0 24px;
+ padding: 0 16px 0 12px;
+}
+
+/* @end */
+
+/*
+.search {
+ color: #003399;
+ font-weight: bold;
+}
+
+form.search {
+ margin-bottom: 0px;
+ margin-top: 0px;
+}
+
+input.search {
+ font-size: 75%;
+ color: #000080;
+ font-weight: normal;
+ background-color: #e8eef2;
+}
+*/
+
+td.tiny {
+ font-size: 75%;
+}
+
+.dirtab {
+ padding: 4px;
+ border-collapse: collapse;
+ border: 1px solid #A3B4D7;
+}
+
+th.dirtab {
+ background: #EBEFF6;
+ font-weight: bold;
+}
+
+hr {
+ height: 0px;
+ border: none;
+ border-top: 1px solid #4A6AAA;
+}
+
+hr.footer {
+ height: 1px;
+}
+
+/* @group Member Descriptions */
+
+table.memberdecls {
+ border-spacing: 0px;
+ padding: 0px;
+}
+
+.memberdecls td, .fieldtable tr {
+ -webkit-transition-property: background-color, box-shadow;
+ -webkit-transition-duration: 0.5s;
+ -moz-transition-property: background-color, box-shadow;
+ -moz-transition-duration: 0.5s;
+ -ms-transition-property: background-color, box-shadow;
+ -ms-transition-duration: 0.5s;
+ -o-transition-property: background-color, box-shadow;
+ -o-transition-duration: 0.5s;
+ transition-property: background-color, box-shadow;
+ transition-duration: 0.5s;
+}
+
+.memberdecls td.glow, .fieldtable tr.glow {
+ background-color: cyan;
+ box-shadow: 0 0 15px cyan;
+}
+
+.mdescLeft, .mdescRight,
+.memItemLeft, .memItemRight,
+.memTemplItemLeft, .memTemplItemRight, .memTemplParams {
+ background-color: #F9FAFC;
+ border: none;
+ margin: 4px;
+ padding: 1px 0 0 8px;
+}
+
+.mdescLeft, .mdescRight {
+ padding: 0px 8px 4px 8px;
+ color: #555;
+}
+
+.memSeparator {
+ border-bottom: 1px solid #DEE4F0;
+ line-height: 1px;
+ margin: 0px;
+ padding: 0px;
+}
+
+.memItemLeft, .memTemplItemLeft {
+ white-space: nowrap;
+}
+
+.memItemRight, .memTemplItemRight {
+ width: 100%;
+}
+
+.memTemplParams {
+ color: #4665A2;
+ white-space: nowrap;
+ font-size: 80%;
+}
+
+/* @end */
+
+/* @group Member Details */
+
+/* Styles for detailed member documentation */
+
+.memtitle {
+ padding: 8px;
+ border-top: 1px solid #A8B8D9;
+ border-left: 1px solid #A8B8D9;
+ border-right: 1px solid #A8B8D9;
+ border-top-right-radius: 4px;
+ border-top-left-radius: 4px;
+ margin-bottom: -1px;
+ background-image: url('nav_f.png');
+ background-repeat: repeat-x;
+ background-color: #E2E8F2;
+ line-height: 1.25;
+ font-weight: 300;
+ float:left;
+}
+
+.permalink
+{
+ font-size: 65%;
+ display: inline-block;
+ vertical-align: middle;
+}
+
+.memtemplate {
+ font-size: 80%;
+ color: #4665A2;
+ font-weight: normal;
+ margin-left: 9px;
+}
+
+.memnav {
+ background-color: #EBEFF6;
+ border: 1px solid #A3B4D7;
+ text-align: center;
+ margin: 2px;
+ margin-right: 15px;
+ padding: 2px;
+}
+
+.mempage {
+ width: 100%;
+}
+
+.memitem {
+ padding: 0;
+ margin-bottom: 10px;
+ margin-right: 5px;
+ -webkit-transition: box-shadow 0.5s linear;
+ -moz-transition: box-shadow 0.5s linear;
+ -ms-transition: box-shadow 0.5s linear;
+ -o-transition: box-shadow 0.5s linear;
+ transition: box-shadow 0.5s linear;
+ display: table !important;
+ width: 100%;
+}
+
+.memitem.glow {
+ box-shadow: 0 0 15px cyan;
+}
+
+.memname {
+ font-weight: 400;
+ margin-left: 6px;
+}
+
+.memname td {
+ vertical-align: bottom;
+}
+
+.memproto, dl.reflist dt {
+ border-top: 1px solid #A8B8D9;
+ border-left: 1px solid #A8B8D9;
+ border-right: 1px solid #A8B8D9;
+ padding: 6px 0px 6px 0px;
+ color: #253555;
+ font-weight: bold;
+ text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9);
+ background-color: #DFE5F1;
+ /* opera specific markup */
+ box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
+ border-top-right-radius: 4px;
+ /* firefox specific markup */
+ -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px;
+ -moz-border-radius-topright: 4px;
+ /* webkit specific markup */
+ -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
+ -webkit-border-top-right-radius: 4px;
+
+}
+
+.overload {
+ font-family: "courier new",courier,monospace;
+ font-size: 65%;
+}
+
+.memdoc, dl.reflist dd {
+ border-bottom: 1px solid #A8B8D9;
+ border-left: 1px solid #A8B8D9;
+ border-right: 1px solid #A8B8D9;
+ padding: 6px 10px 2px 10px;
+ background-color: #FBFCFD;
+ border-top-width: 0;
+ background-image:url('nav_g.png');
+ background-repeat:repeat-x;
+ background-color: #FFFFFF;
+ /* opera specific markup */
+ border-bottom-left-radius: 4px;
+ border-bottom-right-radius: 4px;
+ box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
+ /* firefox specific markup */
+ -moz-border-radius-bottomleft: 4px;
+ -moz-border-radius-bottomright: 4px;
+ -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px;
+ /* webkit specific markup */
+ -webkit-border-bottom-left-radius: 4px;
+ -webkit-border-bottom-right-radius: 4px;
+ -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
+}
+
+dl.reflist dt {
+ padding: 5px;
+}
+
+dl.reflist dd {
+ margin: 0px 0px 10px 0px;
+ padding: 5px;
+}
+
+.paramkey {
+ text-align: right;
+}
+
+.paramtype {
+ white-space: nowrap;
+}
+
+.paramname {
+ color: #602020;
+ white-space: nowrap;
+}
+.paramname em {
+ font-style: normal;
+}
+.paramname code {
+ line-height: 14px;
+}
+
+.params, .retval, .exception, .tparams {
+ margin-left: 0px;
+ padding-left: 0px;
+}
+
+.params .paramname, .retval .paramname, .tparams .paramname, .exception .paramname {
+ font-weight: bold;
+ vertical-align: top;
+}
+
+.params .paramtype, .tparams .paramtype {
+ font-style: italic;
+ vertical-align: top;
+}
+
+.params .paramdir, .tparams .paramdir {
+ font-family: "courier new",courier,monospace;
+ vertical-align: top;
+}
+
+table.mlabels {
+ border-spacing: 0px;
+}
+
+td.mlabels-left {
+ width: 100%;
+ padding: 0px;
+}
+
+td.mlabels-right {
+ vertical-align: bottom;
+ padding: 0px;
+ white-space: nowrap;
+}
+
+span.mlabels {
+ margin-left: 8px;
+}
+
+span.mlabel {
+ background-color: #728DC1;
+ border-top:1px solid #5373B4;
+ border-left:1px solid #5373B4;
+ border-right:1px solid #C4CFE5;
+ border-bottom:1px solid #C4CFE5;
+ text-shadow: none;
+ color: white;
+ margin-right: 4px;
+ padding: 2px 3px;
+ border-radius: 3px;
+ font-size: 7pt;
+ white-space: nowrap;
+ vertical-align: middle;
+}
+
+
+
+/* @end */
+
+/* these are for tree view inside a (index) page */
+
+div.directory {
+ margin: 10px 0px;
+ border-top: 1px solid #9CAFD4;
+ border-bottom: 1px solid #9CAFD4;
+ width: 100%;
+}
+
+.directory table {
+ border-collapse:collapse;
+}
+
+.directory td {
+ margin: 0px;
+ padding: 0px;
+ vertical-align: top;
+}
+
+.directory td.entry {
+ white-space: nowrap;
+ padding-right: 6px;
+ padding-top: 3px;
+}
+
+.directory td.entry a {
+ outline:none;
+}
+
+.directory td.entry a img {
+ border: none;
+}
+
+.directory td.desc {
+ width: 100%;
+ padding-left: 6px;
+ padding-right: 6px;
+ padding-top: 3px;
+ border-left: 1px solid rgba(0,0,0,0.05);
+}
+
+.directory tr.even {
+ padding-left: 6px;
+ background-color: #F7F8FB;
+}
+
+.directory img {
+ vertical-align: -30%;
+}
+
+.directory .levels {
+ white-space: nowrap;
+ width: 100%;
+ text-align: right;
+ font-size: 9pt;
+}
+
+.directory .levels span {
+ cursor: pointer;
+ padding-left: 2px;
+ padding-right: 2px;
+ color: #3D578C;
+}
+
+.arrow {
+ color: #9CAFD4;
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ cursor: pointer;
+ font-size: 80%;
+ display: inline-block;
+ width: 16px;
+ height: 22px;
+}
+
+.icon {
+ font-family: Arial, Helvetica;
+ font-weight: bold;
+ font-size: 12px;
+ height: 14px;
+ width: 16px;
+ display: inline-block;
+ background-color: #728DC1;
+ color: white;
+ text-align: center;
+ border-radius: 4px;
+ margin-left: 2px;
+ margin-right: 2px;
+}
+
+.icona {
+ width: 24px;
+ height: 22px;
+ display: inline-block;
+}
+
+.iconfopen {
+ width: 24px;
+ height: 18px;
+ margin-bottom: 4px;
+ background-image:url('folderopen.png');
+ background-position: 0px -4px;
+ background-repeat: repeat-y;
+ vertical-align:top;
+ display: inline-block;
+}
+
+.iconfclosed {
+ width: 24px;
+ height: 18px;
+ margin-bottom: 4px;
+ background-image:url('folderclosed.png');
+ background-position: 0px -4px;
+ background-repeat: repeat-y;
+ vertical-align:top;
+ display: inline-block;
+}
+
+.icondoc {
+ width: 24px;
+ height: 18px;
+ margin-bottom: 4px;
+ background-image:url('doc.png');
+ background-position: 0px -4px;
+ background-repeat: repeat-y;
+ vertical-align:top;
+ display: inline-block;
+}
+
+table.directory {
+ font: 400 14px Roboto,sans-serif;
+}
+
+/* @end */
+
+div.dynheader {
+ margin-top: 8px;
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+
+address {
+ font-style: normal;
+ color: #2A3D61;
+}
+
+table.doxtable caption {
+ caption-side: top;
+}
+
+table.doxtable {
+ border-collapse:collapse;
+ margin-top: 4px;
+ margin-bottom: 4px;
+}
+
+table.doxtable td, table.doxtable th {
+ border: 1px solid #2D4068;
+ padding: 3px 7px 2px;
+}
+
+table.doxtable th {
+ background-color: #374F7F;
+ color: #FFFFFF;
+ font-size: 110%;
+ padding-bottom: 4px;
+ padding-top: 5px;
+}
+
+table.fieldtable {
+ /*width: 100%;*/
+ margin-bottom: 10px;
+ border: 1px solid #A8B8D9;
+ border-spacing: 0px;
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+ border-radius: 4px;
+ -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px;
+ -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15);
+ box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15);
+}
+
+.fieldtable td, .fieldtable th {
+ padding: 3px 7px 2px;
+}
+
+.fieldtable td.fieldtype, .fieldtable td.fieldname {
+ white-space: nowrap;
+ border-right: 1px solid #A8B8D9;
+ border-bottom: 1px solid #A8B8D9;
+ vertical-align: top;
+}
+
+.fieldtable td.fieldname {
+ padding-top: 3px;
+}
+
+.fieldtable td.fielddoc {
+ border-bottom: 1px solid #A8B8D9;
+ /*width: 100%;*/
+}
+
+.fieldtable td.fielddoc p:first-child {
+ margin-top: 0px;
+}
+
+.fieldtable td.fielddoc p:last-child {
+ margin-bottom: 2px;
+}
+
+.fieldtable tr:last-child td {
+ border-bottom: none;
+}
+
+.fieldtable th {
+ background-image:url('nav_f.png');
+ background-repeat:repeat-x;
+ background-color: #E2E8F2;
+ font-size: 90%;
+ color: #253555;
+ padding-bottom: 4px;
+ padding-top: 5px;
+ text-align:left;
+ font-weight: 400;
+ -moz-border-radius-topleft: 4px;
+ -moz-border-radius-topright: 4px;
+ -webkit-border-top-left-radius: 4px;
+ -webkit-border-top-right-radius: 4px;
+ border-top-left-radius: 4px;
+ border-top-right-radius: 4px;
+ border-bottom: 1px solid #A8B8D9;
+}
+
+
+.tabsearch {
+ top: 0px;
+ left: 10px;
+ height: 36px;
+ background-image: url('tab_b.png');
+ z-index: 101;
+ overflow: hidden;
+ font-size: 13px;
+}
+
+.navpath ul
+{
+ font-size: 11px;
+ background-image:url('tab_b.png');
+ background-repeat:repeat-x;
+ background-position: 0 -5px;
+ height:30px;
+ line-height:30px;
+ color:#8AA0CC;
+ border:solid 1px #C2CDE4;
+ overflow:hidden;
+ margin:0px;
+ padding:0px;
+}
+
+.navpath li
+{
+ list-style-type:none;
+ float:left;
+ padding-left:10px;
+ padding-right:15px;
+ background-image:url('bc_s.png');
+ background-repeat:no-repeat;
+ background-position:right;
+ color:#364D7C;
+}
+
+.navpath li.navelem a
+{
+ height:32px;
+ display:block;
+ text-decoration: none;
+ outline: none;
+ color: #283A5D;
+ font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
+ text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9);
+ text-decoration: none;
+}
+
+.navpath li.navelem a:hover
+{
+ color:#6884BD;
+}
+
+.navpath li.footer
+{
+ list-style-type:none;
+ float:right;
+ padding-left:10px;
+ padding-right:15px;
+ background-image:none;
+ background-repeat:no-repeat;
+ background-position:right;
+ color:#364D7C;
+ font-size: 8pt;
+}
+
+
+div.summary
+{
+ float: right;
+ font-size: 8pt;
+ padding-right: 5px;
+ width: 50%;
+ text-align: right;
+}
+
+div.summary a
+{
+ white-space: nowrap;
+}
+
+table.classindex
+{
+ margin: 10px;
+ white-space: nowrap;
+ margin-left: 3%;
+ margin-right: 3%;
+ width: 94%;
+ border: 0;
+ border-spacing: 0;
+ padding: 0;
+}
+
+div.ingroups
+{
+ font-size: 8pt;
+ width: 50%;
+ text-align: left;
+}
+
+div.ingroups a
+{
+ white-space: nowrap;
+}
+
+div.header
+{
+ background-image:url('nav_h.png');
+ background-repeat:repeat-x;
+ background-color: #F9FAFC;
+ margin: 0px;
+ border-bottom: 1px solid #C4CFE5;
+}
+
+div.headertitle
+{
+ padding: 5px 5px 5px 10px;
+}
+
+.PageDocRTL-title div.headertitle {
+ text-align: right;
+ direction: rtl;
+}
+
+dl {
+ padding: 0 0 0 0;
+}
+
+/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug, dl.examples */
+dl.section {
+ margin-left: 0px;
+ padding-left: 0px;
+}
+
+dl.section.DocNodeRTL {
+ margin-right: 0px;
+ padding-right: 0px;
+}
+
+dl.note {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #D0C000;
+}
+
+dl.note.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #D0C000;
+}
+
+dl.warning, dl.attention {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #FF0000;
+}
+
+dl.warning.DocNodeRTL, dl.attention.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #FF0000;
+}
+
+dl.pre, dl.post, dl.invariant {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #00D000;
+}
+
+dl.pre.DocNodeRTL, dl.post.DocNodeRTL, dl.invariant.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #00D000;
+}
+
+dl.deprecated {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #505050;
+}
+
+dl.deprecated.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #505050;
+}
+
+dl.todo {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #00C0E0;
+}
+
+dl.todo.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #00C0E0;
+}
+
+dl.test {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #3030E0;
+}
+
+dl.test.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #3030E0;
+}
+
+dl.bug {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #C08050;
+}
+
+dl.bug.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #C08050;
+}
+
+dl.section dd {
+ margin-bottom: 6px;
+}
+
+
+#projectlogo
+{
+ text-align: center;
+ vertical-align: bottom;
+ border-collapse: separate;
+}
+
+#projectlogo img
+{
+ border: 0px none;
+}
+
+#projectalign
+{
+ vertical-align: middle;
+}
+
+#projectname
+{
+ font: 300% Tahoma, Arial,sans-serif;
+ margin: 0px;
+ padding: 2px 0px;
+}
+
+#projectbrief
+{
+ font: 120% Tahoma, Arial,sans-serif;
+ margin: 0px;
+ padding: 0px;
+}
+
+#projectnumber
+{
+ font: 50% Tahoma, Arial,sans-serif;
+ margin: 0px;
+ padding: 0px;
+}
+
+#titlearea
+{
+ padding: 0px;
+ margin: 0px;
+ width: 100%;
+ border-bottom: 1px solid #5373B4;
+}
+
+.image
+{
+ text-align: center;
+}
+
+.dotgraph
+{
+ text-align: center;
+}
+
+.mscgraph
+{
+ text-align: center;
+}
+
+.plantumlgraph
+{
+ text-align: center;
+}
+
+.diagraph
+{
+ text-align: center;
+}
+
+.caption
+{
+ font-weight: bold;
+}
+
+div.zoom
+{
+ border: 1px solid #90A5CE;
+}
+
+dl.citelist {
+ margin-bottom:50px;
+}
+
+dl.citelist dt {
+ color:#334975;
+ float:left;
+ font-weight:bold;
+ margin-right:10px;
+ padding:5px;
+}
+
+dl.citelist dd {
+ margin:2px 0;
+ padding:5px 0;
+}
+
+div.toc {
+ padding: 14px 25px;
+ background-color: #F4F6FA;
+ border: 1px solid #D8DFEE;
+ border-radius: 7px 7px 7px 7px;
+ float: right;
+ height: auto;
+ margin: 0 8px 10px 10px;
+ width: 200px;
+}
+
+.PageDocRTL-title div.toc {
+ float: left !important;
+ text-align: right;
+}
+
+div.toc li {
+ background: url("bdwn.png") no-repeat scroll 0 5px transparent;
+ font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif;
+ margin-top: 5px;
+ padding-left: 10px;
+ padding-top: 2px;
+}
+
+.PageDocRTL-title div.toc li {
+ background-position-x: right !important;
+ padding-left: 0 !important;
+ padding-right: 10px;
+}
+
+div.toc h3 {
+ font: bold 12px/1.2 Arial,FreeSans,sans-serif;
+ color: #4665A2;
+ border-bottom: 0 none;
+ margin: 0;
+}
+
+div.toc ul {
+ list-style: none outside none;
+ border: medium none;
+ padding: 0px;
+}
+
+div.toc li.level1 {
+ margin-left: 0px;
+}
+
+div.toc li.level2 {
+ margin-left: 15px;
+}
+
+div.toc li.level3 {
+ margin-left: 30px;
+}
+
+div.toc li.level4 {
+ margin-left: 45px;
+}
+
+.PageDocRTL-title div.toc li.level1 {
+ margin-left: 0 !important;
+ margin-right: 0;
+}
+
+.PageDocRTL-title div.toc li.level2 {
+ margin-left: 0 !important;
+ margin-right: 15px;
+}
+
+.PageDocRTL-title div.toc li.level3 {
+ margin-left: 0 !important;
+ margin-right: 30px;
+}
+
+.PageDocRTL-title div.toc li.level4 {
+ margin-left: 0 !important;
+ margin-right: 45px;
+}
+
+.inherit_header {
+ font-weight: bold;
+ color: gray;
+ cursor: pointer;
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+
+.inherit_header td {
+ padding: 6px 0px 2px 5px;
+}
+
+.inherit {
+ display: none;
+}
+
+tr.heading h2 {
+ margin-top: 12px;
+ margin-bottom: 4px;
+}
+
+/* tooltip related style info */
+
+.ttc {
+ position: absolute;
+ display: none;
+}
+
+#powerTip {
+ cursor: default;
+ white-space: nowrap;
+ background-color: white;
+ border: 1px solid gray;
+ border-radius: 4px 4px 4px 4px;
+ box-shadow: 1px 1px 7px gray;
+ display: none;
+ font-size: smaller;
+ max-width: 80%;
+ opacity: 0.9;
+ padding: 1ex 1em 1em;
+ position: absolute;
+ z-index: 2147483647;
+}
+
+#powerTip div.ttdoc {
+ color: grey;
+ font-style: italic;
+}
+
+#powerTip div.ttname a {
+ font-weight: bold;
+}
+
+#powerTip div.ttname {
+ font-weight: bold;
+}
+
+#powerTip div.ttdeci {
+ color: #006318;
+}
+
+#powerTip div {
+ margin: 0px;
+ padding: 0px;
+ font: 12px/16px Roboto,sans-serif;
+}
+
+#powerTip:before, #powerTip:after {
+ content: "";
+ position: absolute;
+ margin: 0px;
+}
+
+#powerTip.n:after, #powerTip.n:before,
+#powerTip.s:after, #powerTip.s:before,
+#powerTip.w:after, #powerTip.w:before,
+#powerTip.e:after, #powerTip.e:before,
+#powerTip.ne:after, #powerTip.ne:before,
+#powerTip.se:after, #powerTip.se:before,
+#powerTip.nw:after, #powerTip.nw:before,
+#powerTip.sw:after, #powerTip.sw:before {
+ border: solid transparent;
+ content: " ";
+ height: 0;
+ width: 0;
+ position: absolute;
+}
+
+#powerTip.n:after, #powerTip.s:after,
+#powerTip.w:after, #powerTip.e:after,
+#powerTip.nw:after, #powerTip.ne:after,
+#powerTip.sw:after, #powerTip.se:after {
+ border-color: rgba(255, 255, 255, 0);
+}
+
+#powerTip.n:before, #powerTip.s:before,
+#powerTip.w:before, #powerTip.e:before,
+#powerTip.nw:before, #powerTip.ne:before,
+#powerTip.sw:before, #powerTip.se:before {
+ border-color: rgba(128, 128, 128, 0);
+}
+
+#powerTip.n:after, #powerTip.n:before,
+#powerTip.ne:after, #powerTip.ne:before,
+#powerTip.nw:after, #powerTip.nw:before {
+ top: 100%;
+}
+
+#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after {
+ border-top-color: #FFFFFF;
+ border-width: 10px;
+ margin: 0px -10px;
+}
+#powerTip.n:before {
+ border-top-color: #808080;
+ border-width: 11px;
+ margin: 0px -11px;
+}
+#powerTip.n:after, #powerTip.n:before {
+ left: 50%;
+}
+
+#powerTip.nw:after, #powerTip.nw:before {
+ right: 14px;
+}
+
+#powerTip.ne:after, #powerTip.ne:before {
+ left: 14px;
+}
+
+#powerTip.s:after, #powerTip.s:before,
+#powerTip.se:after, #powerTip.se:before,
+#powerTip.sw:after, #powerTip.sw:before {
+ bottom: 100%;
+}
+
+#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after {
+ border-bottom-color: #FFFFFF;
+ border-width: 10px;
+ margin: 0px -10px;
+}
+
+#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before {
+ border-bottom-color: #808080;
+ border-width: 11px;
+ margin: 0px -11px;
+}
+
+#powerTip.s:after, #powerTip.s:before {
+ left: 50%;
+}
+
+#powerTip.sw:after, #powerTip.sw:before {
+ right: 14px;
+}
+
+#powerTip.se:after, #powerTip.se:before {
+ left: 14px;
+}
+
+#powerTip.e:after, #powerTip.e:before {
+ left: 100%;
+}
+#powerTip.e:after {
+ border-left-color: #FFFFFF;
+ border-width: 10px;
+ top: 50%;
+ margin-top: -10px;
+}
+#powerTip.e:before {
+ border-left-color: #808080;
+ border-width: 11px;
+ top: 50%;
+ margin-top: -11px;
+}
+
+#powerTip.w:after, #powerTip.w:before {
+ right: 100%;
+}
+#powerTip.w:after {
+ border-right-color: #FFFFFF;
+ border-width: 10px;
+ top: 50%;
+ margin-top: -10px;
+}
+#powerTip.w:before {
+ border-right-color: #808080;
+ border-width: 11px;
+ top: 50%;
+ margin-top: -11px;
+}
+
+@media print
+{
+ #top { display: none; }
+ #side-nav { display: none; }
+ #nav-path { display: none; }
+ body { overflow:visible; }
+ h1, h2, h3, h4, h5, h6 { page-break-after: avoid; }
+ .summary { display: none; }
+ .memitem { page-break-inside: avoid; }
+ #doc-content
+ {
+ margin-left:0 !important;
+ height:auto !important;
+ width:auto !important;
+ overflow:inherit;
+ display:inline;
+ }
+}
+
+/* @group Markdown */
+
+/*
+table.markdownTable {
+ border-collapse:collapse;
+ margin-top: 4px;
+ margin-bottom: 4px;
+}
+
+table.markdownTable td, table.markdownTable th {
+ border: 1px solid #2D4068;
+ padding: 3px 7px 2px;
+}
+
+table.markdownTableHead tr {
+}
+
+table.markdownTableBodyLeft td, table.markdownTable th {
+ border: 1px solid #2D4068;
+ padding: 3px 7px 2px;
+}
+
+th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone {
+ background-color: #374F7F;
+ color: #FFFFFF;
+ font-size: 110%;
+ padding-bottom: 4px;
+ padding-top: 5px;
+}
+
+th.markdownTableHeadLeft {
+ text-align: left
+}
+
+th.markdownTableHeadRight {
+ text-align: right
+}
+
+th.markdownTableHeadCenter {
+ text-align: center
+}
+*/
+
+table.markdownTable {
+ border-collapse:collapse;
+ margin-top: 4px;
+ margin-bottom: 4px;
+}
+
+table.markdownTable td, table.markdownTable th {
+ border: 1px solid #2D4068;
+ padding: 3px 7px 2px;
+}
+
+table.markdownTable tr {
+}
+
+th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone {
+ background-color: #374F7F;
+ color: #FFFFFF;
+ font-size: 110%;
+ padding-bottom: 4px;
+ padding-top: 5px;
+}
+
+th.markdownTableHeadLeft, td.markdownTableBodyLeft {
+ text-align: left
+}
+
+th.markdownTableHeadRight, td.markdownTableBodyRight {
+ text-align: right
+}
+
+th.markdownTableHeadCenter, td.markdownTableBodyCenter {
+ text-align: center
+}
+
+.DocNodeRTL {
+ text-align: right;
+ direction: rtl;
+}
+
+.DocNodeLTR {
+ text-align: left;
+ direction: ltr;
+}
+
+table.DocNodeRTL {
+ width: auto;
+ margin-right: 0;
+ margin-left: auto;
+}
+
+table.DocNodeLTR {
+ width: auto;
+ margin-right: auto;
+ margin-left: 0;
+}
+
+tt, code, kbd, samp
+{
+ display: inline-block;
+ direction:ltr;
+}
+/* @end */
+
+u {
+ text-decoration: underline;
+}
+
diff --git a/documents/html/doxygen.png b/documents/html/doxygen.png
new file mode 100644
index 0000000..3ff17d8
Binary files /dev/null and b/documents/html/doxygen.png differ
diff --git a/documents/html/dynsections.js b/documents/html/dynsections.js
new file mode 100644
index 0000000..c8e84aa
--- /dev/null
+++ b/documents/html/dynsections.js
@@ -0,0 +1,127 @@
+/*
+ @licstart The following is the entire license notice for the
+ JavaScript code in this file.
+
+ Copyright (C) 1997-2017 by Dimitri van Heesch
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+ @licend The above is the entire license notice
+ for the JavaScript code in this file
+ */
+function toggleVisibility(linkObj)
+{
+ var base = $(linkObj).attr('id');
+ var summary = $('#'+base+'-summary');
+ var content = $('#'+base+'-content');
+ var trigger = $('#'+base+'-trigger');
+ var src=$(trigger).attr('src');
+ if (content.is(':visible')===true) {
+ content.hide();
+ summary.show();
+ $(linkObj).addClass('closed').removeClass('opened');
+ $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png');
+ } else {
+ content.show();
+ summary.hide();
+ $(linkObj).removeClass('closed').addClass('opened');
+ $(trigger).attr('src',src.substring(0,src.length-10)+'open.png');
+ }
+ return false;
+}
+
+function updateStripes()
+{
+ $('table.directory tr').
+ removeClass('even').filter(':visible:even').addClass('even');
+}
+
+function toggleLevel(level)
+{
+ $('table.directory tr').each(function() {
+ var l = this.id.split('_').length-1;
+ var i = $('#img'+this.id.substring(3));
+ var a = $('#arr'+this.id.substring(3));
+ if (l
+
+
+
+
+
+
+CppSerialization: include/serialization/exceptions.h File Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Serialization exceptions definition.
+More...
+
#include "errors/exceptions.h"
+
+
Go to the source code of this file.
+
+
+
Serialization exceptions definition.
+
- Author
- Ivan Shynkarenka
+
- Date
- 25.02.2017
+
- Copyright
- MIT License
+
+
Definition in file exceptions.h.
+
+
+
+
+
diff --git a/documents/html/exceptions_8h_source.html b/documents/html/exceptions_8h_source.html
new file mode 100644
index 0000000..0417485
--- /dev/null
+++ b/documents/html/exceptions_8h_source.html
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+CppSerialization: include/serialization/exceptions.h Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
9 #ifndef CPPSERIALIZATION_EXCEPTIONS_H
+
10 #define CPPSERIALIZATION_EXCEPTIONS_H
+
+
12 #include "errors/exceptions.h"
+
+
+
+
+
+
+
20 using Exception::Exception;
+
+
+
+
+
25 #endif // CPPSERIALIZATION_EXCEPTIONS_H
+
+C++ Serialization project definitions.
+
+
+
+
+
diff --git a/documents/html/files.html b/documents/html/files.html
new file mode 100644
index 0000000..42a3887
--- /dev/null
+++ b/documents/html/files.html
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+CppSerialization: File List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Here is a list of all files with brief descriptions:
+
+
+
+
+
diff --git a/documents/html/folderclosed.png b/documents/html/folderclosed.png
new file mode 100644
index 0000000..bb8ab35
Binary files /dev/null and b/documents/html/folderclosed.png differ
diff --git a/documents/html/folderopen.png b/documents/html/folderopen.png
new file mode 100644
index 0000000..d6c7f67
Binary files /dev/null and b/documents/html/folderopen.png differ
diff --git a/documents/html/functions.html b/documents/html/functions.html
new file mode 100644
index 0000000..ecf4c9c
--- /dev/null
+++ b/documents/html/functions.html
@@ -0,0 +1,172 @@
+
+
+
+
+
+
+
+CppSerialization: Class Members
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Here is a list of all class members with links to the classes they belong to:
+
+
- d -
+
+
+
- e -
+
+
+
- f -
+
+
+
- k -
+
+
+
- o -
+
+
+
- p -
+
+
+
- s -
+
+
+
- v -
+
+
+
- ~ -
+
+
+
+
+
diff --git a/documents/html/functions_func.html b/documents/html/functions_func.html
new file mode 100644
index 0000000..796f83c
--- /dev/null
+++ b/documents/html/functions_func.html
@@ -0,0 +1,172 @@
+
+
+
+
+
+
+
+CppSerialization: Class Members - Functions
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- d -
+
+
+
- e -
+
+
+
- f -
+
+
+
- k -
+
+
+
- o -
+
+
+
- p -
+
+
+
- s -
+
+
+
- v -
+
+
+
- ~ -
+
+
+
+
+
diff --git a/documents/html/globals.html b/documents/html/globals.html
new file mode 100644
index 0000000..34baf39
--- /dev/null
+++ b/documents/html/globals.html
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+CppSerialization: File Members
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Here is a list of all file members with links to the files they belong to:
+- RAPIDJSON_HAS_STDSTRING
+: json.h
+
+- RAPIDJSON_NAMESPACE
+: json.h
+
+- RAPIDJSON_NAMESPACE_BEGIN
+: json.h
+
+- RAPIDJSON_NAMESPACE_END
+: json.h
+
+
+
+
+
+
+
diff --git a/documents/html/globals_defs.html b/documents/html/globals_defs.html
new file mode 100644
index 0000000..660f6be
--- /dev/null
+++ b/documents/html/globals_defs.html
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+CppSerialization: File Members
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+- RAPIDJSON_HAS_STDSTRING
+: json.h
+
+- RAPIDJSON_NAMESPACE
+: json.h
+
+- RAPIDJSON_NAMESPACE_BEGIN
+: json.h
+
+- RAPIDJSON_NAMESPACE_END
+: json.h
+
+
+
+
+
+
+
diff --git a/documents/html/hierarchy.html b/documents/html/hierarchy.html
new file mode 100644
index 0000000..6ba641d
--- /dev/null
+++ b/documents/html/hierarchy.html
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+CppSerialization: Class Hierarchy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
This inheritance list is sorted roughly, but not completely, alphabetically:
+
+
+
+
+
diff --git a/documents/html/index.html b/documents/html/index.html
new file mode 100644
index 0000000..17697ac
--- /dev/null
+++ b/documents/html/index.html
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
+CppSerialization: C++ Serialization Library
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
C++ Serialization Library provides functionality to serialize/deserialize objects in/from different formats such as Flatbuffers, JSON.
+
This document contains CppSerialization API references.
+
Library description, features, requirements and usage examples can be find on GitHub: https://github.com/chronoxor/CppSerialization
+
+
+
+
+
+
diff --git a/documents/html/jquery.js b/documents/html/jquery.js
new file mode 100644
index 0000000..103c32d
--- /dev/null
+++ b/documents/html/jquery.js
@@ -0,0 +1,35 @@
+/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */
+!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CppSerialization
+ 1.0.2.0
+
+ C++ Serialization Library
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
JSON C++ Library definition.
+More...
+
#include "../exceptions.h"
+
#include <rapidjson/document.h>
+
#include <rapidjson/writer.h>
+
+
Go to the source code of this file.
+
+
+
JSON C++ Library definition.
+
- Author
- Ivan Shynkarenka
+
- Date
- 24.02.2017
+
- Copyright
- MIT License
+
+
Definition in file json.h.
+
+
+
◆ RAPIDJSON_HAS_STDSTRING
+
+
+
+
+
+ #define RAPIDJSON_HAS_STDSTRING 1 |
+
+
+
+
+
Definition at line 22 of file json.h.
+
+
+
+
+
◆ RAPIDJSON_NAMESPACE
+
+
+
+
+
+ #define RAPIDJSON_NAMESPACE CppSerialization::JSON |
+
+
+
+
+
Definition at line 24 of file json.h.
+
+
+
+
+
◆ RAPIDJSON_NAMESPACE_BEGIN
+
+
+
+
+
+ #define RAPIDJSON_NAMESPACE_BEGIN namespace CppSerialization { namespace JSON { |
+
+
+
+
+
Definition at line 25 of file json.h.
+
+
+
+
+
◆ RAPIDJSON_NAMESPACE_END
+
+
+
+
+
+ #define RAPIDJSON_NAMESPACE_END } } |
+
+
+
+
+
Definition at line 26 of file json.h.
+
+
+
+
+
+
+
+