Wolframe, 0.0.3

_Wolframe::langbind::Output Class Reference

Output as seen from scripting language binding. More...

#include <output.hpp>

Public Member Functions

 Output ()
 Constructor. More...
 
 Output (const Output &o)
 Copy constructor. More...
 
 Output (const OutputFilterR &flt)
 Constructor by output filter. More...
 
 ~Output ()
 Destructor. More...
 
bool print (const char *e1, unsigned int e1size, const char *e2, unsigned int e2size)
 Print the next element. More...
 
const OutputFilterRoutputfilter () const
 
OutputFilterRoutputfilter ()
 
void setOutputFilter (const OutputFilterR &filter)
 
bool called () const
 
void called (bool yes)
 
void setOutputChunkSize (unsigned int outputChunkSize_)
 
unsigned int outputChunkSize () const
 

Private Attributes

OutputFilterR m_outputfilter
 output filter reference More...
 
std::size_t m_outputChunkSize
 chunk size for output More...
 
unsigned int m_state
 current state for outputs with more than one elements More...
 
bool m_called
 has already been called More...
 

Detailed Description

Output as seen from scripting language binding.

Constructor & Destructor Documentation

_Wolframe::langbind::Output::Output ( )
inline

Constructor.

_Wolframe::langbind::Output::Output ( const Output o)
inline

Copy constructor.

Parameters
[in]ocopied item
_Wolframe::langbind::Output::Output ( const OutputFilterR flt)
inline

Constructor by output filter.

Parameters
[in]fltoutput filter reference
_Wolframe::langbind::Output::~Output ( )
inline

Destructor.

Member Function Documentation

bool _Wolframe::langbind::Output::called ( ) const
inline
void _Wolframe::langbind::Output::called ( bool  yes)
inline
unsigned int _Wolframe::langbind::Output::outputChunkSize ( ) const
inline
const OutputFilterR& _Wolframe::langbind::Output::outputfilter ( ) const
inline
OutputFilterR& _Wolframe::langbind::Output::outputfilter ( )
inline
bool _Wolframe::langbind::Output::print ( const char *  e1,
unsigned int  e1size,
const char *  e2,
unsigned int  e2size 
)

Print the next element.

Parameters
[in]e1first element
[in]e1sizefirst element size
[in]e2second element
[in]e2sizesecond element size
Returns
true, on success, false if we have to yield processing
void _Wolframe::langbind::Output::setOutputChunkSize ( unsigned int  outputChunkSize_)
inline
void _Wolframe::langbind::Output::setOutputFilter ( const OutputFilterR filter)

Member Data Documentation

bool _Wolframe::langbind::Output::m_called
private

has already been called

std::size_t _Wolframe::langbind::Output::m_outputChunkSize
private

chunk size for output

OutputFilterR _Wolframe::langbind::Output::m_outputfilter
private

output filter reference

unsigned int _Wolframe::langbind::Output::m_state
private

current state for outputs with more than one elements


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