MCPcopy Create free account
hub / github.com/cinience/RedisStudio / GenericDocument

Method GenericDocument

include/rapidjson/document.h:1638–1643  ·  view source on GitHub ↗

Constructor ! \param allocator Optional allocator for allocating memory. \param stackCapacity Optional initial capacity of stack in bytes. \param stackAllocator Optional allocator for allocating memory for stack. */

Source from the content-addressed store, hash-verified

1636 \param stackAllocator Optional allocator for allocating memory for stack.
1637 */
1638 GenericDocument(Allocator* allocator = 0, size_t stackCapacity = kDefaultStackCapacity, StackAllocator* stackAllocator = 0) :
1639 allocator_(allocator), ownAllocator_(0), stack_(stackAllocator, stackCapacity), parseResult_()
1640 {
1641 if (!allocator_)
1642 ownAllocator_ = allocator_ = RAPIDJSON_NEW(Allocator());
1643 }
1644
1645#if RAPIDJSON_HAS_CXX11_RVALUE_REFS
1646 //! Move constructor in C++11

Callers

nothing calls this directly

Calls 1

ParseResultClass · 0.85

Tested by

no test coverage detected