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

Public Member Functions

bool String (const char *str, size_t length, bool)
Public Member Functions inherited from BaseReaderHandler< UTF8<>, ScanCopyUnescapedStringHandler >
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

char buffer [1024+5+32]

Additional Inherited Members

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

Detailed Description

Definition at line 102 of file simdtest.cpp.

Member Function Documentation

◆ String()

bool ScanCopyUnescapedStringHandler::String ( const char * str,
size_t length,
bool  )
inline

Definition at line 103 of file simdtest.cpp.

103 {
104 memcpy(buffer, str, length + 1);
105 return true;
106 }
void * memcpy(void *a, const void *b, size_t c)
Here is the call graph for this function:

Member Data Documentation

◆ buffer

char ScanCopyUnescapedStringHandler::buffer[1024+5+32]

Definition at line 107 of file simdtest.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/simdtest.cpp