Wolframe, 0.0.3

_Wolframe::db::vm::Output::Element Class Reference

Element of output. More...

#include <output.hpp>

Public Types

enum  Operation {
  Open, OpenArray, OpenArrayElement, Close,
  CloseArray, CloseArrayElement, Value
}
 Operation of output. More...
 

Public Member Functions

 Element ()
 Default constructor. More...
 
 Element (const Element &o)
 Copy constructor. More...
 
 Element (const Operation &op_, const types::Variant &arg_)
 Constructor. More...
 
 Element (const Operation &op_)
 Constructor. More...
 
Operation op () const
 Get the operation of output. More...
 
const types::Variantarg () const
 Get the argument of output. More...
 

Private Attributes

Operation m_op
 operation of output More...
 
types::Variant m_arg
 argument of output More...
 

Detailed Description

Element of output.

Member Enumeration Documentation

Operation of output.

Enumerator
Open 
OpenArray 
OpenArrayElement 
Close 
CloseArray 
CloseArrayElement 
Value 

Constructor & Destructor Documentation

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

Default constructor.

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

Copy constructor.

_Wolframe::db::vm::Output::Element::Element ( const Operation op_,
const types::Variant arg_ 
)
inline

Constructor.

_Wolframe::db::vm::Output::Element::Element ( const Operation op_)
inlineexplicit

Constructor.

Member Function Documentation

const types::Variant& _Wolframe::db::vm::Output::Element::arg ( ) const
inline

Get the argument of output.

Operation _Wolframe::db::vm::Output::Element::op ( ) const
inline

Get the operation of output.

Member Data Documentation

types::Variant _Wolframe::db::vm::Output::Element::m_arg
private

argument of output

Operation _Wolframe::db::vm::Output::Element::m_op
private

operation of output


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