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

#include <json.h>

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

Public Member Functions

 initlist_key_value_pair (const char *k, const initlist_value &v)
 
 initlist_key_value_pair (const std::string &k, const initlist_value &v)
 
 initlist_key_value_pair (const char *k, const std::initializer_list< initlist_key_value_pair > &ilist)
 
 initlist_key_value_pair (const std::string &k, const std::initializer_list< initlist_key_value_pair > &ilist)
 
 initlist_key_value_pair (const char *k, const std::initializer_list< initlist_value > &ilist)
 
 initlist_key_value_pair (const std::string &k, const std::initializer_list< initlist_value > &ilist)
 

Public Attributes

const char * keystr
 
initlist_value value
 
std::initializer_list< initlist_key_value_pairobject
 
std::initializer_list< initlist_valuearray
 

Detailed Description

Definition at line 71 of file json.h.

Constructor & Destructor Documentation

◆ initlist_key_value_pair() [1/6]

json::initlist_key_value_pair::initlist_key_value_pair ( const char *  k,
const initlist_value v 
)
inline

Definition at line 72 of file json.h.

◆ initlist_key_value_pair() [2/6]

json::initlist_key_value_pair::initlist_key_value_pair ( const std::string &  k,
const initlist_value v 
)
inline

Definition at line 73 of file json.h.

◆ initlist_key_value_pair() [3/6]

json::initlist_key_value_pair::initlist_key_value_pair ( const char *  k,
const std::initializer_list< initlist_key_value_pair > &  ilist 
)
inline

Definition at line 75 of file json.h.

◆ initlist_key_value_pair() [4/6]

json::initlist_key_value_pair::initlist_key_value_pair ( const std::string &  k,
const std::initializer_list< initlist_key_value_pair > &  ilist 
)
inline

Definition at line 77 of file json.h.

◆ initlist_key_value_pair() [5/6]

json::initlist_key_value_pair::initlist_key_value_pair ( const char *  k,
const std::initializer_list< initlist_value > &  ilist 
)
inline

Definition at line 79 of file json.h.

◆ initlist_key_value_pair() [6/6]

json::initlist_key_value_pair::initlist_key_value_pair ( const std::string &  k,
const std::initializer_list< initlist_value > &  ilist 
)
inline

Definition at line 81 of file json.h.

Member Data Documentation

◆ array

std::initializer_list<initlist_value> json::initlist_key_value_pair::array

Definition at line 86 of file json.h.

◆ keystr

const char* json::initlist_key_value_pair::keystr

Definition at line 83 of file json.h.

◆ object

std::initializer_list<initlist_key_value_pair> json::initlist_key_value_pair::object

Definition at line 85 of file json.h.

◆ value

initlist_value json::initlist_key_value_pair::value

Definition at line 84 of file json.h.


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