From dfa8415862bbca27ee13a0099d255450a546ac7d Mon Sep 17 00:00:00 2001 From: Christophe Alexandre Date: Fri, 4 Jan 2008 16:07:49 +0000 Subject: [PATCH] new method convention in progress --- hurricane/src/analogic/GenTrans.h | 18 +++--- hurricane/src/analogic/GenV1Trans.cpp | 80 +++++++++++++-------------- 2 files changed, 49 insertions(+), 49 deletions(-) diff --git a/hurricane/src/analogic/GenTrans.h b/hurricane/src/analogic/GenTrans.h index fa56ae80..7c4d8fa8 100644 --- a/hurricane/src/analogic/GenTrans.h +++ b/hurricane/src/analogic/GenTrans.h @@ -117,14 +117,14 @@ # define CREATE_CONTACT_MATRIX_UNDER(underbox, nbcolumn, layer, net) \ \ - if(underbox.GetHeight()GetAbutmentType().GetCode()) { case Transistor::Type::INTERNAL : - transistor->SetAbutmentBox( Box(GET_BOX(string("20")).GetXCenter() - , transistor->GetBoundingBox().GetYMin() - , GET_BOX(string("40")).GetXCenter() - , transistor->GetBoundingBox().GetYMax() + transistor->SetAbutmentBox( Box(GET_BOX(string("20")).getXCenter() + , transistor->GetBoundingBox().getYMin() + , GET_BOX(string("40")).getXCenter() + , transistor->GetBoundingBox().getYMax() ) ); break; case Transistor::Type::LEFT: - transistor->SetAbutmentBox( Box(GET_BOX(string("11")).GetXMin() - , transistor->GetBoundingBox().GetYMin() - , GET_BOX(string("40")).GetXCenter() - , transistor->GetBoundingBox().GetYMax() + transistor->SetAbutmentBox( Box(GET_BOX(string("11")).getXMin() + , transistor->GetBoundingBox().getYMin() + , GET_BOX(string("40")).getXCenter() + , transistor->GetBoundingBox().getYMax() ) ); break ; case Transistor::Type::RIGHT: - transistor->SetAbutmentBox( Box(GET_BOX(string("20")).GetXCenter() - , transistor->GetBoundingBox().GetYMin() - , GET_BOX(string("11")).GetXMax() - , transistor->GetBoundingBox().GetYMax() + transistor->SetAbutmentBox( Box(GET_BOX(string("20")).getXCenter() + , transistor->GetBoundingBox().getYMin() + , GET_BOX(string("11")).getXMax() + , transistor->GetBoundingBox().getYMax() ) ); break ; case Transistor::Type::SINGLE: - transistor->SetAbutmentBox( Box(GET_BOX(string("11")).GetXMin() - , transistor->GetBoundingBox().GetYMin() - , GET_BOX(string("11")).GetXMax() - , transistor->GetBoundingBox().GetYMax() + transistor->SetAbutmentBox( Box(GET_BOX(string("11")).getXMin() + , transistor->GetBoundingBox().getYMin() + , GET_BOX(string("11")).getXMax() + , transistor->GetBoundingBox().getYMax() ) ); break ;