Guitar
Public Member Functions | Public Attributes | List of all members
jstream::Object Struct Reference

#include <jstream.h>

Public Member Functions

 Object ()
 
 Object (_Object &o)
 
 Object (Variant &v)
 
size_t size () const
 
bool empty () const
 
Variantfind (std::string const &key)
 
Variant const * find (std::string const &key) const
 
Variantvalue (std::string const &key)
 
Variant const & value (std::string const &key) const
 
template<typename T >
T const & get (std::string const &key) const
 
VariantRef operator[] (std::string const &key)
 

Public Attributes

_Objectp
 

Constructor & Destructor Documentation

◆ Object() [1/3]

jstream::Object::Object ( )
inline

◆ Object() [2/3]

jstream::Object::Object ( _Object o)
inline

◆ Object() [3/3]

jstream::Object::Object ( Variant v)
inline

Member Function Documentation

◆ empty()

bool jstream::Object::empty ( ) const
inline
Here is the call graph for this function:

◆ find() [1/2]

Variant* jstream::Object::find ( std::string const &  key)
inline

◆ find() [2/2]

Variant const* jstream::Object::find ( std::string const &  key) const
inline
Here is the call graph for this function:

◆ get()

template<typename T >
T const& jstream::Object::get ( std::string const &  key) const
inline
Here is the call graph for this function:

◆ operator[]()

VariantRef jstream::Object::operator[] ( std::string const &  key)
inline

◆ size()

size_t jstream::Object::size ( ) const
inline

◆ value() [1/2]

Variant& jstream::Object::value ( std::string const &  key)
inline
Here is the call graph for this function:

◆ value() [2/2]

Variant const& jstream::Object::value ( std::string const &  key) const
inline
Here is the call graph for this function:

Member Data Documentation

◆ p

_Object* jstream::Object::p

The documentation for this struct was generated from the following file: