Wolframe, 0.0.3

Output structure of the VM for transactions. More...

#include <output.hpp>

Classes

class  Element
 Element of output. More...
 

Public Types

typedef std::vector< Element >
::const_iterator 
const_iterator
 

Public Member Functions

 Output ()
 Default constructor. More...
 
 Output (const Output &o)
 Copy constructor. More...
 
void add (const Element &elem)
 Add element to output. More...
 
void addValue (const types::Variant &value)
 Add a value element to output. More...
 
void addOutputSink ()
 Add a new output sink and declare it as the current output. More...
 
const_iterator begin (std::size_t i=0) const
 Get the start iterator on this output. More...
 
const_iterator end (std::size_t i=0) const
 Get the end iterator on this output. More...
 
const std::vector< Element > & elements (std::size_t i=0) const
 Get the array of output elements. More...
 

Private Types

typedef std::vector< ElementElementArray
 

Private Attributes

std::vector< ElementArraym_ar
 

Detailed Description

Output structure of the VM for transactions.

Member Typedef Documentation

typedef std::vector<Element> _Wolframe::db::vm::Output::ElementArray
private

Constructor & Destructor Documentation

_Wolframe::db::vm::Output::Output ( )
inline

Default constructor.

_Wolframe::db::vm::Output::Output ( const Output o)
inline

Copy constructor.

Member Function Documentation

void _Wolframe::db::vm::Output::add ( const Element elem)
inline

Add element to output.

Parameters
[in]elemelement to add
void _Wolframe::db::vm::Output::addOutputSink ( )
inline

Add a new output sink and declare it as the current output.

void _Wolframe::db::vm::Output::addValue ( const types::Variant value)
inline

Add a value element to output.

Parameters
[in]valuevalue of element to add
const_iterator _Wolframe::db::vm::Output::begin ( std::size_t  i = 0) const
inline

Get the start iterator on this output.

const std::vector<Element>& _Wolframe::db::vm::Output::elements ( std::size_t  i = 0) const
inline

Get the array of output elements.

const_iterator _Wolframe::db::vm::Output::end ( std::size_t  i = 0) const
inline

Get the end iterator on this output.

Member Data Documentation

std::vector<ElementArray> _Wolframe::db::vm::Output::m_ar
private

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