void CStackInstance::setArmyObj(const CArmedInstance *ArmyObj) { if(_armyObj) detachFrom(const_cast<CArmedInstance*>(_armyObj)); _armyObj = ArmyObj; if(ArmyObj) { attachTo(const_cast<CArmedInstance*>(_armyObj)); } }
void CStackInstance::setType(const CCreature *c) { if(type) { detachFrom(const_cast<CCreature*>(type)); if (type->isMyUpgrade(c) && VLC->modh->modules.STACK_EXP) experience *= VLC->creh->expAfterUpgrade / 100.0; } type = c; if(type) attachTo(const_cast<CCreature*>(type)); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool ResponseFIR::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool DataUsed::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool StationMagnitudeContribution::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool Reading::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool ResponsePolynomial::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool MomentTensor::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool Amplitude::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool FocalMechanism::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool EventDescription::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool JournalEntry::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool QCLog::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool AuxDevice::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool OriginReference::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool MomentTensorStationContribution::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool ParameterSet::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool Arrival::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool StationGroup::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool Comment::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool Route::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool ConfigModule::detach() { if ( parent() == NULL ) return false; return detachFrom(parent()); }