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
SpecParParser::definition< ScannerT > Struct Template Reference

Public Member Functions

DDCopyNoFtorcopyNoFtor ()
 
 definition (SpecParParser const &)
 
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 137 of file DDPartSelection.cc.

Constructor & Destructor Documentation

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

Definition at line 139 of file DDPartSelection.cc.

References noNameSpace().

139  {
140 
141  Selection //= FirstStep[selLevelFtor()]
142  //>> *SelectionStep[selLevelFtor()]
144  ;
145 
147  >> Part
148  ;
149 
150  Part = PartNameCopyNumber
151  | PartName
152  ;
153 
155  >> CopyNumber
156  ;
157 
159  >> Part
160  ;
161 
163  | Child
164  ;
165 
166  CopyNumber = ch_p('[')
167  >> int_p[copyNoFtor()]
168  >> ch_p(']')
169  ;
170 
173  ;
174 
175  SimpleName = +( alnum_p | ch_p('_') | ch_p('.') | ch_p('*') )
176  ;
177 
179  >> ':'
180  >> SimpleName[nameFtor()]
181  ;
182 
183  Descendant = ch_p('/')
184  >> ch_p('/')
185  ;
186 
187  Child = ch_p('/')
188  ;
189 
190  }
DDIsChildFtor & isChildFtor()
void noNameSpace(char const *, char const *)
rule< ScannerT > NameSpaceName
Templated helper class to allow a selection on a certain object collection.
rule< ScannerT > PartNameCopyNumber
rule< ScannerT > NavigationalElement
DDNameSpaceFtor & nameSpaceFtor()
DDSelLevelFtor & selLevelFtor()

Member Function Documentation

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

Definition at line 217 of file DDPartSelection.cc.

217  {
218  static DDCopyNoFtor f_;
219  return f_;
220  }
template<typename ScannerT >
DDIsChildFtor& SpecParParser::definition< ScannerT >::isChildFtor ( )
inline

Definition at line 212 of file DDPartSelection.cc.

212  {
213  static DDIsChildFtor f_;
214  return f_;
215  }
template<typename ScannerT >
DDNameFtor& SpecParParser::definition< ScannerT >::nameFtor ( )
inline

Definition at line 202 of file DDPartSelection.cc.

202  {
203  static DDNameFtor f_;
204  return f_;
205  }
template<typename ScannerT >
DDNameSpaceFtor& SpecParParser::definition< ScannerT >::nameSpaceFtor ( )
inline

Definition at line 207 of file DDPartSelection.cc.

207  {
208  static DDNameSpaceFtor f_;
209  return f_;
210  }
template<typename ScannerT >
DDSelLevelFtor& SpecParParser::definition< ScannerT >::selLevelFtor ( )
inline

Definition at line 198 of file DDPartSelection.cc.

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

198  {
200  }
static value_type & instance()
template<typename ScannerT >
rule<ScannerT> const& SpecParParser::definition< ScannerT >::start ( ) const
inline

Member Data Documentation

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

Definition at line 192 of file DDPartSelection.cc.

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

Definition at line 192 of file DDPartSelection.cc.

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

Definition at line 192 of file DDPartSelection.cc.

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

Definition at line 192 of file DDPartSelection.cc.

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

Definition at line 192 of file DDPartSelection.cc.

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

Definition at line 192 of file DDPartSelection.cc.

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

Definition at line 192 of file DDPartSelection.cc.

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

Definition at line 192 of file DDPartSelection.cc.

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

Definition at line 192 of file DDPartSelection.cc.

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

Definition at line 192 of file DDPartSelection.cc.

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

Definition at line 192 of file DDPartSelection.cc.

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

Definition at line 192 of file DDPartSelection.cc.