nfx-json 1.5.2
Modern C++20 JSON library with schema validation and generation
Loading...
Searching...
No Matches
nfx::json::Document::ValuesView Class Reference

Range adapter for object values. More...

#include <nfx/json/Document.h>

Classes

class  const_iterator
 Value iterator (const). More...
class  iterator
 Value iterator (mutable). More...

Public Member Functions

 ValuesView (const Object *obj)
 Construct ValuesView from object pointer.
const_iterator begin () const
 Get iterator to first value.
const_iterator end () const
 Get iterator past last value.

Detailed Description

Range adapter for object values.

Definition at line 943 of file Document.h.

Constructor & Destructor Documentation

◆ ValuesView()

nfx::json::Document::ValuesView::ValuesView ( const Object * obj)
inline

Construct ValuesView from object pointer.

Parameters
objPointer to the object to iterate values from

Member Function Documentation

◆ begin()

const_iterator nfx::json::Document::ValuesView::begin ( ) const
inline

Get iterator to first value.

Returns
Const iterator pointing to first value

◆ end()

const_iterator nfx::json::Document::ValuesView::end ( ) const
inline

Get iterator past last value.

Returns
Const iterator representing end position

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