#include <DetectorDescription/Core/interface/DDBase.h>
Public Types | |
typedef std::pair< const N *, bool > | def_type |
typedef C | pimpl_type |
typedef DDI::rep_type< N, pimpl_type > * | prep_type |
typedef DDI::Singleton < DDI::Store< N, C > > | StoreT |
Public Member Functions | |
DDBase () | |
const N & | ddname () const |
def_type | isDefined () const |
bool | isValid () const |
true, if the wrapped pointer is valid | |
const N & | name () const |
operator bool () const | |
bool | operator< (const DDBase &b) const |
bool | operator== (const DDBase &b) const |
bool | operator> (const DDBase &b) const |
DDI::rep_traits< N, C >::reference | rep () |
const DDI::rep_traits< N, C > ::reference | rep () const |
std::string | toString () const |
const DDI::rep_traits< N, C > ::reference | val () |
const DDI::rep_traits< N, C > ::reference | val () const |
virtual | ~DDBase () |
Static Public Member Functions | |
static DDI::Store< N, C >::iterator | begin () |
static void | clear () |
static DDI::Store< N, C >::iterator | end () |
static size_t | size () |
Protected Attributes | |
prep_type | prep_ |
Classes | |
class | iterator |
Definition at line 18 of file DDBase.h.
typedef C DDBase< N, C >::pimpl_type |
typedef DDI::rep_type<N,pimpl_type>* DDBase< N, C >::prep_type |
typedef DDI::Singleton<DDI::Store<N,C> > DDBase< N, C >::StoreT |
static DDI::Store<N,C>::iterator DDBase< N, C >::begin | ( | ) | [inline, static] |
Definition at line 76 of file DDBase.h.
Referenced by WriteOneGeometryFromXML::beginJob(), RotationForOnline::beginJob(), and DDStreamer::rots_write().
00076 { return StoreT::instance().begin(); }
Reimplemented in DDAlgo, DDLogicalPart, DDMaterial, DDSolid, DDSpecifics, and DDRotation.
Definition at line 78 of file DDBase.h.
00078 { StoreT::instance().clear(); }
const N& DDBase< N, C >::ddname | ( | ) | const [inline] |
Definition at line 90 of file DDBase.h.
Referenced by DDMaterial::addMaterial(), DDG4Builder::BuildGeometry(), DDHCalEndcapAlgo::constructInsideModule(), DDHCalEndcapAlgo::constructInsideModule0(), DDG4Builder::convertLV(), DDalgoPosPart(), DDCheckConnect(), DDCheckMaterial(), DDHtmlLpDetails::details(), DDHtmlMaDetails::details(), DDHCalTBCableAlgo::execute(), DDTIBLayerAlgo_MTCC::execute(), DDPixBarLayerAlgo::execute(), DDTIDModuleAlgo::execute(), DDTECModuleAlgo::execute(), DDTIBLayerAlgo::execute(), DDHCalForwardAlgo::execute(), DDCompactView::global(), hierarchy(), DDErrorDetection::lp_cpv(), DDDividedConsRho::makeDDLogicalPart(), DDDividedBoxX::makeDDLogicalPart(), DDDividedTrdZ::makeDDLogicalPart(), DDDividedConsZ::makeDDLogicalPart(), DDDividedPolyhedraPhi::makeDDLogicalPart(), DDDividedConsPhi::makeDDLogicalPart(), DDDividedPolyconePhi::makeDDLogicalPart(), DDDividedPolyhedraRho::makeDDLogicalPart(), DDDividedTrdX::makeDDLogicalPart(), DDDividedBoxZ::makeDDLogicalPart(), DDDividedPolyhedraZ::makeDDLogicalPart(), DDDividedTubsRho::makeDDLogicalPart(), DDDividedBoxY::makeDDLogicalPart(), DDDividedPolyconeRho::makeDDLogicalPart(), DDDividedPolyconeZ::makeDDLogicalPart(), DDDividedTubsZ::makeDDLogicalPart(), DDDividedPolyconePhi::makeDDRotation(), DDDividedConsPhi::makeDDRotation(), DDDividedTubsPhi::makeDDRotation(), DDDividedPolyhedraPhi::makeDDRotation(), DDExpandedNodeLess::operator()(), operator<<(), DDI::LogicalPart::stream(), and DDCompactViewImpl::weight().
static DDI::Store<N,C>::iterator DDBase< N, C >::end | ( | ) | [inline, static] |
Definition at line 75 of file DDBase.h.
Referenced by WriteOneGeometryFromXML::beginJob(), RotationForOnline::beginJob(), and DDStreamer::rots_write().
00075 { return StoreT::instance().end(); }
Definition at line 120 of file DDBase.h.
Referenced by WriteOneGeometryFromXML::beginJob(), RotationForOnline::beginJob(), DDG4Builder::BuildGeometry(), DDDividedGeometryObject::checkParametersValidity(), dd_stream_booleans(), DDCheckMaterial(), DDCheckPD(), DDHtmlRoDetails::details(), DDHtmlLpDetails::details(), DDHtmlMaDetails::details(), DDCompactView::global(), DDDividedPolyhedraPhi::makeDDLogicalPart(), DDDividedPolyconePhi::makeDDLogicalPart(), operator<<(), DDLDivision::processElement(), DDLAlgoPosPart::processElement(), DDErrorDetection::so(), and DDI::Reflection::volume().
00121 { 00122 return prep_ ? 00123 std::make_pair(&(prep_->name()), bool(prep_->second)) 00124 : 00125 std::make_pair((const N *)0,false); 00126 }
true, if the wrapped pointer is valid
Definition at line 129 of file DDBase.h.
Referenced by DataProxy< IdealGeometryRecord, DDCompactView >::make(), DDLPosPart::processElement(), XMLIdealGeometryESSource::produce(), and DDBase< DDName, std::vector< std::string > * >::val().
const N& DDBase< N, C >::name | ( | ) | const [inline] |
Definition at line 88 of file DDBase.h.
Referenced by PhysicalPartsTree::beginJob(), MaterialForOnline::beginJob(), ListIds::beginJob(), SolidsForOnline::beginJob(), DDG4SolidConverter::box(), MagGeoBuilderFromDDD::build(), RPCGeometryBuilderFromDDD::buildGeometry(), DDG4SolidConverter::cons(), DDHCalEndcapAlgo::constructGeneralVolume(), DDHCalBarrelAlgo::constructGeneralVolume(), DDHCalEndcapAlgo::constructInsideModule(), DDHCalEndcapAlgo::constructInsideModule0(), DDHCalEndcapAlgo::constructInsideSector(), DDHCalBarrelAlgo::constructInsideSector(), DDG4Builder::convertLV(), DDG4Builder::convertMaterial(), dd_get_boolean_params(), dd_rot_out(), dd_stream_booleans(), dd_stream_reflected(), DDalgoPosPart(), DDBox::DDBox(), DDCheckAll(), DDCheckMaterial(), DDCheckPD(), DDCons::DDCons(), DDDivision::DDDivision(), DDExpandedViewDump(), DDIntersection::DDIntersection(), DDLogicalPart::DDLogicalPart(), DDPolycone::DDPolycone(), DDPolyhedra::DDPolyhedra(), DDPseudoTrap::DDPseudoTrap(), DDShapelessSolid::DDShapelessSolid(), DDSubtraction::DDSubtraction(), DDTorus::DDTorus(), DDTrap::DDTrap(), DDTruncTubs::DDTruncTubs(), DDTubs::DDTubs(), DDUnion::DDUnion(), DDTECModuleAlgo::doPos(), DDHCalTBCableAlgo::execute(), DDTIBLayerAlgo_MTCC::execute(), DDPixBarLayerAlgo::execute(), DDTIDModuleAlgo::execute(), DDEcalBarrelAlgo::execute(), DDTECModuleAlgo::execute(), DDTIBLayerAlgo::execute(), MuonDDDNumbering::getInt(), HcalTB06BeamSD::getNames(), MaterialBudgetHcalHistos::getNames(), HCalSD::getNames(), HCalSD::HCalSD(), HcalTB06BeamSD::HcalTB06BeamSD(), HFShower::HFShower(), hierarchy(), HcalTB02SD::initMap(), ECalSD::initMap(), DreamSD::initMap(), DDG4SolidConverter::intersection(), HcalNumberingFromDDD::loadGeometry(), DDDividedTubsPhi::makeDDLogicalPart(), DDDividedTrdY::makeDDLogicalPart(), DDLDivision::makeDivider(), DDStreamer::materials_read(), DDStreamer::materials_write(), operator<<(), DDMap::operator[](), DDStreamer::parts_write(), DDG4SolidConverter::polycone_rrz(), DDG4SolidConverter::polycone_rz(), DDG4SolidConverter::polyhedra_rrz(), DDG4SolidConverter::polyhedra_rz(), DDStreamer::pos_read(), DDStreamer::pos_write(), DDG4SolidConverter::pseudotrap(), CocoaAnalyzer::ReadXMLFile(), DDG4SolidConverter::reflected(), DDStreamer::rots_read(), DDStreamer::solids_write(), DDStreamer::specs_write(), DDG4SolidConverter::subtraction(), DDG4SolidConverter::torus(), DDG4SolidConverter::trap(), DDG4SolidConverter::trunctubs(), DDG4SolidConverter::tubs(), DDG4SolidConverter::unionsolid(), PrintGeomInfoAction::update(), DDBase< DDName, std::vector< std::string > * >::val(), MagGeoBuilderFromDDD::volumeHandle::volumeHandle(), and DDEcalBarrelAlgo::web().
DDI::rep_traits<N,C>::reference DDBase< N, C >::rep | ( | ) | [inline] |
const DDI::rep_traits<N,C>::reference DDBase< N, C >::rep | ( | ) | const [inline] |
Definition at line 94 of file DDBase.h.
Referenced by DDalgoPosPart(), DDBooleanSolid::DDBooleanSolid(), DDReflectionSolid::DDReflectionSolid(), DDMap::mapBegin(), DDMap::mapEnd(), operator<<(), DDMap::operator[](), DDRotation::rotation(), DDMap::size(), DDBase< DDName, std::vector< std::string > * >::val(), and DDMap::values().
Definition at line 79 of file DDBase.h.
Referenced by DDDividedPolyconeRho::makeDDLogicalPart().
00079 { return StoreT::instance().size(); }
std::string DDBase< N, C >::toString | ( | ) | const [inline] |
Definition at line 92 of file DDBase.h.
Referenced by DDMaterial::addMaterial(), PhysicalPartsTree::beginJob(), DDG4Builder::BuildGeometry(), DDDividedGeometryObject::checkParametersValidity(), DDG4SolidConverter::convert(), DDG4Builder::convertMaterial(), DDDToPersFactory::logicalPart(), DDDToPersFactory::material(), DDDToPersFactory::position(), DDDToPersFactory::rotation(), DDDToPersFactory::solid(), and DDDToPersFactory::specpar().
const DDI::rep_traits<N,C>::reference DDBase< N, C >::val | ( | ) | [inline] |
const DDI::rep_traits<N,C>::reference DDBase< N, C >::val | ( | ) | const [inline] |
Definition at line 136 of file DDBase.h.
Referenced by DDMap::DDMap(), DDBase< DDName, std::vector< std::string > * >::ddname(), DDRotation::DDRotation(), DDBase< DDName, std::vector< std::string > * >::isDefined(), DDBase< DDName, std::vector< std::string > * >::isValid(), DDBase< DDName, std::vector< std::string > * >::name(), DDBase< DDName, std::vector< std::string > * >::operator bool(), DDBase< DDName, std::vector< std::string > * >::operator<(), DDBase< DDName, std::vector< std::string > * >::operator==(), DDBase< DDName, std::vector< std::string > * >::operator>(), DDBase< DDName, std::vector< std::string > * >::rep(), and DDBase< DDName, std::vector< std::string > * >::toString().