smartmontools SVN Rev 5640
Utility to control and monitor storage systems with "S.M.A.R.T."
Public Member Functions | Public Attributes | List of all members
json::initlist_value Struct Reference

#include <json.h>

Collaboration diagram for json::initlist_value:
Collaboration graph
[legend]

Public Member Functions

 initlist_value (node_type t)
 
 initlist_value (bool v)
 
 initlist_value (int v)
 
 initlist_value (unsigned v)
 
 initlist_value (long v)
 
 initlist_value (unsigned long v)
 
 initlist_value (long long v)
 
 initlist_value (unsigned long long v)
 
 initlist_value (const char *v)
 
 initlist_value (const std::string &v)
 

Public Attributes

node_type type
 
uint64_t intval = 0
 
const char * strval = nullptr
 

Detailed Description

Definition at line 45 of file json.h.

Constructor & Destructor Documentation

◆ initlist_value() [1/10]

json::initlist_value::initlist_value ( node_type  t)
inline

Definition at line 47 of file json.h.

◆ initlist_value() [2/10]

json::initlist_value::initlist_value ( bool  v)
inline

Definition at line 49 of file json.h.

◆ initlist_value() [3/10]

json::initlist_value::initlist_value ( int  v)
inline

Definition at line 51 of file json.h.

◆ initlist_value() [4/10]

json::initlist_value::initlist_value ( unsigned  v)
inline

Definition at line 53 of file json.h.

◆ initlist_value() [5/10]

json::initlist_value::initlist_value ( long  v)
inline

Definition at line 55 of file json.h.

◆ initlist_value() [6/10]

json::initlist_value::initlist_value ( unsigned long  v)
inline

Definition at line 57 of file json.h.

◆ initlist_value() [7/10]

json::initlist_value::initlist_value ( long long  v)
inline

Definition at line 59 of file json.h.

◆ initlist_value() [8/10]

json::initlist_value::initlist_value ( unsigned long long  v)
inline

Definition at line 61 of file json.h.

◆ initlist_value() [9/10]

json::initlist_value::initlist_value ( const char *  v)
inline

Definition at line 63 of file json.h.

◆ initlist_value() [10/10]

json::initlist_value::initlist_value ( const std::string &  v)
inline

Definition at line 65 of file json.h.

Member Data Documentation

◆ intval

uint64_t json::initlist_value::intval = 0

Definition at line 67 of file json.h.

◆ strval

const char* json::initlist_value::strval = nullptr

Definition at line 68 of file json.h.

◆ type

node_type json::initlist_value::type

Definition at line 66 of file json.h.


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