The port_iterator can be used to iterator over the values on a specific port in an input bag (ie.
Public Methods
-
port_iterator(const port_iterator& src)
-
port_iterator(const adevs_bag<PortValue>& x, PORT_TYPE port)
- Create an iterator for bag x that will iterate over values on port
-
void operator++()
- Advance the iterator to the next value on the port
-
void operator++(int i)
- Advance the iterator to the next value on the port
-
void operator--()
- Return the iterator to the previous value on the port
-
void operator--(int i)
- Return the iterator to the previous value on the port
-
IO_TYPE operator*() const
- Get the current value of the iterator (ie.
-
bool end_of_input() const
- Returns true if at the end of the input on the port
-
bool start_of_input() const
- Returns true if at the beginning of the input on the port
-
~port_iterator()
Documentation
The port_iterator can be used to iterator over the values on a specific port
in an input bag (ie. adevs_bag types).
port_iterator(const port_iterator& src)
port_iterator(const adevs_bag<PortValue>& x, PORT_TYPE port)
- Create an iterator for bag x that will iterate over values on port
void operator++()
- Advance the iterator to the next value on the port
void operator++(int i)
- Advance the iterator to the next value on the port
void operator--()
- Return the iterator to the previous value on the port
void operator--(int i)
- Return the iterator to the previous value on the port
IO_TYPE operator*() const
- Get the current value of the iterator (ie. the value on the port)
bool end_of_input() const
- Returns true if at the end of the input on the port
bool start_of_input() const
- Returns true if at the beginning of the input on the port
~port_iterator()
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.