Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
RTT::scripting::eol_skip_functor Struct Reference

#include <parser-types.hpp>

Public Types

typedef nil_t result_t
 

Public Member Functions

 eol_skip_functor (bool &skipref)
 
 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
 

Private Member Functions

 eol_skip_functor ()
 

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 ( )
private
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:


rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:47