CMS 3D CMS Logo

Public Member Functions | Public Attributes

Mapper::definition< ScannerT > Struct Template Reference

List of all members.

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.

    {
      mapSet
        =   ppair[MapPair()]
        >> *((',' >> ppair)[MapPair()])
        ;
      
      ppair
        =   name
        >> ch_p('=') >> value
        ;
      
      name
        =   (alpha_p >> *alnum_p)[MapMakeName()]
        ;
      
      value
        =   (+(anychar_p - ','))[MapMakeDouble()]
        ;     
    }

Member Function Documentation

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

Definition at line 51 of file DDLMap.cc.

References Mapper::definition< ScannerT >::mapSet.

{ return mapSet; }    

Member Data Documentation

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

Definition at line 48 of file DDLMap.cc.

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

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

Definition at line 48 of file DDLMap.cc.

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