Monero
Loading...
Searching...
No Matches
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 = MemoryPoolAllocator<>>
anonymous enum
Enumerator
MaxChars 
MaxSize 
LenPos 

Member Function Documentation

◆ GetLength()

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

◆ SetLength()

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

◆ Usable()

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

Member Data Documentation

◆ str

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

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