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

Range adapter for object keys. More...

#include <nfx/json/Document.h>

Classes

class  iterator
 Key iterator. More...

Public Member Functions

 KeysView (const Object *obj)
 Construct KeysView from object pointer.
iterator begin () const
 Get iterator to first key.
iterator end () const
 Get iterator past last key.

Detailed Description

Range adapter for object keys.

Definition at line 838 of file Document.h.

Constructor & Destructor Documentation

◆ KeysView()

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

Construct KeysView from object pointer.

Parameters
objPointer to the object to iterate keys from

Member Function Documentation

◆ begin()

iterator nfx::json::Document::KeysView::begin ( ) const
inline

Get iterator to first key.

Returns
iterator pointing to first key

◆ end()

iterator nfx::json::Document::KeysView::end ( ) const
inline

Get iterator past last key.

Returns
iterator representing end position

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