cesium-native  0.41.0
CesiumJsonWriter::JsonWriter Class Reference
Inheritance diagram for CesiumJsonWriter::JsonWriter:
CesiumJsonWriter::PrettyJsonWriter

Public Member Functions

virtual bool Null ()
 
virtual bool Bool (bool b)
 
virtual bool Int (int i)
 
virtual bool Uint (unsigned int i)
 
virtual bool Uint64 (std::uint64_t i)
 
virtual bool Int64 (std::int64_t i)
 
virtual bool Double (double d)
 
virtual bool RawNumber (const char *str, unsigned int length, bool copy)
 
virtual bool Key (std::string_view string)
 
virtual bool String (std::string_view string)
 
virtual bool StartObject ()
 
virtual bool EndObject ()
 
virtual bool StartArray ()
 
virtual bool EndArray ()
 
virtual void Primitive (std::int32_t value)
 
virtual void Primitive (std::uint32_t value)
 
virtual void Primitive (std::int64_t value)
 
virtual void Primitive (std::uint64_t value)
 
virtual void Primitive (float value)
 
virtual void Primitive (double value)
 
virtual void Primitive (std::nullptr_t value)
 
virtual void Primitive (std::string_view string)
 
virtual void KeyPrimitive (std::string_view keyName, std::int32_t value)
 
virtual void KeyPrimitive (std::string_view keyName, std::uint32_t value)
 
virtual void KeyPrimitive (std::string_view keyName, std::int64_t value)
 
virtual void KeyPrimitive (std::string_view keyName, std::uint64_t value)
 
virtual void KeyPrimitive (std::string_view keyName, std::string_view value)
 
virtual void KeyPrimitive (std::string_view keyName, float value)
 
virtual void KeyPrimitive (std::string_view keyName, double value)
 
virtual void KeyPrimitive (std::string_view keyName, std::nullptr_t value)
 
virtual void KeyArray (std::string_view keyName, std::function< void(void)> insideArray)
 
virtual void KeyObject (std::string_view keyName, std::function< void(void)> insideObject)
 
virtual std::string toString ()
 
virtual std::string_view toStringView ()
 
virtual std::vector< std::byte > toBytes ()
 
template<typename ErrorStr >
void emplaceError (ErrorStr &&error)
 
template<typename WarningStr >
void emplaceWarning (WarningStr &&warning)
 
const std::vector< std::string > & getErrors () const
 
const std::vector< std::string > & getWarnings () const
 

Detailed Description

Definition at line 15 of file JsonWriter.h.


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