CMS 3D CMS Logo

Public Member Functions | Private Member Functions

DDSubtraction Class Reference

#include <DDSolid.h>

Inheritance diagram for DDSubtraction:
DDBooleanSolid DDSolid DDBase< DDName, DDI::Solid * >

List of all members.

Public Member Functions

 DDSubtraction (const DDSolid &s)

Private Member Functions

 DDSubtraction (void)

Detailed Description

Definition at line 314 of file DDSolid.h.


Constructor & Destructor Documentation

DDSubtraction::DDSubtraction ( const DDSolid s)

Definition at line 316 of file DDSolid.cc.

References ddsubtraction, Exception, DDName::name(), DDBase< N, C >::name(), DDName::ns(), DDSolid::shape(), and AlCaHLTBitMon_QueryRunRegistry::string.

  : DDBooleanSolid(s)
{
  if (s.shape() != ddsubtraction) {
    std::string ex  = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is no DDSubtraction.\n";
    ex = ex + "Use a different solid interface!";
    throw cms::Exception("DDException") << ex;
  }
}
DDSubtraction::DDSubtraction ( void  ) [private]