rippled
Public Member Functions | Private Attributes | List of all members
beast::PropertyStream::Map Class Reference
Collaboration diagram for beast::PropertyStream::Map:
Collaboration graph
[legend]

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

PropertyStreamm_stream
 

Detailed Description

Definition at line 224 of file PropertyStream.h.

Constructor & Destructor Documentation

◆ Map() [1/5]

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

Definition at line 91 of file beast_PropertyStream.cpp.

◆ Map() [2/5]

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

Definition at line 95 of file beast_PropertyStream.cpp.

◆ Map() [3/5]

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

Definition at line 100 of file beast_PropertyStream.cpp.

◆ Map() [4/5]

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

Definition at line 106 of file beast_PropertyStream.cpp.

◆ ~Map()

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

Definition at line 112 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 const & beast::PropertyStream::Map::stream ( )

Definition at line 118 of file beast_PropertyStream.cpp.

◆ stream() [2/2]

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

◆ add() [1/2]

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

Definition at line 247 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 254 of file PropertyStream.h.

◆ operator[]() [1/3]

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

Definition at line 130 of file beast_PropertyStream.cpp.

◆ operator[]() [2/3]

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

Definition at line 265 of file PropertyStream.h.

◆ operator[]() [3/3]

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

Definition at line 272 of file PropertyStream.h.

Member Data Documentation

◆ m_stream

PropertyStream& beast::PropertyStream::Map::m_stream
private

Definition at line 227 of file PropertyStream.h.