Elaztek Developer Hub
Blamite Game Engine - blam!  00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
GenericValue< Encoding, Allocator >::ShortString Struct Reference

#include <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]
 

Member Enumeration Documentation

◆ anonymous enum

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

Member Function Documentation

◆ GetLength()

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

◆ SetLength()

template<typename Encoding , typename Allocator = RAPIDJSON_DEFAULT_ALLOCATOR>
void GenericValue< Encoding, Allocator >::ShortString::SetLength ( SizeType  len)
inline
+ Here is the caller graph for this function:

◆ Usable()

template<typename Encoding , typename Allocator = RAPIDJSON_DEFAULT_ALLOCATOR>
static bool GenericValue< Encoding, Allocator >::ShortString::Usable ( SizeType  len)
inlinestatic
+ Here is the caller graph for this function:

Member Data Documentation

◆ str

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

The documentation for this struct was generated from the following file: