#include <Ql_static_scanop.hxx>
Inherits Ql_data_scanop.
Inheritance diagram for Ql_static_scanop:
Public Member Functions | |
| Ql_static_scanop (int, char *, Ql_operation *, int, Ql_iterop *) | |
| ~Ql_static_scanop () | |
| int | evaluate () |
| int | type_infer (int *) |
| int | scan_open () |
| int | scan_next () |
| void | scan_close () |
| Ql_static_scanop::Ql_static_scanop | ( | int | n, | |
| char * | v, | |||
| Ql_operation * | dom, | |||
| int | pos, | |||
| Ql_iterop * | nest | |||
| ) |
Construction of a static data scan operation. For parameters see Ql_scanop::Ql_scanop()
| Ql_static_scanop::~Ql_static_scanop | ( | ) |
Destruction of a static data scan operation
| int Ql_static_scanop::evaluate | ( | ) | [inline, virtual] |
Dummy function - the evaluation is performed by scan_next and the result is stored
Implements Ql_scanop.
| int Ql_static_scanop::type_infer | ( | int * | error_code | ) | [virtual] |
Checks if the scan variable is defined on a valid data collection. Assigns to the type of the static scan operation, a copy of the type of the elements of the collection
| error_code | a placeholder, where an error code is put, in case of error |
Implements Ql_data_scanop.
| int Ql_static_scanop::scan_open | ( | ) | [virtual] |
Open a static scan on the collection specified by the domain of definition of this scan variable
Implements Ql_data_scanop.
| int Ql_static_scanop::scan_next | ( | ) | [virtual] |
Get the next value of the scanned collection. Stores the value in the result of this scan operation.
Implements Ql_data_scanop.
| void Ql_static_scanop::scan_close | ( | ) | [virtual] |
Close an open static scan
Implements Ql_data_scanop.
1.5.0