mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 18:45:52 +00:00
Fix missing PropertyStream members
This commit is contained in:
@@ -140,6 +140,19 @@ PropertyStream::ScopedObject::~ScopedObject ()
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
PropertyStream::ScopedArray::ScopedArray (std::string const& key, PropertyStream stream)
|
||||
: m_stream (stream)
|
||||
{
|
||||
m_stream.begin_array (key);
|
||||
}
|
||||
|
||||
PropertyStream::ScopedArray::~ScopedArray ()
|
||||
{
|
||||
m_stream.end_array ();
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
PropertyStream::Source::Source (std::string const& name)
|
||||
: m_name (name)
|
||||
, m_state (this)
|
||||
@@ -321,6 +334,16 @@ void PropertyStream::end_object () const
|
||||
m_sink->end_object ();
|
||||
}
|
||||
|
||||
void PropertyStream::begin_array (std::string const& key) const
|
||||
{
|
||||
m_sink->begin_array (key);
|
||||
}
|
||||
|
||||
void PropertyStream::end_array () const
|
||||
{
|
||||
m_sink->end_array ();
|
||||
}
|
||||
|
||||
PropertyStream::Sink& PropertyStream::nullSink()
|
||||
{
|
||||
struct NullSink : Sink
|
||||
|
||||
Reference in New Issue
Block a user