KiCad PCB EDA Suite
json11::JsonNull Class Referencefinal
Inheritance diagram for json11::JsonNull:
json11::Value< Json::NUL, NullStruct >

Public Member Functions

 JsonNull ()
 

Protected Member Functions

Json::Type type () const override
 
bool equals (const JsonValue *other) const override
 
bool less (const JsonValue *other) const override
 
void dump (string &out) const override
 

Protected Attributes

const NullStruct m_value
 

Detailed Description

Definition at line 304 of file json11.cpp.

Constructor & Destructor Documentation

json11::JsonNull::JsonNull ( )
inline

Definition at line 307 of file json11.cpp.

307 : Value( {} ) {}
Value(const NullStruct &value)
Definition: json11.cpp:209

Member Function Documentation

void json11::Value< tag, NullStruct >::dump ( string &  out) const
inlineoverrideprotectedinherited

Definition at line 230 of file json11.cpp.

230 { json11::dump( m_value, out ); }
static void dump(NullStruct, string &out)
Definition: json11.cpp:53
bool json11::Value< tag, NullStruct >::equals ( const JsonValue< Json::NUL, NullStruct > *  other) const
inlineoverrideprotectedinherited

Definition at line 219 of file json11.cpp.

220  {
221  return m_value == static_cast<const Value<tag, T>*>(other)->m_value;
222  }
bool json11::Value< tag, NullStruct >::less ( const JsonValue< Json::NUL, NullStruct > *  other) const
inlineoverrideprotectedinherited

Definition at line 224 of file json11.cpp.

225  {
226  return m_value < static_cast<const Value<tag, T>*>(other)->m_value;
227  }
Json::Type json11::Value< tag, NullStruct >::type ( ) const
inlineoverrideprotectedinherited

Definition at line 213 of file json11.cpp.

214  {
215  return tag;
216  }

Member Data Documentation

const NullStruct json11::Value< tag, NullStruct >::m_value
protectedinherited

Definition at line 229 of file json11.cpp.


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