CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
Mapper::definition< ScannerT > Struct Template Reference

#include <DDLMap.h>

Public Member Functions

 definition (Mapper const &self)
 
rule< ScannerT > const & start () const
 

Public Attributes

rule< ScannerT > mapSet
 
rule< ScannerT > name
 
rule< ScannerT > ppair
 
rule< ScannerT > value
 

Detailed Description

template<typename ScannerT>
struct Mapper::definition< ScannerT >

Definition at line 25 of file DDLMap.cc.

Constructor & Destructor Documentation

template<typename ScannerT >
Mapper::definition< ScannerT >::definition ( Mapper const &  self)
inline

Definition at line 27 of file DDLMap.cc.

References Mapper::definition< ScannerT >::mapSet, Mapper::definition< ScannerT >::name, Mapper::definition< ScannerT >::ppair, and Mapper::definition< ScannerT >::value.

28  {
29  mapSet
30  = ppair[MapPair()]
31  >> *((',' >> ppair)[MapPair()])
32  ;
33 
34  ppair
35  = name
36  >> ch_p('=') >> value
37  ;
38 
39  name
40  = (alpha_p >> *alnum_p)[MapMakeName()]
41  ;
42 
43  value
44  = (+(anychar_p - ','))[MapMakeDouble()]
45  ;
46  }
Definition: DDLMap.h:23
rule< ScannerT > mapSet
Definition: DDLMap.cc:48
rule< ScannerT > name
Definition: DDLMap.cc:48
rule< ScannerT > value
Definition: DDLMap.cc:48
rule< ScannerT > ppair
Definition: DDLMap.cc:48

Member Function Documentation

template<typename ScannerT >
rule<ScannerT> const& Mapper::definition< ScannerT >::start ( ) const
inline

Member Data Documentation

template<typename ScannerT >
rule<ScannerT> Mapper::definition< ScannerT >::mapSet
template<typename ScannerT >
rule<ScannerT> Mapper::definition< ScannerT >::name
template<typename ScannerT >
rule<ScannerT> Mapper::definition< ScannerT >::ppair

Definition at line 48 of file DDLMap.cc.

Referenced by Mapper::definition< ScannerT >::definition().

template<typename ScannerT >
rule<ScannerT> Mapper::definition< ScannerT >::value