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

SizeType GetLength () const
 
void SetLength (SizeType len)
 

Static Public Member Functions

static bool Usable (SizeType len)
 

Public Attributes

Ch str [MaxChars]
 

Detailed Description

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

Definition at line 2404 of file document.h.

Member Enumeration Documentation

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

Definition at line 2405 of file document.h.

Member Function Documentation

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

Definition at line 2416 of file document.h.

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

Definition at line 2413 of file document.h.

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

Definition at line 2412 of file document.h.

Member Data Documentation

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

Definition at line 2410 of file document.h.


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


livox_ros_driver
Author(s): Livox Dev Team
autogenerated on Mon Mar 15 2021 02:40:46