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

Public Member Functions

 ParseInt64Handler ()
 
bool Default ()
 
bool Int64 (int64_t i)
 
- Public Member Functions inherited from BaseReaderHandler< UTF8<>, ParseInt64Handler >
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_
 
int64_t actual_
 

Additional Inherited Members

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

Detailed Description

Definition at line 86 of file readertest.cpp.

Constructor & Destructor Documentation

◆ ParseInt64Handler()

ParseInt64Handler::ParseInt64Handler ( )
inline

Definition at line 87 of file readertest.cpp.

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

Member Function Documentation

◆ Default()

bool ParseInt64Handler::Default ( )
inline

Definition at line 88 of file readertest.cpp.

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

◆ Int64()

bool ParseInt64Handler::Int64 ( int64_t i)
inline

Definition at line 89 of file readertest.cpp.

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

Member Data Documentation

◆ actual_

int64_t ParseInt64Handler::actual_

Definition at line 92 of file readertest.cpp.

◆ step_

unsigned ParseInt64Handler::step_

Definition at line 91 of file readertest.cpp.


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