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

Public Member Functions

 ParseEmptyObjectHandler ()
bool Default ()
bool StartObject ()
bool EndObject (SizeType)
Public Member Functions inherited from BaseReaderHandler< UTF8<>, ParseEmptyObjectHandler >
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_

Additional Inherited Members

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

Detailed Description

Definition at line 1157 of file readertest.cpp.

Constructor & Destructor Documentation

◆ ParseEmptyObjectHandler()

ParseEmptyObjectHandler::ParseEmptyObjectHandler ( )
inline

Definition at line 1158 of file readertest.cpp.

1158: step_(0) {}

Member Function Documentation

◆ Default()

bool ParseEmptyObjectHandler::Default ( )
inline

Definition at line 1160 of file readertest.cpp.

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

◆ EndObject()

bool ParseEmptyObjectHandler::EndObject ( SizeType )
inline

Definition at line 1162 of file readertest.cpp.

1162{ EXPECT_EQ(1u, step_); step_++; return true; }
#define EXPECT_EQ(val1, val2)
Definition gtest.h:1922

◆ StartObject()

bool ParseEmptyObjectHandler::StartObject ( )
inline

Definition at line 1161 of file readertest.cpp.

1161{ EXPECT_EQ(0u, step_); step_++; return true; }

Member Data Documentation

◆ step_

unsigned ParseEmptyObjectHandler::step_

Definition at line 1164 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