Go to the documentation of this file. 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);
std::ostream & operator<<(std::ostream &, const DDLogicalPart &)
DDName is used to identify DDD entities uniquely.
const DDMaterial & material(void) const
Returns a reference object of the material this LogicalPart is made of.
DDLogicalPart(void)
The default constructor provides an uninitialzed reference object.
DDMaterial is used to define and access material information.
void removeSpecifics(const std::pair< DDPartSelection *, DDsvalues_type * > &)
const DDName & name() const
Interface to attach user specific data to nodes in the expanded-view.
std::vector< const DDsvalues_type * > specifics(void) const
returns the specific-data attached to the LogicalPart only (not to a DDExpandedNode)
DDEnums::Category category(void) const
Returns the categorization of the DDLogicalPart (sensitive detector element, cable,...
DDI::Singleton< std::map< std::string, std::vector< DDName > > > LPNAMES
A DDLogicalPart aggregates information concerning material, solid and sensitveness ....
void DD_NC(const DDName &)
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
std::pair< bool, std::string > DDIsValid(const std::string &ns, const std::string &name, std::vector< DDLogicalPart > &result, bool doRegex=true)
const std::vector< std::pair< const DDPartSelection *, const DDsvalues_type * > > & attachedSpecifics(void) const
A DDSolid represents the shape of a part.
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
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
const DDSolid & solid(void) const
Returns a reference object of the solid being the shape of this LogicalPart.
bool hasDDValue(const DDValue &) const