Public Types | Public Member Functions | List of all members
BaseReaderHandler< Encoding, Derived > Struct Template Reference

Default implementation of Handler. More...

#include <fwd.h>

Public Types

typedef Encoding::Ch Ch
 
typedef internal::SelectIf< internal::IsSame< Derived, void >, BaseReaderHandler, Derived >::Type Override
 

Public Member Functions

bool Bool (bool)
 
bool Default ()
 
bool Double (double)
 
bool EndArray (SizeType)
 
bool EndObject (SizeType)
 
bool Int (int)
 
bool Int64 (int64_t)
 
bool Key (const Ch *str, SizeType len, bool copy)
 
bool Null ()
 
bool RawNumber (const Ch *str, SizeType len, bool copy)
 
bool StartArray ()
 
bool StartObject ()
 
bool String (const Ch *, SizeType, bool)
 
bool Uint (unsigned)
 
bool Uint64 (uint64_t)
 

Detailed Description

template<typename Encoding = UTF8<>, typename Derived = void>
struct BaseReaderHandler< Encoding, Derived >

Default implementation of Handler.

This can be used as base class of any reader handler.

Note
implements Handler concept

Definition at line 98 of file fwd.h.

Member Typedef Documentation

template<typename Encoding = UTF8<>, typename Derived = void>
typedef Encoding::Ch BaseReaderHandler< Encoding, Derived >::Ch

Definition at line 214 of file reader.h.

template<typename Encoding = UTF8<>, typename Derived = void>
typedef internal::SelectIf<internal::IsSame<Derived, void>, BaseReaderHandler, Derived>::Type BaseReaderHandler< Encoding, Derived >::Override

Definition at line 218 of file reader.h.

Member Function Documentation

template<typename Encoding = UTF8<>, typename Derived = void>
bool BaseReaderHandler< Encoding, Derived >::Bool ( bool  )
inline

Definition at line 222 of file reader.h.

template<typename Encoding = UTF8<>, typename Derived = void>
bool BaseReaderHandler< Encoding, Derived >::Default ( )
inline

Definition at line 220 of file reader.h.

template<typename Encoding = UTF8<>, typename Derived = void>
bool BaseReaderHandler< Encoding, Derived >::Double ( double  )
inline

Definition at line 227 of file reader.h.

template<typename Encoding = UTF8<>, typename Derived = void>
bool BaseReaderHandler< Encoding, Derived >::EndArray ( SizeType  )
inline

Definition at line 242 of file reader.h.

template<typename Encoding = UTF8<>, typename Derived = void>
bool BaseReaderHandler< Encoding, Derived >::EndObject ( SizeType  )
inline

Definition at line 240 of file reader.h.

template<typename Encoding = UTF8<>, typename Derived = void>
bool BaseReaderHandler< Encoding, Derived >::Int ( int  )
inline

Definition at line 223 of file reader.h.

template<typename Encoding = UTF8<>, typename Derived = void>
bool BaseReaderHandler< Encoding, Derived >::Int64 ( int64_t  )
inline

Definition at line 225 of file reader.h.

template<typename Encoding = UTF8<>, typename Derived = void>
bool BaseReaderHandler< Encoding, Derived >::Key ( const Ch str,
SizeType  len,
bool  copy 
)
inline

Definition at line 237 of file reader.h.

template<typename Encoding = UTF8<>, typename Derived = void>
bool BaseReaderHandler< Encoding, Derived >::Null ( )
inline

Definition at line 221 of file reader.h.

template<typename Encoding = UTF8<>, typename Derived = void>
bool BaseReaderHandler< Encoding, Derived >::RawNumber ( const Ch str,
SizeType  len,
bool  copy 
)
inline

enabled via kParseNumbersAsStringsFlag, string is not null-terminated (use length)

Definition at line 230 of file reader.h.

template<typename Encoding = UTF8<>, typename Derived = void>
bool BaseReaderHandler< Encoding, Derived >::StartArray ( )
inline

Definition at line 241 of file reader.h.

template<typename Encoding = UTF8<>, typename Derived = void>
bool BaseReaderHandler< Encoding, Derived >::StartObject ( )
inline

Definition at line 236 of file reader.h.

template<typename Encoding = UTF8<>, typename Derived = void>
bool BaseReaderHandler< Encoding, Derived >::String ( const Ch ,
SizeType  ,
bool   
)
inline

Definition at line 233 of file reader.h.

template<typename Encoding = UTF8<>, typename Derived = void>
bool BaseReaderHandler< Encoding, Derived >::Uint ( unsigned  )
inline

Definition at line 224 of file reader.h.

template<typename Encoding = UTF8<>, typename Derived = void>
bool BaseReaderHandler< Encoding, Derived >::Uint64 ( uint64_t  )
inline

Definition at line 226 of file reader.h.


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


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