NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
rapidjson::GenericValue< Encoding, Allocator >::ShortString Struct Reference

Search Toolkit Book for rapidjson::GenericValue::ShortString

#include <misc/jsonwrapp/rapidjson11/document.h>

Public Types

enum  { MaxChars = sizeof(static_cast<Flag*>(0)->payload) / sizeof(Ch) , MaxSize = MaxChars - 1 , LenPos = MaxSize }
 

Public Member Functions

void SetLength (SizeType len)
 
SizeType GetLength () const
 

Static Public Member Functions

static bool Usable (SizeType len)
 

Public Attributes

Ch str [MaxChars]
 

Detailed Description

template<typename Encoding, typename Allocator = MemoryPoolAllocator<>>
struct rapidjson::GenericValue< Encoding, Allocator >::ShortString

Definition at line 1944 of file document.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Encoding , typename Allocator = MemoryPoolAllocator<>>
anonymous enum
Enumerator
MaxChars 
MaxSize 
LenPos 

Definition at line 1945 of file document.h.

Member Function Documentation

◆ GetLength()

template<typename Encoding , typename Allocator = MemoryPoolAllocator<>>
SizeType rapidjson::GenericValue< Encoding, Allocator >::ShortString::GetLength ( void  ) const
inline

Definition at line 1950 of file document.h.

◆ SetLength()

template<typename Encoding , typename Allocator = MemoryPoolAllocator<>>
void rapidjson::GenericValue< Encoding, Allocator >::ShortString::SetLength ( SizeType  len)
inline

Definition at line 1949 of file document.h.

◆ Usable()

template<typename Encoding , typename Allocator = MemoryPoolAllocator<>>
static bool rapidjson::GenericValue< Encoding, Allocator >::ShortString::Usable ( SizeType  len)
inlinestatic

Definition at line 1948 of file document.h.

Member Data Documentation

◆ str

template<typename Encoding , typename Allocator = MemoryPoolAllocator<>>
Ch rapidjson::GenericValue< Encoding, Allocator >::ShortString::str[MaxChars]

Definition at line 1946 of file document.h.


The documentation for this struct was generated from the following file:
Modified on Wed May 29 18:35:44 2024 by modify_doxy.py rev. 669887