CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AlignmentLevel.h
Go to the documentation of this file.
1 #ifndef ALIGNMENT_COMMONALIGNMENT_INTERFACE_ALIGNMENTLEVEL_H_
2 #define ALIGNMENT_COMMONALIGNMENT_INTERFACE_ALIGNMENTLEVEL_H_
3 
4 // Original Author: Max Stark
5 // Created: Wed, 10 Feb 2016 13:35:23 CET
6 
8 
10  //========================== PUBLIC METHODS =================================
11 public: //===================================================================
13  : levelType(levelType), maxNumComponents(maxNumComponents), isFlat(isFlat){};
14  // copy construction + assignment
15  AlignmentLevel(const AlignmentLevel&) = default;
16  AlignmentLevel& operator=(const AlignmentLevel&) = default;
17 
18  // move construction + assignment
19  AlignmentLevel(AlignmentLevel&&) = default;
21 
22  virtual ~AlignmentLevel() = default;
23 
24  //=========================== PUBLIC DATA ===================================
25  //===========================================================================
26 
30 
33  unsigned int maxNumComponents;
34 
36  bool isFlat;
37 };
38 
39 #endif /* ALIGNMENT_COMMONALIGNMENT_INTERFACE_ALIGNMENTLEVEL_H_ */
bool isFlat
true if structure-type is a flat surface (rod, string, ladder etc.)
AlignmentLevel & operator=(const AlignmentLevel &)=default
unsigned int maxNumComponents
AlignmentLevel(align::StructureType levelType, unsigned int maxNumComponents, bool isFlat)
align::StructureType levelType
virtual ~AlignmentLevel()=default