Electroneum
Loading...
Searching...
No Matches
ParseUint64Handler Struct Reference
Inheritance diagram for ParseUint64Handler:
Collaboration diagram for ParseUint64Handler:

Public Member Functions

 ParseUint64Handler ()
bool Default ()
bool Uint64 (uint64_t i)
Public Member Functions inherited from BaseReaderHandler< UTF8<>, ParseUint64Handler >
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_
uint64_t actual_

Additional Inherited Members

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

Detailed Description

Definition at line 95 of file readertest.cpp.

Constructor & Destructor Documentation

◆ ParseUint64Handler()

ParseUint64Handler::ParseUint64Handler ( )
inline

Definition at line 96 of file readertest.cpp.

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

Member Function Documentation

◆ Default()

bool ParseUint64Handler::Default ( )
inline

Definition at line 97 of file readertest.cpp.

97{ ADD_FAILURE(); return false; }
#define ADD_FAILURE()
Definition gtest.h:1808

◆ Uint64()

bool ParseUint64Handler::Uint64 ( uint64_t i)
inline

Definition at line 98 of file readertest.cpp.

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

Member Data Documentation

◆ actual_

uint64_t ParseUint64Handler::actual_

Definition at line 101 of file readertest.cpp.

◆ step_

unsigned ParseUint64Handler::step_

Definition at line 100 of file readertest.cpp.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/test/unittest/readertest.cpp