Bitstream Interpretation Library (BIL)  0.1
Public Member Functions | Friends
bil::PIPRef Class Reference

References a PIP on a distinct tile. More...

#include <xdl/model/PIPRef.hpp>

List of all members.

Public Member Functions

 PIPRef ()
 Constructs a new PIPRef instance.
void tileIndex (size_t index)
 Sets tile the PIP is on.
size_t tileIndex () const
 Gets index of tile the PIP is on.
void pipIndex (size_t index)
 Sets index of PIP.
size_t pipIndex () const
 Gets index of PIP.
void clear ()
 Resets all properties to default values.

Friends

bool operator== (const PIPRef &ref1, const PIPRef &ref2)
 Tests two PIPRef instances for memberwise equality.
bool operator< (const PIPRef &ref1, const PIPRef &ref2)
 Tests two PIPRef instances for memberwise <.

Detailed Description

References a PIP on a distinct tile.

In a XDL design this class is used to denote activated PIPs. It contains one index to the tile the PIP is on, and one index to the PIP itself.

Definition at line 22 of file PIPRef.hpp.


Constructor & Destructor Documentation

PIPRef::PIPRef ( )

Constructs a new PIPRef instance.

Definition at line 11 of file PIPRef.cpp.


Member Function Documentation

void PIPRef::tileIndex ( size_t  index)

Sets tile the PIP is on.

Parameters:
indexIndex of a Tile in a Device.

Definition at line 19 of file PIPRef.cpp.

size_t PIPRef::tileIndex ( ) const

Gets index of tile the PIP is on.

Returns:
Index of a Tile in a Device.

Definition at line 25 of file PIPRef.cpp.

void PIPRef::pipIndex ( size_t  index)

Sets index of PIP.

Parameters:
indexIndex of PIP in corresponding TileType.

Definition at line 31 of file PIPRef.cpp.

size_t PIPRef::pipIndex ( ) const

Gets index of PIP.

Returns:
Index of PIP in corresponding TileType.

Definition at line 37 of file PIPRef.cpp.

void PIPRef::clear ( )

Resets all properties to default values.

Definition at line 43 of file PIPRef.cpp.


Friends And Related Function Documentation

bool operator== ( const PIPRef ref1,
const PIPRef ref2 
)
friend

Tests two PIPRef instances for memberwise equality.

Definition at line 91 of file PIPRef.hpp.

bool operator< ( const PIPRef ref1,
const PIPRef ref2 
)
friend

Tests two PIPRef instances for memberwise <.

Definition at line 105 of file PIPRef.hpp.


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