smartmontools SVN Rev 5640
Utility to control and monitor storage systems with "S.M.A.R.T."
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
json::node Struct Reference
Collaboration diagram for json::node:
Collaboration graph
[legend]

Classes

class  const_iterator
 

Public Types

typedef std::map< std::string, unsigned > keymap
 

Public Member Functions

 node ()
 
 node (const node &)=delete
 
 node (const std::string &key_)
 
 ~node ()
 
void operator= (const node &)=delete
 

Public Attributes

node_type type = nt_unset
 
uint64_t intval = 0
 
uint64_t intval_hi = 0
 
std::string strval
 
std::string key
 
std::vector< std::unique_ptr< node > > childs
 
keymap key2index
 

Detailed Description

Definition at line 209 of file json.h.

Member Typedef Documentation

◆ keymap

typedef std::map<std::string, unsigned> json::node::keymap

Definition at line 224 of file json.h.

Constructor & Destructor Documentation

◆ node() [1/3]

json::node::node ( )

Definition at line 256 of file json.cpp.

◆ node() [2/3]

json::node::node ( const node )
delete

◆ node() [3/3]

json::node::node ( const std::string &  key_)
explicit

Definition at line 260 of file json.cpp.

◆ ~node()

json::node::~node ( )

Definition at line 265 of file json.cpp.

Member Function Documentation

◆ operator=()

void json::node::operator= ( const node )
delete

Member Data Documentation

◆ childs

std::vector< std::unique_ptr<node> > json::node::childs

Definition at line 223 of file json.h.

◆ intval

uint64_t json::node::intval = 0

Definition at line 219 of file json.h.

◆ intval_hi

uint64_t json::node::intval_hi = 0

Definition at line 219 of file json.h.

◆ key

std::string json::node::key

Definition at line 222 of file json.h.

◆ key2index

keymap json::node::key2index

Definition at line 225 of file json.h.

◆ strval

std::string json::node::strval

Definition at line 220 of file json.h.

◆ type

node_type json::node::type = nt_unset

Definition at line 217 of file json.h.


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