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

#include <jstream.h>

Public Member Functions

size_t size () const
 
bool empty () const
 
Variantoperator[] (size_t i)
 
Variant const & operator[] (size_t i) const
 
template<typename T >
T & get (size_t i)
 
template<typename T >
T const & get (size_t i) const
 
void push_back (Variant const &v)
 
Arrayoperator+= (Variant const &v)
 

Public Attributes

std::vector< Varianta
 

Member Function Documentation

◆ empty()

bool jstream::Array::empty ( ) const
inline

◆ get() [1/2]

template<typename T >
T& jstream::Array::get ( size_t  i)
inline

◆ get() [2/2]

template<typename T >
T const& jstream::Array::get ( size_t  i) const
inline

◆ operator+=()

Array& jstream::Array::operator+= ( Variant const &  v)
inline
Here is the call graph for this function:

◆ operator[]() [1/2]

Variant& jstream::Array::operator[] ( size_t  i)
inline

◆ operator[]() [2/2]

Variant const& jstream::Array::operator[] ( size_t  i) const
inline

◆ push_back()

void jstream::Array::push_back ( Variant const &  v)
inline

◆ size()

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

Member Data Documentation

◆ a

std::vector<Variant> jstream::Array::a

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