#include <PrimitiveDef.hpp>
Public Member Functions | |
PrimitiveDef (void) | |
Null constructor. This constructor should only be used by containers. | |
PinIndex | findPinIndexByName (const std::string &inName) const |
Returns the pin index corresponding to the given pin name, or PinIndex::undefined() if the pin name does not exist. inName The pin name to find. | |
const string & | getName (void) const |
Returns the name of the primitive. | |
const PrimitivePinArray & | getPins (void) const |
Returns a constant array of primitive pins. | |
const PrimitiveElementArray & | getElements (void) const |
Returns a constant array of primitive elements. | |
const PrimitiveConnSharedPtrArray & | getConnections (void) const |
Returns a constant array of primitive connection shared pointers. | |
Protected Types | |
typedef xilinx::PinIndex | PinIndex |
Imported type name. | |
typedef std::string | string |
Imported type name. | |
typedef std::map< std::string, PinIndex > | PinNameToPinIndexMap |
Map of pin names to pin indexes for a primitive element. | |
Protected Member Functions | |
PrimitivePinArray & | getPins (void) |
Returns a non-constant array of element pins. This function should only be used by the Sites class during database iniialization. | |
Protected Attributes | |
std::string | mName |
The primitive name. | |
PrimitivePinArray | mPins |
The primitive pins. | |
PrimitiveElementArray | mElements |
The primitive elements. | |
PrimitiveConnSharedPtrArray | mConnections |
The primitive internal connections. | |
PinNameToPinIndexMap | mPinNameToPinIndex |
The map of pin names to pin indexes. | |
Friends | |
class | Sites |
Definition at line 30 of file PrimitiveDef.hpp.
typedef xilinx::PinIndex torc::architecture::PrimitiveDef::PinIndex [protected] |
typedef std::string torc::architecture::PrimitiveDef::string [protected] |
typedef std::map<std::string, PinIndex> torc::architecture::PrimitiveDef::PinNameToPinIndexMap [protected] |
Map of pin names to pin indexes for a primitive element.
Definition at line 38 of file PrimitiveDef.hpp.
torc::architecture::PrimitiveDef::PrimitiveDef | ( | void | ) | [inline] |
Null constructor. This constructor should only be used by containers.
Definition at line 59 of file PrimitiveDef.hpp.
PrimitivePinArray& torc::architecture::PrimitiveDef::getPins | ( | void | ) | [inline, protected] |
Returns a non-constant array of element pins. This function should only be used by the Sites class during database iniialization.
Definition at line 54 of file PrimitiveDef.hpp.
PinIndex torc::architecture::PrimitiveDef::findPinIndexByName | ( | const std::string & | inName | ) | const [inline] |
Returns the pin index corresponding to the given pin name, or PinIndex::undefined() if the pin name does not exist. inName The pin name to find.
Definition at line 64 of file PrimitiveDef.hpp.
const string& torc::architecture::PrimitiveDef::getName | ( | void | ) | const [inline] |
const PrimitivePinArray& torc::architecture::PrimitiveDef::getPins | ( | void | ) | const [inline] |
const PrimitiveElementArray& torc::architecture::PrimitiveDef::getElements | ( | void | ) | const [inline] |
const PrimitiveConnSharedPtrArray& torc::architecture::PrimitiveDef::getConnections | ( | void | ) | const [inline] |
Returns a constant array of primitive connection shared pointers.
Definition at line 77 of file PrimitiveDef.hpp.
std::string torc::architecture::PrimitiveDef::mName [protected] |