systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
systemc_clang::Node Class Reference

#include <Automata.h>

Public Types

typedef pair< int, Node * > connectPairType
 
typedef map< int, Node * > connectMapType
 

Public Member Functions

 Node ()
 Node class.
 
 Node (int)
 
void addSuccessor (Node *)
 
void addPredecessor (Node *)
 
vector< int > getSuccessors (int)
 
vector< int > getPredecessors (int)
 
int getId ()
 
void dump (raw_ostream &, int)
 

Protected Attributes

int _id
 
connectMapType _preds
 
connectMapType _succs
 

Detailed Description

Definition at line 19 of file Automata.h.

Member Typedef Documentation

◆ connectMapType

Definition at line 22 of file Automata.h.

◆ connectPairType

Definition at line 21 of file Automata.h.

Constructor & Destructor Documentation

◆ Node() [1/2]

Node::Node ( )

Node class.

Definition at line 7 of file Automata.cpp.

◆ Node() [2/2]

Node::Node ( int i)

Definition at line 9 of file Automata.cpp.

Member Function Documentation

◆ addPredecessor()

void Node::addPredecessor ( Node * p)

Definition at line 18 of file Automata.cpp.

◆ addSuccessor()

void Node::addSuccessor ( Node * s)

Definition at line 13 of file Automata.cpp.

◆ dump()

void Node::dump ( raw_ostream & os,
int tabn )

Definition at line 46 of file Automata.cpp.

◆ getId()

int Node::getId ( )

Definition at line 11 of file Automata.cpp.

◆ getPredecessors()

vector< int > Node::getPredecessors ( int toId)

Definition at line 34 of file Automata.cpp.

◆ getSuccessors()

vector< int > Node::getSuccessors ( int fromId)

Definition at line 22 of file Automata.cpp.

Member Data Documentation

◆ _id

int systemc_clang::Node::_id
protected

Definition at line 37 of file Automata.h.

◆ _preds

connectMapType systemc_clang::Node::_preds
protected

Definition at line 38 of file Automata.h.

◆ _succs

connectMapType systemc_clang::Node::_succs
protected

Definition at line 39 of file Automata.h.


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