26 if(!inInstancePinPtr.expired()) {
28 mInstancePins.insert(InstancePinMap::value_type(instancePinSharedPtr->getPinName(),
29 instancePinSharedPtr));
34 if(!inInstancePinPtr.expired()) {
37 std::pair<InstancePinSharedPtrIterator, InstancePinSharedPtrIterator> range
38 =
mInstancePins.equal_range(instancePinSharedPtr->getPinName());
40 while(range.first != range.second) {
41 if(range.first->second == instancePinSharedPtr) {
void removePin(const InstancePinWeakPtr &inInstancePinPtr)
Remove the referenced InstancePin from our pin map.
Header for the Instance class.
void addPin(const InstancePinWeakPtr &inInstancePinPtr)
Add the referenced InstancePin to our pin map.
boost::shared_ptr< class InstancePin > InstancePinSharedPtr
Shared pointer encapsulation of an InstancePin.
InstancePinMap mInstancePins
The map of pin names to InstancePin weak pointers.
boost::weak_ptr< class InstancePin > InstancePinWeakPtr
Weak pointer encapsulation of an InstancePin.
Header for the InstancePin class.