Bitstream Interpretation Library (BIL)  0.1
Public Member Functions
bil::Net Class Reference

Defines a XDL net. More...

#include <xdl/model/Net.hpp>

List of all members.

Public Member Functions

 Net ()
 Constructs a new Net instance.
std::string & name ()
 Gets name.
const std::string & name () const
 Gets name read only.
void type (NetType::net_t type)
 Sets type.
NetType::net_t type () const
 Gets type.
PinRefspinRefs ()
 Gets pins the net is attached to.
const PinRefspinRefs () const
 Gets pins the net is attached to read only.
PIPRefspipRefs ()
 Gets PIPs the net crosses.
const PIPRefspipRefs () const
 Gets PIPs the net crosses read only.
std::string & attributes ()
 Gets attribute string.
const std::string & attributes () const
 Gets attribute string read only.
void clear ()
 Resets all properties to default values.

Detailed Description

Defines a XDL net.

A net has got a name, a type, and lists of used pins and PIPs.

Definition at line 23 of file Net.hpp.


Constructor & Destructor Documentation

Net::Net ( )

Constructs a new Net instance.

Definition at line 11 of file Net.cpp.


Member Function Documentation

std::string & Net::name ( )

Gets name.

Returns:
The name.

Definition at line 22 of file Net.cpp.

const std::string & Net::name ( ) const

Gets name read only.

Returns:
The name.

Definition at line 28 of file Net.cpp.

void Net::type ( NetType::net_t  type)

Sets type.

Parameters:
typeThe new type.

Definition at line 34 of file Net.cpp.

NetType::net_t Net::type ( ) const

Gets type.

Returns:
The type.

Definition at line 40 of file Net.cpp.

PinRefs & Net::pinRefs ( )

Gets pins the net is attached to.

Returns:
The pin references.

Definition at line 46 of file Net.cpp.

const PinRefs & Net::pinRefs ( ) const

Gets pins the net is attached to read only.

Returns:
The pin references.

Definition at line 52 of file Net.cpp.

PIPRefs & Net::pipRefs ( )

Gets PIPs the net crosses.

Returns:
The PIP references.

Definition at line 58 of file Net.cpp.

const PIPRefs & Net::pipRefs ( ) const

Gets PIPs the net crosses read only.

Returns:
The PIP references.

Definition at line 64 of file Net.cpp.

std::string & Net::attributes ( )

Gets attribute string.

Returns:
The attribute string.

Definition at line 70 of file Net.cpp.

const std::string & Net::attributes ( ) const

Gets attribute string read only.

Returns:
The attribute string.

Definition at line 76 of file Net.cpp.

void Net::clear ( )

Resets all properties to default values.

Definition at line 82 of file Net.cpp.


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