RetroArch
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
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
Here is the caller graph for this function:

◆ Usable()

template<typename Encoding, typename Allocator = MemoryPoolAllocator<>>
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 = MemoryPoolAllocator<>>
Ch GenericValue< Encoding, Allocator >::ShortString::str[MaxChars]

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