xrpld
Loading...
Searching...
No Matches
beast::PropertyStream::Map Class Reference

#include <PropertyStream.h>

Collaboration diagram for beast::PropertyStream::Map:

Public Member Functions

 Map (PropertyStream &stream)
 Map (Set &parent)
 Map (std::string const &key, Map &parent)
 Map (std::string const &key, PropertyStream &stream)
 ~Map ()
 Map (Map const &)=delete
Mapoperator= (Map const &)=delete
PropertyStreamstream ()
PropertyStream const & stream () const
template<typename Value>
void add (std::string const &key, Value value) const
template<typename Key, typename Value>
void add (Key key, Value value) const
Proxy operator[] (std::string const &key)
Proxy operator[] (char const *key)
template<typename Key>
Proxy operator[] (Key key) const

Private Attributes

PropertyStreamstream_

Detailed Description

Definition at line 202 of file PropertyStream.h.

Constructor & Destructor Documentation

◆ Map() [1/5]

beast::PropertyStream::Map::Map ( PropertyStream & stream)
explicit

Definition at line 74 of file beast_PropertyStream.cpp.

◆ Map() [2/5]

beast::PropertyStream::Map::Map ( Set & parent)
explicit

Definition at line 78 of file beast_PropertyStream.cpp.

◆ Map() [3/5]

beast::PropertyStream::Map::Map ( std::string const & key,
Map & parent )

Definition at line 83 of file beast_PropertyStream.cpp.

◆ Map() [4/5]

beast::PropertyStream::Map::Map ( std::string const & key,
PropertyStream & stream )

Definition at line 88 of file beast_PropertyStream.cpp.

◆ ~Map()

beast::PropertyStream::Map::~Map ( )

Definition at line 93 of file beast_PropertyStream.cpp.

◆ Map() [5/5]

beast::PropertyStream::Map::Map ( Map const & )
delete

Member Function Documentation

◆ operator=()

Map & beast::PropertyStream::Map::operator= ( Map const & )
delete

◆ stream() [1/2]

PropertyStream & beast::PropertyStream::Map::stream ( )

Definition at line 99 of file beast_PropertyStream.cpp.

◆ stream() [2/2]

PropertyStream const & beast::PropertyStream::Map::stream ( ) const
nodiscard

Definition at line 105 of file beast_PropertyStream.cpp.

◆ add() [1/2]

template<typename Value>
void beast::PropertyStream::Map::add ( std::string const & key,
Value value ) const

Definition at line 225 of file PropertyStream.h.

◆ add() [2/2]

template<typename Key, typename Value>
void beast::PropertyStream::Map::add ( Key key,
Value value ) const

Definition at line 232 of file PropertyStream.h.

◆ operator[]() [1/3]

PropertyStream::Proxy beast::PropertyStream::Map::operator[] ( std::string const & key)

Definition at line 111 of file beast_PropertyStream.cpp.

◆ operator[]() [2/3]

Proxy beast::PropertyStream::Map::operator[] ( char const * key)

Definition at line 243 of file PropertyStream.h.

◆ operator[]() [3/3]

template<typename Key>
Proxy beast::PropertyStream::Map::operator[] ( Key key) const

Definition at line 250 of file PropertyStream.h.

Member Data Documentation

◆ stream_

PropertyStream& beast::PropertyStream::Map::stream_
private

Definition at line 205 of file PropertyStream.h.