UNIVERS
15.3
UNIVERS base processing software API
|
#include <ZCoordObjStream.H>
Public Member Functions | |
virtual void | set_custom_coord (const char *coord_name, Compar order=ASCENT_ORDER) |
virtual void | set_secondary_order (const char *secondary_name, Compar order=ASCENT_ORDER) |
virtual void | set_tertiary_order (const char *tertiary_name, Compar order=ASCENT_ORDER) |
virtual Logic | get_coord_range (float c[2])=0 |
virtual float | average_coord_step ()=0 |
virtual Logic | go_first_coord ()=0 |
virtual Logic | go_next_coord ()=0 |
virtual float | coord ()=0 |
virtual int | ensemble_length () const =0 |
Abstract class for stream of items ordered by some coordinate. Several items may have the same coordinate (so called 'ensemble').
|
pure virtual |
Get average coordinate step between objects.
Implemented in ZTrSetStream.
|
pure virtual |
Get current coordinate in case of previous go_*_coord() succeeded.
Implemented in ZTrSetStream.
|
pure virtual |
Get number of records found for this coordinate (always >=1).
Implemented in ZTrSetStream.
|
pure virtual |
Get range of coordinates respecting order of the stream or return FALSE in case of empty range.
Implemented in ZTrSetStream.
|
pure virtual |
Reset iterator. Returns TRUE on success and FALSE on failure (empty stream).
Implemented in ZTrSetStream.
|
pure virtual |
Go to next iteration. Returns TRUE on success and FALSE on failure (end of stream).
Implemented in ZTrSetStream.
|
virtual |
Set custom primary coordinate and items order. May be not available in derivations. May be implemented partially - only name or only order is interpreted.
Reimplemented in ZTrSetStream.
|
virtual |
Set custom secondary coordinate and items order. Does not affect iterator methods and and get_coord_range() but changes order of items with the same primary coordinate. May be not available in derivations. May be implemented partially - only name or only order is interpreted.
Reimplemented in ZTrSetStream.
|
virtual |
Set custom tertiary coordinate and items order. Does not affect iterator methods and and get_coord_range() but changes order of items with the same primary and secondary coordinates. May be not available in derivations. May be implemented partially - only name or only order is interpreted.
Reimplemented in ZTrSetStream.