3#include <xrpl/beast/core/List.h>
41 template <
typename Value>
92 add(
char const* value)
97 template <
typename Value>
111 add(
signed char value);
113 add(
unsigned char value);
117 add(
unsigned short value);
121 add(
unsigned int value);
125 add(
unsigned long value);
127 add(
long long value);
129 add(
unsigned long long value);
135 add(
long double value);
181 template <
typename Value>
188 template <
typename T>
209 explicit Map(
Set& parent);
223 template <
typename Value>
230 template <
typename Key,
typename Value>
232 add(Key key, Value value)
const
245 return Proxy(*
this, key);
248 template <
typename Key>
260template <
typename Value>
293 template <
typename Value>
336 template <
class Derived>
Intrusive doubly linked list.
Source & operator*() const
Source * operator->() const
Proxy operator[](Key key) const
Map(PropertyStream &stream)
Proxy operator[](std::string const &key)
void add(Key key, Value value) const
void add(std::string const &key, Value value) const
Map & operator=(Map const &)=delete
Proxy operator[](char const *key)
PropertyStream & stream()
Proxy(Map const &map, std::string key)
std::ostringstream ostream_
std::ostream & operator<<(std::ostream &manip(std::ostream &)) const
Proxy & operator=(Value value)
PropertyStream & stream()
void add(Value value) const
Set(std::string const &key, Map &map)
Set & operator=(Set const &)=delete
Subclasses can be called to write to a stream and have children.
std::recursive_mutex lock_
std::string const & name() const
Returns the name of this source.
void add(Source &source)
Add a child source.
Derived * add(Derived *child)
Add a child source by pointer.
Source(Source const &)=delete
Source & operator=(Source const &)=delete
void lexicalAdd(Value value)
void add(std::string const &key, char const *value)
virtual void add(std::string const &key, std::string const &value)=0
virtual void add(std::string const &value)=0
virtual void arrayEnd()=0
virtual void mapBegin()=0
virtual ~PropertyStream()=default
void lexicalAdd(std::string const &key, Value value)
virtual void arrayBegin(std::string const &key)=0
virtual void arrayBegin()=0
void add(char const *value)
virtual void mapBegin(std::string const &key)=0