cleaning again

This commit is contained in:
Christophe Alexandre 2008-03-25 11:18:17 +00:00
parent eb54b6238e
commit ecba4fe7e0
1 changed files with 7 additions and 7 deletions

View File

@ -114,7 +114,7 @@ void Device::_Place(Instance* ins, const Transformation::Orientation& orientatio
throw Error("Can't Place Instance : ins is NULL");
}
if(ins->IsPlaced()) {
if(ins->isPlaced()) {
throw Error("Can't Place " + getString(ins) + " : it has already been placed");
}
@ -126,8 +126,8 @@ void Device::_Place(Instance* ins, const Transformation::Orientation& orientatio
Transformation transformation_ins = Transformation(translation, orientation);
ins->SetTransformation(transformation_ins);
ins->SetPlacementStatus(Instance::PlacementStatus::PLACED);
ins->setTransformation(transformation_ins);
ins->setPlacementStatus(Instance::PlacementStatus::PLACED);
}
@ -138,7 +138,7 @@ void Device::_setRefIns(Instance* ins) const
throw Error("Can't SetRefIns : ref instance is NULL");
}
if(ins->IsUnplaced()) {
if(ins->isUnplaced()) {
throw Error("Can't SetRefIns : ref instance has't been placed");
}
@ -153,7 +153,7 @@ void Device::_PlaceRight(Instance* ins, const Transformation::Orientation& orien
throw Error("Can't PlaceRight Instance : ins is NULL");
}
if(ins->IsPlaced()) {
if(ins->isPlaced()) {
throw Error("Can't PlaceRight " + getString(ins) + " : it has already been placed");
}
@ -172,8 +172,8 @@ void Device::_PlaceRight(Instance* ins, const Transformation::Orientation& orien
Transformation transformation_ins = Transformation(translation, orientation);
ins->SetTransformation(transformation_ins);
ins->SetPlacementStatus(Instance::PlacementStatus::PLACED);
ins->setTransformation(transformation_ins);
ins->setPlacementStatus(Instance::PlacementStatus::PLACED);
refins = ins;
}