My Project
portbase.hpp
1 
23 #ifndef _PORTBASE_HPP_
24 #define _PORTBASE_HPP_ 1
25 
26 #include "portiterator.hpp"
27 
28 class PortBase
29 {
30 public:
31  PortBase() = default;
32  virtual ~PortBase() = default;
43  virtual FIFO& operator[]( const std::string &&port_name ) = 0;
44 
50  virtual bool hasPorts() = 0;
58  virtual PortIterator begin() = 0;
65  virtual PortIterator end() = 0;
66 
67 };
68 #endif /* END _PORTBASE_HPP_ */
Definition: portbase.hpp:28
virtual PortIterator begin()=0
virtual PortIterator end()=0
Definition: portiterator.hpp:32
virtual bool hasPorts()=0
virtual FIFO & operator[](const std::string &&port_name)=0