$search

RTT::scripting::eol_skip_functor Struct Reference

#include <parser-types.hpp>

List of all members.

Public Types

typedef nil_t result_t

Public Member Functions

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

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


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Mar 1 16:27:53 2013