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 135 of file DDPartSelection.cc.

Constructor & Destructor Documentation

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

Definition at line 137 of file DDPartSelection.cc.

References noNameSpace().

137  {
138 
139  Selection //= FirstStep[selLevelFtor()]
140  //>> *SelectionStep[selLevelFtor()]
142  ;
143 
145  >> Part
146  ;
147 
148  Part = PartNameCopyNumber
149  | PartName
150  ;
151 
153  >> CopyNumber
154  ;
155 
157  >> Part
158  ;
159 
161  | Child
162  ;
163 
164  CopyNumber = ch_p('[')
165  >> int_p[copyNoFtor()]
166  >> ch_p(']')
167  ;
168 
171  ;
172 
173  SimpleName = +( alnum_p | ch_p('_') | ch_p('.') | ch_p('*') )
174  ;
175 
177  >> ':'
178  >> SimpleName[nameFtor()]
179  ;
180 
181  Descendant = ch_p('/')
182  >> ch_p('/')
183  ;
184 
185  Child = ch_p('/')
186  ;
187 
188  }
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 215 of file DDPartSelection.cc.

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

Definition at line 210 of file DDPartSelection.cc.

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

Definition at line 200 of file DDPartSelection.cc.

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

Definition at line 205 of file DDPartSelection.cc.

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

Definition at line 196 of file DDPartSelection.cc.

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

196  {
198  }
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 190 of file DDPartSelection.cc.

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

Definition at line 190 of file DDPartSelection.cc.

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

Definition at line 190 of file DDPartSelection.cc.

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

Definition at line 190 of file DDPartSelection.cc.

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

Definition at line 190 of file DDPartSelection.cc.

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

Definition at line 190 of file DDPartSelection.cc.

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

Definition at line 190 of file DDPartSelection.cc.

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

Definition at line 190 of file DDPartSelection.cc.

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

Definition at line 190 of file DDPartSelection.cc.

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

Definition at line 190 of file DDPartSelection.cc.

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

Definition at line 190 of file DDPartSelection.cc.

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

Definition at line 190 of file DDPartSelection.cc.