Public Member Functions | Public Attributes | Private Member Functions

risc::HierarchicalChannel Class Reference

#include <hierarchical_channel.h>

Inheritance diagram for risc::HierarchicalChannel:
Inheritance graph
[legend]
Collaboration diagram for risc::HierarchicalChannel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 HierarchicalChannel (SgClassDefinition *ast_node)
 Default constructor.
SgClassDefinition * get_ast_node ()
 Returns the ast definition of the class.
std::string get_name ()
 returns the name of the module definition
virtual std::string get_ast_type_name ()
 Returns the name of the module type.
virtual SgType * get_ast_type ()
 Returns the type of the ast node.
bool has_source_location ()
 Determines if a ast node has an associated ast node.
std::string get_file_name ()
 Get the name of the file where the declaration is located.
int get_line_number ()
 Get the line number of the instance.
int get_position_in_line ()
 Get the position of the in declaration in the corresponding line In other words the column in the line.

Public Attributes

SgNode * ast_node_
SgType * ast_type_pointer_

Private Member Functions

 HierarchicalChannel (const HierarchicalChannel &hcd)
 Disabled copy constructor.

Constructor & Destructor Documentation

risc::HierarchicalChannel::HierarchicalChannel ( SgClassDefinition *  ast_node  )  [explicit]

Default constructor.

risc::HierarchicalChannel::HierarchicalChannel ( const HierarchicalChannel hcd  )  [private]

Disabled copy constructor.


Member Function Documentation

SgClassDefinition * risc::Class::get_ast_node (  )  [virtual, inherited]

Returns the ast definition of the class.

Returns:
Pointer to the definition

Reimplemented from risc::Definition.

SgType * risc::Definition::get_ast_type (  )  [virtual, inherited]

Returns the type of the ast node.

std::string risc::Class::get_ast_type_name (  )  [virtual, inherited]

Returns the name of the module type.

Returns:
name of the module instance

Reimplemented from risc::Definition.

std::string risc::Definition::get_file_name (  )  [inherited]

Get the name of the file where the declaration is located.

Returns:
filename
int risc::Definition::get_line_number (  )  [inherited]

Get the line number of the instance.

Returns:
line number
std::string risc::Class::get_name (  )  [virtual, inherited]

returns the name of the module definition

Reimplemented from risc::Definition.

int risc::Definition::get_position_in_line (  )  [inherited]

Get the position of the in declaration in the corresponding line In other words the column in the line.

Returns:
position in line
bool risc::Definition::has_source_location (  )  [inherited]

Determines if a ast node has an associated ast node.


Member Data Documentation

SgNode* risc::Definition::ast_node_ [inherited]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs