CMS 3D CMS Logo

SpecParParser::definition< ScannerT > Struct Template Reference

List of all members.

Public Member Functions

DDCopyNoFtorcopyNoFtor ()
 definition (SpecParParser const &self)
DDIsChildFtorisChildFtor ()
DDNameFtornameFtor ()
DDNameSpaceFtornameSpaceFtor ()
DDSelLevelFtorselLevelFtor ()
rule< ScannerT > const & start () const

Public Attributes

rule< ScannerT > Child
rule< ScannerT > CopyNumber
rule< ScannerT > Descendant
rule< ScannerT > FirstStep
rule< ScannerT > NameSpaceName
rule< ScannerT > NavigationalElement
rule< ScannerT > Part
rule< ScannerT > PartName
rule< ScannerT > PartNameCopyNumber
rule< ScannerT > Selection
rule< ScannerT > SelectionStep
rule< ScannerT > SimpleName


Detailed Description

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

Definition at line 139 of file DDPartSelection.cc.


Constructor & Destructor Documentation

template<typename ScannerT>
SpecParParser::definition< ScannerT >::definition ( SpecParParser const &  self  )  [inline]

Definition at line 141 of file DDPartSelection.cc.

References SpecParParser::definition< ScannerT >::Child, SpecParParser::definition< ScannerT >::copyNoFtor(), SpecParParser::definition< ScannerT >::CopyNumber, SpecParParser::definition< ScannerT >::Descendant, SpecParParser::definition< ScannerT >::FirstStep, SpecParParser::definition< ScannerT >::isChildFtor(), SpecParParser::definition< ScannerT >::nameFtor(), SpecParParser::definition< ScannerT >::nameSpaceFtor(), SpecParParser::definition< ScannerT >::NameSpaceName, SpecParParser::definition< ScannerT >::NavigationalElement, noNameSpace(), SpecParParser::definition< ScannerT >::Part, SpecParParser::definition< ScannerT >::PartName, SpecParParser::definition< ScannerT >::PartNameCopyNumber, SpecParParser::definition< ScannerT >::SelectionStep, SpecParParser::definition< ScannerT >::selLevelFtor(), and SpecParParser::definition< ScannerT >::SimpleName.

00141                                           {
00142          
00143         Selection  //= FirstStep[selLevelFtor()] 
00144                   //>> *SelectionStep[selLevelFtor()]
00145                    = +SelectionStep[selLevelFtor()]
00146                    ;
00147 
00148         FirstStep  = Descendant 
00149                   >> Part
00150                    ; 
00151 
00152         Part       = PartNameCopyNumber 
00153                    | PartName
00154                    ;
00155 
00156         PartNameCopyNumber = PartName 
00157                   >> CopyNumber
00158                    ;
00159 
00160         SelectionStep = NavigationalElement[isChildFtor()] 
00161                   >> Part
00162                    ;
00163 
00164         NavigationalElement = Descendant 
00165                    | Child
00166                    ;
00167 
00168         CopyNumber = ch_p('[') 
00169                   >> int_p[copyNoFtor()] 
00170                   >> ch_p(']')
00171                    ;
00172 
00173         PartName   = NameSpaceName 
00174                    | SimpleName[nameFtor()][&noNameSpace]
00175                    ;
00176 
00177         SimpleName = +( alnum_p | ch_p('_') | ch_p('.') | ch_p('*') )
00178                    ;
00179 
00180         NameSpaceName = SimpleName[nameSpaceFtor()] 
00181                   >> ':' 
00182                   >> SimpleName[nameFtor()]
00183                    ;
00184 
00185         Descendant = ch_p('/') 
00186                   >> ch_p('/')
00187                    ;
00188 
00189         Child      = ch_p('/')
00190                     ;
00191   
00192          }


Member Function Documentation

template<typename ScannerT>
DDCopyNoFtor& SpecParParser::definition< ScannerT >::copyNoFtor (  )  [inline]

Definition at line 219 of file DDPartSelection.cc.

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

00219                                 {
00220      static DDCopyNoFtor f_;
00221      return f_;
00222     }    

template<typename ScannerT>
DDIsChildFtor& SpecParParser::definition< ScannerT >::isChildFtor (  )  [inline]

Definition at line 214 of file DDPartSelection.cc.

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

00214                                   {
00215      static DDIsChildFtor f_;
00216      return f_;
00217     }

template<typename ScannerT>
DDNameFtor& SpecParParser::definition< ScannerT >::nameFtor (  )  [inline]

Definition at line 204 of file DDPartSelection.cc.

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

00204                             {
00205      static DDNameFtor f_;
00206      return f_;
00207     }

template<typename ScannerT>
DDNameSpaceFtor& SpecParParser::definition< ScannerT >::nameSpaceFtor (  )  [inline]

Definition at line 209 of file DDPartSelection.cc.

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

00209                                       {
00210      static DDNameSpaceFtor f_;
00211      return f_;
00212     }

template<typename ScannerT>
DDSelLevelFtor& SpecParParser::definition< ScannerT >::selLevelFtor (  )  [inline]

Definition at line 200 of file DDPartSelection.cc.

References DDI::Singleton< I >::instance().

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

00200                                     {
00201       return DDI::Singleton<DDSelLevelFtor>::instance();
00202     }

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

Definition at line 198 of file DDPartSelection.cc.

00198 { return Selection; }


Member Data Documentation

template<typename ScannerT>
rule<ScannerT> SpecParParser::definition< ScannerT >::Child

Definition at line 194 of file DDPartSelection.cc.

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

template<typename ScannerT>
rule<ScannerT> SpecParParser::definition< ScannerT >::CopyNumber

Definition at line 194 of file DDPartSelection.cc.

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

template<typename ScannerT>
rule<ScannerT> SpecParParser::definition< ScannerT >::Descendant

Definition at line 194 of file DDPartSelection.cc.

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

template<typename ScannerT>
rule<ScannerT> SpecParParser::definition< ScannerT >::FirstStep

Definition at line 194 of file DDPartSelection.cc.

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

template<typename ScannerT>
rule<ScannerT> SpecParParser::definition< ScannerT >::NameSpaceName

Definition at line 194 of file DDPartSelection.cc.

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

template<typename ScannerT>
rule<ScannerT> SpecParParser::definition< ScannerT >::NavigationalElement

Definition at line 194 of file DDPartSelection.cc.

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

template<typename ScannerT>
rule<ScannerT> SpecParParser::definition< ScannerT >::Part

Definition at line 194 of file DDPartSelection.cc.

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

template<typename ScannerT>
rule<ScannerT> SpecParParser::definition< ScannerT >::PartName

Definition at line 194 of file DDPartSelection.cc.

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

template<typename ScannerT>
rule<ScannerT> SpecParParser::definition< ScannerT >::PartNameCopyNumber

Definition at line 194 of file DDPartSelection.cc.

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

template<typename ScannerT>
rule<ScannerT> SpecParParser::definition< ScannerT >::Selection

Definition at line 194 of file DDPartSelection.cc.

template<typename ScannerT>
rule<ScannerT> SpecParParser::definition< ScannerT >::SelectionStep

Definition at line 194 of file DDPartSelection.cc.

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

template<typename ScannerT>
rule<ScannerT> SpecParParser::definition< ScannerT >::SimpleName

Definition at line 194 of file DDPartSelection.cc.

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


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:32:44 2009 for CMSSW by  doxygen 1.5.4