RetroArch
Public Types | Public Member Functions | Public Attributes | List of all members
MessageHandler Struct Reference
Inheritance diagram for MessageHandler:
[legend]
Collaboration diagram for MessageHandler:
[legend]

Public Types

enum  State { kExpectObjectStart, kExpectNameOrObjectEnd, kExpectValue }
 
- Public Types inherited from BaseReaderHandler< UTF8<>, MessageHandler >
typedef UTF8<> ::Ch Ch
 
typedef internal::SelectIf< internal::IsSame< MessageHandler, void >, BaseReaderHandler, MessageHandler >::Type Override
 

Public Member Functions

 MessageHandler ()
 
bool StartObject ()
 
bool String (const char *str, SizeType length, bool)
 
bool EndObject (SizeType)
 
bool Default ()
 
- Public Member Functions inherited from BaseReaderHandler< UTF8<>, MessageHandler >
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) More...
 
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

MessageMap messages_
 
enum MessageHandler::State state_
 
std::string name_
 

Member Enumeration Documentation

◆ State

Enumerator
kExpectObjectStart 
kExpectNameOrObjectEnd 
kExpectValue 

Constructor & Destructor Documentation

◆ MessageHandler()

MessageHandler::MessageHandler ( )
inline

Member Function Documentation

◆ Default()

bool MessageHandler::Default ( )
inline

◆ EndObject()

bool MessageHandler::EndObject ( SizeType  )
inline

◆ StartObject()

bool MessageHandler::StartObject ( )
inline

◆ String()

bool MessageHandler::String ( const char *  str,
SizeType  length,
bool   
)
inline

Member Data Documentation

◆ messages_

MessageMap MessageHandler::messages_

◆ name_

std::string MessageHandler::name_

◆ state_

enum MessageHandler::State MessageHandler::state_

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