#include <LogicalPart.h>
Public Member Functions | |
void | addSpecifics (const std::pair< DDPartSelection *, DDsvalues_type * > &) |
const std::vector< std::pair < DDPartSelection *, DDsvalues_type * > > & | attachedSpecifics () const |
DDEnums::Category | category () const |
bool | hasDDValue (const DDValue &) const |
LogicalPart (const DDMaterial &, const DDSolid &, DDEnums::Category=DDEnums::unspecified) | |
const DDMaterial & | material () const |
DDsvalues_type | mergedSpecifics () const |
void | mergedSpecificsV (DDsvalues_type &res) const |
void | removeSpecifics (const std::pair< DDPartSelection *, DDsvalues_type * > &) |
const DDSolid & | solid () const |
std::vector< const DDsvalues_type * > | specifics () const |
void | specificsV (std::vector< const DDsvalues_type * > &result) const |
void | stream (std::ostream &) |
double & | weight () |
Private Attributes | |
DDEnums::Category | cat_ |
std::vector< bool > | hasDDValue_ |
DDMaterial | material_ |
DDSolid | solid_ |
std::vector< std::pair < DDPartSelection *, DDsvalues_type * > > | specifics_ |
std::map< DDValue, std::vector < DDPartSelection * > > | valToParsel_ |
double | weight_ |
Definition at line 18 of file LogicalPart.h.
LogicalPart::LogicalPart | ( | const DDMaterial & | m, |
const DDSolid & | s, | ||
DDEnums::Category | c = DDEnums::unspecified |
||
) |
Definition at line 11 of file LogicalPart.cc.
void LogicalPart::addSpecifics | ( | const std::pair< DDPartSelection *, DDsvalues_type * > & | s | ) |
Definition at line 30 of file LogicalPart.cc.
References dtNoiseDBValidation_cfg::cerr, DCOUT, hasDDValue_, errorMatrix2Lands_multiChannel::id, DDValue::name(), specifics_, and DDValue::strings().
|
inline |
Definition at line 34 of file LogicalPart.h.
References specifics_.
DDEnums::Category LogicalPart::category | ( | void | ) | const |
bool LogicalPart::hasDDValue | ( | const DDValue & | v | ) | const |
Definition at line 57 of file LogicalPart.cc.
References hasDDValue_, DDValue::id(), errorMatrix2Lands_multiChannel::id, and query::result.
const DDMaterial & LogicalPart::material | ( | void | ) | const |
DDsvalues_type LogicalPart::mergedSpecifics | ( | void | ) | const |
Definition at line 96 of file LogicalPart.cc.
References mergedSpecificsV().
void LogicalPart::mergedSpecificsV | ( | DDsvalues_type & | res | ) | const |
Definition at line 103 of file LogicalPart.cc.
References relval_steps::merge(), and specificsV().
Referenced by mergedSpecifics().
void LogicalPart::removeSpecifics | ( | const std::pair< DDPartSelection *, DDsvalues_type * > & | s | ) |
Definition at line 67 of file LogicalPart.cc.
References spr::find(), alignCSCRings::s, and specifics_.
const DDSolid & LogicalPart::solid | ( | void | ) | const |
std::vector< const DDsvalues_type * > LogicalPart::specifics | ( | void | ) | const |
Definition at line 75 of file LogicalPart.cc.
References query::result, and specificsV().
void LogicalPart::specificsV | ( | std::vector< const DDsvalues_type * > & | result | ) | const |
Definition at line 83 of file LogicalPart.cc.
References ddanylogp, and specifics_.
Referenced by mergedSpecificsV(), and specifics().
void LogicalPart::stream | ( | std::ostream & | os | ) |
Definition at line 23 of file LogicalPart.cc.
References DDBase< N, C >::ddname(), material(), and solid().
double & LogicalPart::weight | ( | void | ) |
|
private |
Definition at line 42 of file LogicalPart.h.
Referenced by category().
|
private |
Definition at line 48 of file LogicalPart.h.
Referenced by addSpecifics(), and hasDDValue().
|
private |
Definition at line 40 of file LogicalPart.h.
Referenced by material().
|
private |
Definition at line 41 of file LogicalPart.h.
Referenced by solid().
|
private |
Definition at line 47 of file LogicalPart.h.
Referenced by addSpecifics(), attachedSpecifics(), removeSpecifics(), and specificsV().
|
private |
Definition at line 46 of file LogicalPart.h.
|
private |
Definition at line 43 of file LogicalPart.h.
Referenced by weight().