openvrml::color_rgba_parser Struct Reference

The implementation of the openvrml::color_rgba_p functor parser. More...

#include <openvrml/x3d_vrml_grammar.h>

List of all members.


Public Types

typedef openvrml::color_rgba result_t
 Parse result.

Public Member Functions

template<typename ScannerT >
std::ptrdiff_t operator() (const ScannerT &scan, result_t &result) const
 Parse an RGBA color value.

Detailed Description

The implementation of the openvrml::color_rgba_p functor parser.

Member Typedef Documentation


Member Function Documentation

template<typename ScannerT >
std::ptrdiff_t openvrml::color_rgba_parser::operator() ( const ScannerT &  scan,
result_t result 
) const [inline]

Parse an RGBA color value.

Parameters:
[in] scan a scanner.
[out] result the parse result.