CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Static Public Member Functions
DDEnums Struct Reference

enumaration of a possible categorization of the DDLogicalPart, defaults to unspecified More...

#include <DDEnums.h>

Public Types

enum  Category {
  unspecified, sensitive, cable, cooling,
  support, envelope
}
 
enum  Shapes {
  not_init, box, tubs, trap,
  cons, polycone_rz, polycone_rrz, polyhedra_rz,
  polyhedra_rrz, b_union, b_subtraction, b_intersection,
  reflected, shapeless, pseudotrap
}
 

Static Public Member Functions

static const char *const categoryName (Category s)
 

Detailed Description

enumaration of a possible categorization of the DDLogicalPart, defaults to unspecified

Definition at line 6 of file DDEnums.h.

Member Enumeration Documentation

Enumerator
unspecified 
sensitive 
cable 
cooling 
support 
envelope 

Definition at line 7 of file DDEnums.h.

Enumerator
not_init 
box 
tubs 
trap 
cons 
polycone_rz 
polycone_rrz 
polyhedra_rz 
polyhedra_rrz 
b_union 
b_subtraction 
b_intersection 
reflected 
shapeless 
pseudotrap 

Definition at line 8 of file DDEnums.h.

Member Function Documentation

static const char* const DDEnums::categoryName ( Category  s)
inlinestatic

Definition at line 17 of file DDEnums.h.

References EnergyCorrector::c, and alignCSCRings::s.

Referenced by DDHtmlLpDetails::details().

18  {
19  static const char * const c[] = { "unspecified", "sensitive", "cable", "cooling", "support", "envelope" };
20  return c[s];
21  }