1 #ifndef DDLogicalPart_h 2 #define DDLogicalPart_h 117 std::vector<const DDsvalues_type *>
specifics(
void)
const;
123 void addSpecifics(
const std::pair<const DDPartSelection *, const DDsvalues_type *> &);
124 void removeSpecifics(
const std::pair<DDPartSelection *, DDsvalues_type *> &);
125 const std::vector<std::pair<const DDPartSelection *, const DDsvalues_type *> > &
attachedSpecifics(
void)
const;
132 std::vector<DDLogicalPart> &
result,
133 bool doRegex =
true);
void removeSpecifics(const std::pair< DDPartSelection *, DDsvalues_type *> &)
DDsvalues_type mergedSpecifics(void) const
returns the merged-specifics, i.e. the last specified specifics of this logical-part ...
void addSpecifics(const std::pair< const DDPartSelection *, const DDsvalues_type *> &)
don't use, internal only /todo make it private
bool hasDDValue(const DDValue &) const
DDMaterial is used to define and access material information.
DDName is used to identify DDD entities uniquely.
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
A DDSolid represents the shape of a part.
DDI::Singleton< std::map< std::string, std::vector< DDName > > > LPNAMES
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
void DD_NC(const DDName &)
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
DDEnums::Category category(void) const
Returns the categorization of the DDLogicalPart (sensitive detector element, cable, ...)
std::vector< const DDsvalues_type * > specifics(void) const
returns the specific-data attached to the LogicalPart only (not to a DDExpandedNode) ...
const DDMaterial & material(void) const
Returns a reference object of the material this LogicalPart is made of.
const DDName & name() const
std::pair< bool, std::string > DDIsValid(const std::string &ns, const std::string &name, std::vector< DDLogicalPart > &result, bool doRegex=true)
const DDSolid & solid(void) const
Returns a reference object of the solid being the shape of this LogicalPart.
DDLogicalPart(void)
The default constructor provides an uninitialzed reference object.
const std::vector< std::pair< const DDPartSelection *, const DDsvalues_type * > > & attachedSpecifics(void) const
std::ostream & operator<<(std::ostream &, const DDLogicalPart &)
Interface to attach user specific data to nodes in the expanded-view.