HOG2
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
Json::NodeValue Class Reference
Collaboration diagram for Json::NodeValue:
Collaboration graph
[legend]

Classes

union  Values
 

Public Types

enum  {
  NIL =1, BOOL =2, INT =3, DOUBLE =4,
  STRING =5, NODE =6, VECTOR =7
}
 

Public Member Functions

 NodeValue ()
 
 NodeValue (bool)
 
 NodeValue (int)
 
 NodeValue (double)
 
 NodeValue (std::string)
 
 NodeValue (const char *)
 
 NodeValue (const NodeValue &)
 
 NodeValue (std::shared_ptr< Json::Node >)
 
 NodeValue (std::vector< std::unique_ptr< NodeValue >>)
 
 NodeValue (std::unique_ptr< std::vector< std::unique_ptr< NodeValue >>>)
 
 ~NodeValue ()
 

Public Attributes

enum Json::NodeValue:: { ... }  tag
 
union Json::NodeValue::Values value
 

Detailed Description

Definition at line 19 of file Json.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NIL 
BOOL 
INT 
DOUBLE 
STRING 
NODE 
VECTOR 

Definition at line 34 of file Json.h.

Constructor & Destructor Documentation

◆ NodeValue() [1/10]

Json::NodeValue::NodeValue ( )

Definition at line 9 of file Json.cpp.

◆ NodeValue() [2/10]

Json::NodeValue::NodeValue ( bool  boolVal)

Definition at line 15 of file Json.cpp.

◆ NodeValue() [3/10]

Json::NodeValue::NodeValue ( int  intVal)

Definition at line 19 of file Json.cpp.

◆ NodeValue() [4/10]

Json::NodeValue::NodeValue ( double  doubleVal)

Definition at line 23 of file Json.cpp.

◆ NodeValue() [5/10]

Json::NodeValue::NodeValue ( std::string  stringVal)

Definition at line 27 of file Json.cpp.

◆ NodeValue() [6/10]

Json::NodeValue::NodeValue ( const char *  stringVal)

Definition at line 31 of file Json.cpp.

◆ NodeValue() [7/10]

Json::NodeValue::NodeValue ( const NodeValue nodeVal)

◆ NodeValue() [8/10]

Json::NodeValue::NodeValue ( std::shared_ptr< Json::Node nodeVal)

Definition at line 35 of file Json.cpp.

◆ NodeValue() [9/10]

Json::NodeValue::NodeValue ( std::vector< std::unique_ptr< NodeValue >>  )

◆ NodeValue() [10/10]

Json::NodeValue::NodeValue ( std::unique_ptr< std::vector< std::unique_ptr< NodeValue >>>  )

◆ ~NodeValue()

Json::NodeValue::~NodeValue ( )

Definition at line 83 of file Json.cpp.

Member Data Documentation

◆ tag

enum { ... } Json::NodeValue::tag

◆ value

union Json::NodeValue::Values Json::NodeValue::value

Referenced by NodeValue(), and operator<<().


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