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

#include <json.h>

Collaboration diagram for json::node::const_iterator:
Collaboration graph
[legend]

Public Member Functions

 const_iterator (const node *node_p, bool sorted)
 
bool at_end () const
 
unsigned array_index () const
 
void operator++ ()
 
const nodeoperator* () const
 

Private Attributes

const nodem_node_p
 
bool m_use_map
 
unsigned m_child_idx = 0
 
keymap::const_iterator m_key_iter
 

Detailed Description

Definition at line 227 of file json.h.

Constructor & Destructor Documentation

◆ const_iterator()

json::node::const_iterator::const_iterator ( const node node_p,
bool  sorted 
)

Definition at line 269 of file json.cpp.

Member Function Documentation

◆ array_index()

unsigned json::node::const_iterator::array_index ( ) const

Definition at line 285 of file json.cpp.

◆ at_end()

bool json::node::const_iterator::at_end ( ) const

Definition at line 277 of file json.cpp.

◆ operator*()

const json::node * json::node::const_iterator::operator* ( ) const

Definition at line 299 of file json.cpp.

◆ operator++()

void json::node::const_iterator::operator++ ( )

Definition at line 291 of file json.cpp.

Member Data Documentation

◆ m_child_idx

unsigned json::node::const_iterator::m_child_idx = 0
private

Definition at line 239 of file json.h.

◆ m_key_iter

keymap::const_iterator json::node::const_iterator::m_key_iter
private

Definition at line 240 of file json.h.

◆ m_node_p

const node* json::node::const_iterator::m_node_p
private

Definition at line 237 of file json.h.

◆ m_use_map

bool json::node::const_iterator::m_use_map
private

Definition at line 238 of file json.h.


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