userver: formats::common::ItemsWrapper< Value > Class Template Reference
Loading...
Searching...
No Matches
formats::common::ItemsWrapper< Value > Class Template Referencefinal

#include <userver/formats/common/items.hpp>

Detailed Description

template<typename Value>
class formats::common::ItemsWrapper< Value >

Wrapper for handy python-like iteration over a map.

See formats::common::Items() for usage example

Definition at line 20 of file items.hpp.

Classes

class  Iterator
 

Public Member Functions

 ItemsWrapper (Value &&value)
 
auto begin () const
 
auto end () const
 
auto cbegin () const
 
auto cend () const
 

Constructor & Destructor Documentation

◆ ItemsWrapper()

template<typename Value >
formats::common::ItemsWrapper< Value >::ItemsWrapper ( Value && value)
inline

Definition at line 64 of file items.hpp.

Member Function Documentation

◆ begin()

template<typename Value >
auto formats::common::ItemsWrapper< Value >::begin ( ) const
inline

Definition at line 66 of file items.hpp.

◆ cbegin()

template<typename Value >
auto formats::common::ItemsWrapper< Value >::cbegin ( ) const
inline

Definition at line 68 of file items.hpp.

◆ cend()

template<typename Value >
auto formats::common::ItemsWrapper< Value >::cend ( ) const
inline

Definition at line 69 of file items.hpp.

◆ end()

template<typename Value >
auto formats::common::ItemsWrapper< Value >::end ( ) const
inline

Definition at line 67 of file items.hpp.


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