16 #ifndef TORC_PACKER_PRIMITIVEPIN_HPP
17 #define TORC_PACKER_PRIMITIVEPIN_HPP
21 #include <boost/smart_ptr.hpp>
49 :
Named(inPinName), mElementName(inElementName), mType(inType) {}
60 string sTmp = (mType==
Unknown) ?
"Unknown" : (mType==
InputP) ?
"input":
"output";
66 && mName == rhs.
mName && mType == mType; }
85 #endif // TORC_PACKER_PRIMITIVEPIN_HPP
const string & getElementName(void) const
Returns the element pointer or NULL.
string mName
The name of the object.
std::vector< PrimitivePin > PrimitivePinVector
Vector of primitive pins.
RcFactory class for physical netlist elements.
Concept for any object that can be named.
const string getTypeString(void) const
Returns the type string.
string mElementName
Element Name.
Header for Xilinx physical types.
Header for the Named class.
const PinType getType(void) const
Returns pin type.
PrimitivePin(string inElementName, string inPinName, const PinType inType)
Construct from primitive reference and pin name.
boost::weak_ptr< PrimitivePin > PrimitivePinWeakPtr
Weak pointer encapsulation of a componenet.
bool operator==(const location &loc1, const location &loc2)
Compare two location objects.
Physical design primitive-pin.
boost::shared_ptr< PrimitivePin > PrimitivePinSharedPtr
Shared pointer encapsulation of a componenet.
std::vector< PrimitivePinSharedPtr > PrimitivePinSharedPtrVector
Vector of componenet shared pointers.
PinType mType
Type of pin.