GateRec Struct Reference

The Class GateRec stores the data for a specific gate, after reading it from a netlist file. More...

#include <NetlistParser.h>

List of all members.

Public Member Functions

void addOutput (const std::string &net)
 Adds the output to a list.
void addInput (const std::string &net)
 Adds the input to a list.
void setDelay (const SimTime &delay)
 Sets the delay.
void setName (const std::string &name)
 Sets the name.
const std::string & getName () const
 Gets the name.

Public Attributes

std::string name
 The name.
std::vector< std::string > outputs
 The net names outputs.
std::vector< std::string > inputs
 The net names inputs.
SimTime delay
 The delay.

Detailed Description

The Class GateRec stores the data for a specific gate, after reading it from a netlist file.


Member Function Documentation

void GateRec::addInput ( const std::string &  net  )  [inline]

Adds the input to a list.

Parameters:
net the net
void GateRec::addOutput ( const std::string &  net  )  [inline]

Adds the output to a list.

Parameters:
net the net
const std::string& GateRec::getName (  )  const [inline]

Gets the name.

Returns:
the name
void GateRec::setDelay ( const SimTime delay  )  [inline]

Sets the delay.

Parameters:
delay the new delay
void GateRec::setName ( const std::string &  name  )  [inline]

Sets the name.

Parameters:
name the new name

Member Data Documentation

The delay.

std::vector<std::string> GateRec::inputs

The net names inputs.

std::string GateRec::name

The name.

std::vector<std::string> GateRec::outputs

The net names outputs.


The documentation for this struct was generated from the following file:
Generated on Tue Aug 2 11:51:27 2011 for Galois by  doxygen 1.6.3