23 const std::vector<std::string> & partSelections,
29 std::vector<std::pair<DDLogicalPart,std::pair<const DDPartSelection*, const DDsvalues_type*> > >
v;
30 rep().updateLogicalPart(v);
32 if( it.first.isDefined().second ) {
33 it.first.addSpecifics( it.second );
36 throw cms::Exception(
"DDException") <<
"Definition of LogicalPart missing! name=" 37 << it.first.ddname().fullname();
46 return rep().selection();
51 return rep().specifics();
76 os << *(defined.first) <<
" ";
81 os <<
"* specific not defined * ";
85 os <<
"* specific not declared * ";
90 std::ostream & operator<<( std::ostream & os, const std::vector<std::string> &
v)
92 for(
const auto& it :
v ) {
93 os << it << std::endl;
const DDI::rep_traits< DDName, DDI::Specific * >::reference rep() const
def_type isDefined() const
const DDName & name() const
DDName is used to identify DDD entities uniquely.
static value_type & instance()
std::pair< bool, DDExpandedView > node() const
Calculates the geometrical history of a fully specified PartSelector.
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
std::maps an index to a DDValue. The index corresponds to the index assigned to the name of the std::...
friend std::ostream & operator<<(std::ostream &, const DDSpecifics &)
const DDsvalues_type & specifics() const
Reference to the user-data attached to all nodes selected by the selections-strings given through sel...
DDSpecifics()
Creates a uninitialized reference-object (see DDLogicalPart documentation for details on reference ob...
Interface to attach user specific data to nodes in the expanded-view.
const std::vector< DDPartSelection > & selection() const
Gives a reference to the collection of part-selections.