torc::architecture::Package Class Reference

Encapsulation of a physical device package and its pins. More...

#include <Package.hpp>

List of all members.

Public Member Functions

 Package (void)
 Null constructor.
const stringgetName (void) const
 Returns the package name.
const PadArraygetPads (void) const
 Returns a constant array of package pads.
PadIndex findPadIndexByName (const string &inName) const
 Returns the pad index corresponding to the given pad name.

Protected Types

typedef std::string string
 Imported type name.
typedef xilinx::PadIndex PadIndex
 Imported type name.
typedef std::map< std::string,
PadIndex
PadNameToPadIndexMap
 A map from pad names to pad indexes.

Protected Member Functions

 Package (const string &inName)
 Protected constructor.
PadArraygetPads (void)
 Returns a non-constant array of package pads.

Protected Attributes

string mName
 The package name.
PadArray mPads
 The array of pads for this package.
PadNameToPadIndexMap mPadNameToPadIndex
 The map from pad names to corresponding map indexes.

Friends

class Sites
 The Sites class has access to our internals.
class torc::architecture::architecture::PackageUnitTest
 Our unit test class has access to our internals.


Detailed Description

Encapsulation of a physical device package and its pins.

Definition at line 33 of file Package.hpp.


Member Typedef Documentation

typedef std::string torc::architecture::Package::string [protected]

Imported type name.

Definition at line 41 of file Package.hpp.

Imported type name.

Definition at line 42 of file Package.hpp.

typedef std::map<std::string, PadIndex> torc::architecture::Package::PadNameToPadIndexMap [protected]

A map from pad names to pad indexes.

Definition at line 44 of file Package.hpp.


Constructor & Destructor Documentation

torc::architecture::Package::Package ( const string inName  )  [inline, protected]

Protected constructor.

Definition at line 54 of file Package.hpp.

torc::architecture::Package::Package ( void   )  [inline]

Null constructor.

Definition at line 61 of file Package.hpp.


Member Function Documentation

PadArray& torc::architecture::Package::getPads ( void   )  [inline, protected]

Returns a non-constant array of package pads.

Definition at line 57 of file Package.hpp.

const string& torc::architecture::Package::getName ( void   )  const [inline]

Returns the package name.

Definition at line 64 of file Package.hpp.

const PadArray& torc::architecture::Package::getPads ( void   )  const [inline]

Returns a constant array of package pads.

Definition at line 66 of file Package.hpp.

PadIndex torc::architecture::Package::findPadIndexByName ( const string inName  )  const [inline]

Returns the pad index corresponding to the given pad name.

Definition at line 69 of file Package.hpp.


Friends And Related Function Documentation

friend class Sites [friend]

The Sites class has access to our internals.

Definition at line 37 of file Package.hpp.

friend class torc::architecture::architecture::PackageUnitTest [friend]

Our unit test class has access to our internals.

Definition at line 39 of file Package.hpp.


Member Data Documentation

The package name.

Definition at line 47 of file Package.hpp.

The array of pads for this package.

Definition at line 49 of file Package.hpp.

The map from pad names to corresponding map indexes.

Definition at line 51 of file Package.hpp.


The documentation for this class was generated from the following file:

Generated on Thu Oct 13 16:49:33 2011 for TORC by  doxygen 1.5.6