Pad constructor with const Layer
This commit is contained in:
parent
a2bb796e6f
commit
0e1e4e2573
|
@ -54,10 +54,6 @@
|
||||||
* \Return the Layer named \c \<name\> if it exists and is a BasicLayer, else \NULL.
|
* \Return the Layer named \c \<name\> if it exists and is a BasicLayer, else \NULL.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*! \function CompositeLayer* Technology::getCompositeLayer ( const Name& name ) const;
|
|
||||||
* \Return the Layer named \c \<name\> if it exists and is a CompositeLayer, else \NULL.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*! \function Layers Technology::getLayers () const;
|
/*! \function Layers Technology::getLayers () const;
|
||||||
* \Return Returns the collection of layers of the technology.
|
* \Return Returns the collection of layers of the technology.
|
||||||
*
|
*
|
||||||
|
@ -79,11 +75,6 @@
|
||||||
* which matches the Layer mask \c \<mask\> (uses the same order).
|
* which matches the Layer mask \c \<mask\> (uses the same order).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*! \function CompositeLayers Technology::getCompositeLayers () const;
|
|
||||||
* \Return Returns the collection of composite layers of the technology
|
|
||||||
* (uses the same order).
|
|
||||||
*/
|
|
||||||
|
|
||||||
// \}
|
// \}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,8 @@ namespace Hurricane {
|
||||||
// Pad implementation
|
// Pad implementation
|
||||||
// ****************************************************************************************************
|
// ****************************************************************************************************
|
||||||
|
|
||||||
Pad::Pad(Net* net, Layer* layer, const Box& boundingBox)
|
Pad::Pad(Net* net, const Layer* layer, const Box& boundingBox)
|
||||||
// *****************************************************
|
// ***********************************************************
|
||||||
: Inherit(net),
|
: Inherit(net),
|
||||||
_layer(layer),
|
_layer(layer),
|
||||||
_boundingBox(boundingBox)
|
_boundingBox(boundingBox)
|
||||||
|
@ -32,8 +32,8 @@ Pad::Pad(Net* net, Layer* layer, const Box& boundingBox)
|
||||||
throw Error("Can't create " + _TName("Pad") + " : empty bounding box");
|
throw Error("Can't create " + _TName("Pad") + " : empty bounding box");
|
||||||
}
|
}
|
||||||
|
|
||||||
Pad* Pad::create(Net* net, Layer* layer, const Box& boundingBox)
|
Pad* Pad::create(Net* net, const Layer* layer, const Box& boundingBox)
|
||||||
// *************************************************************
|
// *******************************************************************
|
||||||
{
|
{
|
||||||
Pad* pad = new Pad(net, layer, boundingBox);
|
Pad* pad = new Pad(net, layer, boundingBox);
|
||||||
|
|
||||||
|
|
|
@ -31,15 +31,15 @@ class Pad : public Component {
|
||||||
// Attributes
|
// Attributes
|
||||||
// **********
|
// **********
|
||||||
|
|
||||||
private: Layer* _layer;
|
private: const Layer* _layer;
|
||||||
private: Box _boundingBox;
|
private: Box _boundingBox;
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
// ************
|
// ************
|
||||||
|
|
||||||
protected: Pad(Net* net, Layer* layer, const Box& boundingBox);
|
protected: Pad(Net* net, const Layer* layer, const Box& boundingBox);
|
||||||
|
|
||||||
public: static Pad* create(Net* net, Layer* layer, const Box& boundingBox);
|
public: static Pad* create(Net* net, const Layer* layer, const Box& boundingBox);
|
||||||
|
|
||||||
// Accessors
|
// Accessors
|
||||||
// *********
|
// *********
|
||||||
|
|
Loading…
Reference in New Issue