CPortDir Class Reference
Declaration object for input/output/inout statements.
More...
#include <cportdir.h>
List of all members.
Detailed Description
Declaration object for input/output/inout statements.
Constructor & Destructor Documentation
Create a port direction declaration.
- Parameters:
-
| symbol | name of declaration. |
| aLoc | file coordinates of declaration. |
| type | port declaration type. |
Member Function Documentation
virtual void CPortDir::Dump |
( |
FILE * |
f |
) |
[virtual] |
Dump declaration to file descriptor.
- Parameters:
-
Reimplemented from CDecl.
CDecl* CPortDir::GetDecl |
( |
void |
|
) |
[inline] |
Get variable declaration associated with this.
- Returns:
- variable declaration.
virtual NodeType_t CPortDir::GetNodeType |
( |
void |
|
) |
[inline, virtual] |
Get node expression type.
- Returns:
- node type.
Reimplemented from CDecl.
Decl_t CPortDir::GetPortType |
( |
|
) |
[inline] |
Get port type of declaration.
- Returns:
- port type: eINPUT, eOUTPUT, eINOUT.
void CPortDir::SetDecl |
( |
CDecl * |
d |
) |
[inline] |
Set association to variable declaration.
- Parameters:
-
void CPortDir::SetPortType |
( |
Decl_t |
t |
) |
[inline] |
Set port type for declaration.
- Parameters:
-
| t | port type: eINPUT, eOUTPUT, eINOUT. |
The documentation for this class was generated from the following file: