CMS 3D CMS Logo

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

◆ Category

Enumerator
unspecified 
sensitive 
cable 
cooling 
support 
envelope 

Definition at line 7 of file DDEnums.h.

◆ Shapes

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

◆ categoryName()

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

Definition at line 26 of file DDEnums.h.

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

Referenced by DDHtmlLpDetails::details().

26  {
27  static const char* const c[] = {"unspecified", "sensitive", "cable", "cooling", "support", "envelope"};
28  return c[s];
29  }