Orocos Real-Time Toolkit  2.8.3
Public Types | Public Member Functions | Public Attributes | List of all members
RTT::scripting::eol_skip_functor Struct Reference

Due to a bug in MSVC 2005, the operator() ends up with a null reference of the skipeol member Tried several workarounds, could not find one, except turning off optimization for this function. More...

#include <rtt/scripting/parser-types.hpp>

Public Types

typedef nil_t result_t
 

Public Member Functions

 eol_skip_functor (bool &skipref)
 By default, eol are skipped. More...
 
 eol_skip_functor (eol_skip_functor const &orig)
 
template<typename ScannerT >
std::ptrdiff_t operator() (ScannerT const &scan, result_t &result) const
 

Public Attributes

bool & skipeol
 

Detailed Description

Due to a bug in MSVC 2005, the operator() ends up with a null reference of the skipeol member Tried several workarounds, could not find one, except turning off optimization for this function.

Parser used in skip parser. Set skipeol to 'true' to skip newlines, set skipeol to false to not skip newlines.

Definition at line 83 of file parser-types.hpp.

Member Typedef Documentation

Definition at line 94 of file parser-types.hpp.

Constructor & Destructor Documentation

RTT::scripting::eol_skip_functor::eol_skip_functor ( bool &  skipref)
inline

By default, eol are skipped.

Definition at line 91 of file parser-types.hpp.

RTT::scripting::eol_skip_functor::eol_skip_functor ( eol_skip_functor const &  orig)
inline

Definition at line 92 of file parser-types.hpp.

Member Function Documentation

template<typename ScannerT >
std::ptrdiff_t RTT::scripting::eol_skip_functor::operator() ( ScannerT const &  scan,
result_t result 
) const
inline

Definition at line 98 of file parser-types.hpp.

Member Data Documentation

bool& RTT::scripting::eol_skip_functor::skipeol

Definition at line 93 of file parser-types.hpp.


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