3#include <xrpl/beast/core/List.h>
45 template <
typename Value>
96 add(
char const* value)
101 template <
typename Value>
115 add(
signed char value);
117 add(
unsigned char value);
121 add(
unsigned short value);
125 add(
unsigned int value);
129 add(
unsigned long value);
131 add(
long long value);
133 add(
unsigned long long value);
139 add(
long double value);
185 template <
typename Value>
192 template <
typename T>
213 explicit Map(
Set& parent);
227 template <
typename Value>
234 template <
typename Key,
typename Value>
236 add(Key key, Value value)
const
249 return Proxy(*
this, key);
252 template <
typename Key>
264template <
typename Value>
297 template <
typename Value>
347 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