rippled
Public Member Functions | Public Attributes | List of all members
Json::Writer::Impl::Collection Struct Reference
Collaboration diagram for Json::Writer::Impl::Collection:
Collaboration graph
[legend]

Public Member Functions

 Collection ()=default
 

Public Attributes

Writer::CollectionType type
 What type of collection are we in? More...
 
bool isFirst = true
 Is this the first entry in a collection? If false, we have to emit a , before we write the next entry. More...
 
std::set< std::stringtags
 What tags have we already seen in this collection? More...
 

Detailed Description

Definition at line 210 of file Writer.cpp.

Constructor & Destructor Documentation

◆ Collection()

Json::Writer::Impl::Collection::Collection ( )
explicitdefault

Member Data Documentation

◆ type

Writer::CollectionType Json::Writer::Impl::Collection::type

What type of collection are we in?

Definition at line 215 of file Writer.cpp.

◆ isFirst

bool Json::Writer::Impl::Collection::isFirst = true

Is this the first entry in a collection? If false, we have to emit a , before we write the next entry.

Definition at line 219 of file Writer.cpp.

◆ tags

std::set<std::string> Json::Writer::Impl::Collection::tags

What tags have we already seen in this collection?

Definition at line 223 of file Writer.cpp.