Public Member Functions | Public Attributes | Private Member Functions

risc::PrimitiveChannelInstance Class Reference

#include <primitive_channel_instance.h>

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

List of all members.

Public Member Functions

 PrimitiveChannelInstance (SgVariableDefinition *ast_node, PrimitiveChannelDefinition *definition)
 Default constructor.
virtual std::string get_ast_type_name ()
 Get function for the name of the ast type of the channel instance.
SgVariableDefinition * get_ast_node ()
 Returns the ast definition of the object.
virtual std::string get_name ()
 Get function for the name of the module instance variable.
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

PrimitiveChannelDefinition * definition_
SgNode * ast_node_
SgType * ast_type_pointer_

Private Member Functions

 PrimitiveChannelInstance (const PrimitiveChannelInstance &pci)
 Disabled copy constructor.

Constructor & Destructor Documentation

risc::PrimitiveChannelInstance::PrimitiveChannelInstance ( SgVariableDefinition *  ast_node,
PrimitiveChannelDefinition *  definition 
) [explicit]

Default constructor.

risc::PrimitiveChannelInstance::PrimitiveChannelInstance ( const PrimitiveChannelInstance pci  )  [private]

Disabled copy constructor.


Member Function Documentation

SgVariableDefinition * risc::Object::get_ast_node (  )  [virtual, inherited]

Returns the ast definition of the object.

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::PrimitiveChannelInstance::get_ast_type_name (  )  [virtual]

Get function for the name of the ast type of the channel instance.

Returns:
Name as std::string

Reimplemented from risc::Instance.

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::Object::get_name (  )  [virtual, inherited]

Get function for the name of the module instance variable.

Returns:
Name as std::string

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]
PrimitiveChannelDefinition* risc::PrimitiveChannelInstance::definition_

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