JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Data Structures | Public Types | Public Member Functions
ViewStructure Class Reference

#include <ViewStructure.h>

Data Structures

struct  ObjectMember
 

Public Types

typedef size_t ID
 
typedef std::string KEY
 
typedef std::vector< ObjectMemberMemberVector
 
typedef MemberVector::const_iterator MemberIterator
 

Public Member Functions

size_t estimateSize () const
 
 ViewStructure (size_t docCount=1)
 
 ViewStructure (const ViewStructure &e)=delete
 
 ViewStructure (ViewStructure &&e)=default
 
ViewStructureoperator= (const ViewStructure &e)=delete
 
ViewStructureoperator= (ViewStructure &&e)=default
 
ID getOrAdd (const KEY &key)
 
ID getOrAdd (KEY &&key)
 
const KEYgetKey (const ID &id) const
 
std::pair< size_t, size_t > reserve (size_t size)
 
void addMember (size_t i, ViewStructure::ID, const RJValue *val)
 
void addMember (size_t i, ViewStructure::ID, const VirtualObject *val)
 
MemberIterator beginMember () const
 

Member Typedef Documentation

◆ ID

typedef size_t ViewStructure::ID

◆ KEY

typedef std::string ViewStructure::KEY

◆ MemberIterator

typedef MemberVector::const_iterator ViewStructure::MemberIterator

◆ MemberVector

Constructor & Destructor Documentation

◆ ViewStructure() [1/3]

ViewStructure::ViewStructure ( size_t  docCount = 1)

◆ ViewStructure() [2/3]

ViewStructure::ViewStructure ( const ViewStructure e)
delete

◆ ViewStructure() [3/3]

ViewStructure::ViewStructure ( ViewStructure &&  e)
default

Member Function Documentation

◆ addMember() [1/2]

void ViewStructure::addMember ( size_t  i,
ViewStructure::ID  id,
const RJValue val 
)
Here is the caller graph for this function:

◆ addMember() [2/2]

void ViewStructure::addMember ( size_t  i,
ViewStructure::ID  id,
const VirtualObject val 
)

◆ beginMember()

ViewStructure::MemberIterator ViewStructure::beginMember ( ) const

◆ estimateSize()

size_t ViewStructure::estimateSize ( ) const

◆ getKey()

const ViewStructure::KEY * ViewStructure::getKey ( const ID id) const
Here is the caller graph for this function:

◆ getOrAdd() [1/2]

ViewStructure::ID ViewStructure::getOrAdd ( const KEY key)
Here is the caller graph for this function:

◆ getOrAdd() [2/2]

ViewStructure::ID ViewStructure::getOrAdd ( ViewStructure::KEY &&  key)

◆ operator=() [1/2]

ViewStructure& ViewStructure::operator= ( const ViewStructure e)
delete

◆ operator=() [2/2]

ViewStructure& ViewStructure::operator= ( ViewStructure &&  e)
default

◆ reserve()

std::pair< size_t, size_t > ViewStructure::reserve ( size_t  size)
Here is the caller graph for this function:

The documentation for this class was generated from the following files: