All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
primitive_channel_instance.h
Go to the documentation of this file.
1 #ifndef PRIMITIVE_CHANNEL_INSTANCE_H_INCLUDED_
2 #define PRIMITIVE_CHANNEL_INSTANCE_H_INCLUDED_
3 
4 #include <vector>
5 
6 #include "rose.h"
7 
8 #include "class.h" // included for get_definition
9 #include "primitive_channel.h" // included for get_definition
10 
11 #include "instance.h"
12 
13 namespace risc {
14 
16 
17 public:
18 
22  explicit PrimitiveChannelInstance(SgVariableDefinition *ast_node,
23  PrimitiveChannel *definition);
24 
29  virtual std::string get_ast_type_name();
30 
31 
38 
39 private:
40 
46 
51 };
52 
53 typedef std::vector<PrimitiveChannelInstance*>
55 typedef std::vector<PrimitiveChannelInstance*>::iterator
57 typedef std::vector<PrimitiveChannelInstance*>::const_iterator
59 typedef std::vector<PrimitiveChannelInstance*>::iterator
61 
62 } // end namespace risc
63 
64 #endif /* PRIMITIVE_CHANNEL_INSTANCE_H_INCLUDED_ */
65 
66 /* ex: set softtabstop=2 tabstop=2 shiftwidth=2 expandtab: */
Definition: primitive_channel_instance.h:15
virtual std::string get_ast_type_name()
Get function for the name of the ast type of the channel instance.
Definition: primitive_channel_instance.cpp:13
std::vector< PrimitiveChannelInstance * >::iterator PrimitiveChannelInstanceVectorIter
Definition: primitive_channel_instance.h:56
virtual PrimitiveChannel * get_definition()
returns this associated definition of the primitive channel instance
Definition: primitive_channel_instance.cpp:18
Definition: primitive_channel.h:15
std::vector< PrimitiveChannelInstance * > PrimitiveChannelInstanceVector
Definition: class.h:45
Definition: instance.h:17
PrimitiveChannelInstance(SgVariableDefinition *ast_node, PrimitiveChannel *definition)
Default constructor.
Definition: primitive_channel_instance.cpp:3
PrimitiveChannel * definition_
This pointer points to the corresponding definition in the internal representation.
Definition: primitive_channel_instance.h:45
std::vector< PrimitiveChannelInstance * >::const_iterator PrimitiveChannelInstanceVectorConstIter
Definition: primitive_channel_instance.h:58