5 #ifndef JODA_ALLOCATOR_H
6 #define JODA_ALLOCATOR_H
8 #ifndef RAPIDJSON_ASSERT
9 #include <glog/logging.h>
10 #define RAPIDJSON_ASSERT(x) DCHECK(x)
13 #include <rapidjson/allocators.h>
14 #include <rapidjson/document.h>
15 #include <rapidjson/fwd.h>
16 #include <rapidjson/istreamwrapper.h>
17 #include <rapidjson/pointer.h>
24 typedef rapidjson::UTF8<char>
RJChar;
27 typedef rapidjson::GenericDocument<RJChar, RJMemoryPoolAlloc, RJBaseAlloc>
29 typedef rapidjson::GenericValue<RJChar, RJMemoryPoolAlloc>
RJValue;
30 typedef rapidjson::GenericPointer<RJValue, RJBaseAlloc>
RJPointer;
rapidjson::GenericDocument< RJChar, RJMemoryPoolAlloc, RJBaseAlloc > RJDocument
Definition: RJFwd.h:28
rapidjson::CrtAllocator RJBaseAlloc
Definition: RJFwd.h:25
rapidjson::UTF8< char > RJChar
Definition: RJFwd.h:24
rapidjson::MemoryPoolAllocator< RJBaseAlloc > RJMemoryPoolAlloc
Definition: RJFwd.h:26
rapidjson::GenericPointer< RJValue, RJBaseAlloc > RJPointer
Definition: RJFwd.h:30
rapidjson::GenericValue< RJChar, RJMemoryPoolAlloc > RJValue
Definition: RJFwd.h:29