Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
ParseUintHandler Struct Reference
Inheritance diagram for ParseUintHandler:
Collaboration diagram for ParseUintHandler:

Public Member Functions

 ParseUintHandler ()
 
bool Default ()
 
bool Uint (unsigned i)
 
- Public Member Functions inherited from BaseReaderHandler< UTF8<>, ParseUintHandler >
bool Default ()
 
bool Null ()
 
bool Bool (bool)
 
bool Int (int)
 
bool Uint (unsigned)
 
bool Int64 (int64_t)
 
bool Uint64 (uint64_t)
 
bool Double (double)
 
bool RawNumber (const Ch *str, SizeType len, bool copy)
 enabled via kParseNumbersAsStringsFlag, string is not null-terminated (use length)
 
bool String (const Ch *, SizeType, bool)
 
bool StartObject ()
 
bool Key (const Ch *str, SizeType len, bool copy)
 
bool EndObject (SizeType)
 
bool StartArray ()
 
bool EndArray (SizeType)
 

Public Attributes

unsigned step_
 
unsigned actual_
 

Additional Inherited Members

- Public Types inherited from BaseReaderHandler< UTF8<>, ParseUintHandler >
typedef UTF8<>::Ch Ch
 
typedef internal::SelectIf< internal::IsSame< ParseUintHandler, void >, BaseReaderHandler, ParseUintHandler >::Type Override
 

Detailed Description

Definition at line 77 of file readertest.cpp.

Constructor & Destructor Documentation

◆ ParseUintHandler()

ParseUintHandler::ParseUintHandler ( )
inline

Definition at line 78 of file readertest.cpp.

78: step_(0), actual_() {}

Member Function Documentation

◆ Default()

bool ParseUintHandler::Default ( )
inline

Definition at line 79 of file readertest.cpp.

79{ ADD_FAILURE(); return false; }
#define ADD_FAILURE()
Definition gtest.h:1844

◆ Uint()

bool ParseUintHandler::Uint ( unsigned i)
inline

Definition at line 80 of file readertest.cpp.

80{ actual_ = i; step_++; return true; }

Member Data Documentation

◆ actual_

unsigned ParseUintHandler::actual_

Definition at line 83 of file readertest.cpp.

◆ step_

unsigned ParseUintHandler::step_

Definition at line 82 of file readertest.cpp.


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