CMS 3D CMS Logo

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

Constructor & Destructor Documentation

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

Definition at line 132 of file DDPartSelection.cc.

References noNameSpace().

132  {
133 
134  Selection //= FirstStep[selLevelFtor()]
135  //>> *SelectionStep[selLevelFtor()]
137  ;
138 
140  >> Part
141  ;
142 
143  Part = PartNameCopyNumber
144  | PartName
145  ;
146 
148  >> CopyNumber
149  ;
150 
152  >> Part
153  ;
154 
156  | Child
157  ;
158 
159  CopyNumber = ch_p('[')
160  >> int_p[copyNoFtor()]
161  >> ch_p(']')
162  ;
163 
166  ;
167 
168  SimpleName = +( alnum_p | ch_p('_') | ch_p('.') | ch_p('*') )
169  ;
170 
172  >> ':'
173  >> SimpleName[nameFtor()]
174  ;
175 
176  Descendant = ch_p('/')
177  >> ch_p('/')
178  ;
179 
180  Child = ch_p('/')
181  ;
182 
183  }
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 210 of file DDPartSelection.cc.

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

Definition at line 205 of file DDPartSelection.cc.

205  {
206  static DDIsChildFtor f_;
207  return f_;
208  }
template<typename ScannerT >
DDNameFtor& SpecParParser::definition< ScannerT >::nameFtor ( )
inline

Definition at line 195 of file DDPartSelection.cc.

195  {
196  static DDNameFtor f_;
197  return f_;
198  }
template<typename ScannerT >
DDNameSpaceFtor& SpecParParser::definition< ScannerT >::nameSpaceFtor ( )
inline

Definition at line 200 of file DDPartSelection.cc.

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

Definition at line 191 of file DDPartSelection.cc.

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

191  {
193  }
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 185 of file DDPartSelection.cc.

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

Definition at line 185 of file DDPartSelection.cc.

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

Definition at line 185 of file DDPartSelection.cc.

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

Definition at line 185 of file DDPartSelection.cc.

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

Definition at line 185 of file DDPartSelection.cc.

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

Definition at line 185 of file DDPartSelection.cc.

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

Definition at line 185 of file DDPartSelection.cc.

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

Definition at line 185 of file DDPartSelection.cc.

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

Definition at line 185 of file DDPartSelection.cc.

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

Definition at line 185 of file DDPartSelection.cc.

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

Definition at line 185 of file DDPartSelection.cc.

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

Definition at line 185 of file DDPartSelection.cc.