UNIVERS
15.3
UNIVERS base processing software API
|
#include <zd_coord_obj_stream.hpp>
Classes | |
union | CoordArgVal |
struct | CoordSelection |
Public Types | |
typedef std::vector < CoordSelection > | CoordSelectionVec |
Public Member Functions | |
ZdCoordObjStream (const char *szDocName=NULL) | |
virtual void | setCustomCoord (int iCoordId, ZqbOrder eOrder=Z_O_ASCENT) |
virtual void | setSecondaryOrder (int iSecondaryId, ZqbOrder eOrder=Z_O_ASCENT) |
virtual void | setTertiaryOrder (int iTertiaryId, ZqbOrder eOrder=Z_O_ASCENT) |
virtual bool | getCoordRange (double c[2])=0 |
virtual double | averageCoordStep ()=0 |
virtual int | maxEnsembleLength ()=0 |
virtual bool | goFirstCoord ()=0 |
virtual bool | goNextCoord ()=0 |
virtual double | coord ()=0 |
virtual int | ensembleLength ()=0 |
virtual void * | custom (int ens_index=0, ZqbType *pRetType=NULL) |
ZdCoordObjStream (const char *szDocName=NULL) | |
virtual void | setCustomCoord (int iCoordId) |
virtual int | getCustomCoord () const |
virtual void | setFirstOrder (int iCoordId, ZqbOrder eOrder=Z_O_ASCENT) |
virtual bool | getFirstOrder (int &iCoordId, ZqbOrder &eOrder) const |
virtual void | setSecondaryOrder (int iSecondaryId, ZqbOrder eOrder=Z_O_ASCENT) |
virtual bool | getSecondaryOrder (int &iCoordId, ZqbOrder &eOrder) const |
virtual void | setTertiaryOrder (int iTertiaryId, ZqbOrder eOrder=Z_O_ASCENT) |
virtual bool | getTertiaryOrder (int &iCoordId, ZqbOrder &eOrder) const |
virtual void | setCoordsSelection (const CoordSelectionVec &selCoords) |
virtual const CoordSelectionVec & | getCoordsSelection () const |
virtual void | setInvisibleCoordinates (const CoordSelectionVec &unvisibleCoords) |
virtual const CoordSelectionVec & | getInvisibleCoordinates () const |
virtual bool | getCoordRange (double c[2])=0 |
virtual double | averageCoordStep ()=0 |
virtual int | maxEnsembleLength ()=0 |
virtual bool | goFirstCoord ()=0 |
virtual bool | goNextCoord ()=0 |
virtual double | coord ()=0 |
virtual bool | visibleCoord () |
virtual int | ensembleLength ()=0 |
virtual void * | custom (int ens_index=0, ZqbType *pRetType=NULL) |
virtual ZqbType | coordTypeFromId (int coordId) const |
Public Member Functions inherited from ZdDocument | |
ZdDocument (const char *szName=NULL) | |
virtual | ~ZdDocument () |
virtual bool | compatibleType (const char *szType) const |
virtual void | updateViews () |
virtual bool | isChanged () |
virtual void | setChanges () |
virtual void | resetChanges () |
ZdDocument (const char *szName=NULL) | |
virtual | ~ZdDocument () |
virtual bool | compatibleType (const char *szType) const |
virtual void | updateViews () |
virtual bool | isChanged () |
virtual void | setChanges () |
virtual void | resetChanges () |
Public Member Functions inherited from ZqbAutoName | |
ZqbAutoName (int *pCounter, const char *szRoot, const char *szCustomName=NULL) | |
virtual | ~ZqbAutoName () |
ZqbAutoName (int *pCounter, const char *szRoot, const char *szCustomName=NULL) | |
virtual | ~ZqbAutoName () |
Public Member Functions inherited from ZqbName | |
ZqbName (const char *szRoot, const char *szCustomName=NULL) | |
ZqbName (const ZqbName &name) | |
virtual | ~ZqbName () |
ZqbName & | operator= (const ZqbName &name) |
virtual const char * | getName () const |
virtual const char * | getType () const |
bool | hasName (const char *szString) const |
ZqbName (const char *szRoot, const char *szCustomName=NULL) | |
ZqbName (const ZqbName &name) | |
virtual | ~ZqbName () |
ZqbName & | operator= (const ZqbName &name) |
virtual const char * | getName () const |
virtual const char * | getType () const |
bool | hasName (const char *szString) const |
Additional Inherited Members | |
Protected Attributes inherited from ZdDocument | |
ZqbViewVector | m_Views |
Protected Attributes inherited from ZqbName | |
char * | m_szName |
char * | m_szRoot |
Abstract class for stream of items ordered by some coordinate. Several items may have the same coordinate (so called 'ensemble').
typedef std::vector<CoordSelection> ZdCoordObjStream::CoordSelectionVec |
Vector of the selected coordinates with it's arguments.
ZdCoordObjStream::ZdCoordObjStream | ( | const char * | szDocName = NULL | ) |
Just for producing automatic name and RTTI.
ZdCoordObjStream::ZdCoordObjStream | ( | const char * | szDocName = NULL | ) |
Just for producing automatic name and RTTI.
|
pure virtual |
Get average primary coordinate step between objects.
Implemented in ZdCoordObj< T >, ZdCoordObj< T >, ZdLithVector, ZdLithVector, ZqCustomScale::DefCoordObjStream, hds::db::ZdSeismic, ZdUSeismic, and hds::ZdLdbSeismic.
|
pure virtual |
Get average primary coordinate step between objects.
Implemented in ZdCoordObj< T >, ZdCoordObj< T >, ZdLithVector, ZdLithVector, ZqCustomScale::DefCoordObjStream, hds::db::ZdSeismic, ZdUSeismic, and hds::ZdLdbSeismic.
|
pure virtual |
Get current coordinate in case of previous go???Coord() succeeded.
Implemented in hds::ZdLdbSeismic, ZdUSeismic, ZdCoordObj< T >, ZdCoordObj< T >, ZdLithVector, ZdLithVector, hds::db::ZdSeismic, and ZqCustomScale::DefCoordObjStream.
|
pure virtual |
Get current coordinate in case of previous go???Coord() succeeded.
Implemented in hds::ZdLdbSeismic, ZdUSeismic, ZdCoordObj< T >, ZdCoordObj< T >, ZdLithVector, ZdLithVector, hds::db::ZdSeismic, and ZqCustomScale::DefCoordObjStream.
|
virtual |
Get type of the coordinate from provided coordinate id. Undefined type by default.
Reimplemented in hds::ZdLdbSeismic, and hds::db::ZdSeismic.
|
inlinevirtual |
Get the pointer to some custom value for the current coordinate or return NULL if no such value is defined. A type is returned in optional pRetType. Until the next call pointee contents rest the same.
Reimplemented in hds::ZdLdbSeismic, ZdUSeismic, hds::db::ZdSeismic, and ZqCustomScale::DefCoordObjStream.
|
virtual |
Get the pointer to some custom value for the current coordinate or return NULL if no such value is defined. A type is returned in optional pRetType. Until the next call pointee contents rest the same.
Reimplemented in hds::ZdLdbSeismic, ZdUSeismic, hds::db::ZdSeismic, and ZqCustomScale::DefCoordObjStream.
|
pure virtual |
Get number of records found for this primary coordinate (always >=1).
Implemented in hds::ZdLdbSeismic, ZdUSeismic, ZdCoordObj< T >, ZdCoordObj< T >, hds::db::ZdSeismic, ZqCustomScale::DefCoordObjStream, ZdLithData, and ZdLithData.
|
pure virtual |
Get number of records found for this primary coordinate (always >=1).
Implemented in hds::ZdLdbSeismic, ZdUSeismic, ZdCoordObj< T >, ZdCoordObj< T >, hds::db::ZdSeismic, ZqCustomScale::DefCoordObjStream, ZdLithData, and ZdLithData.
|
pure virtual |
Get range of primary coordinates respecting order of the stream or return false in case of empty range.
Implemented in ZdLithVector, ZdLithVector, ZdCoordObj< T >, ZdCoordObj< T >, ZqCustomScale::DefCoordObjStream, hds::db::ZdSeismic, ZdUSeismic, and hds::ZdLdbSeismic.
|
pure virtual |
Get range of primary coordinates respecting order of the stream or return false in case of empty range.
Implemented in ZdLithVector, ZdLithVector, ZdCoordObj< T >, ZdCoordObj< T >, ZqCustomScale::DefCoordObjStream, hds::db::ZdSeismic, ZdUSeismic, and hds::ZdLdbSeismic.
|
virtual |
Get current coordinates selection. Empty vector of the coordinates returned by default.
Reimplemented in hds::ZdLdbSeismic, and hds::db::ZdSeismic.
|
inlinevirtual |
Get current custom coord id. Should be reimplemented.
Reimplemented in hds::ZdLdbSeismic, and hds::db::ZdSeismic.
|
virtual |
Get first coordinate and it's order. Return false if not defined.
Reimplemented in hds::ZdLdbSeismic, and hds::db::ZdSeismic.
|
virtual |
Coordinates to be unvisible.
Reimplemented in hds::ZdLdbSeismic.
|
virtual |
Get secondary coordinate and it's order. Return false if not defined.
Reimplemented in hds::ZdLdbSeismic, and hds::db::ZdSeismic.
|
virtual |
Get tertiary coordinate and it's order. Return false if not defined.
Reimplemented in hds::ZdLdbSeismic, and hds::db::ZdSeismic.
|
pure virtual |
Reset iterator. Returns true on success and false on failure (empty stream).
Implemented in hds::ZdLdbSeismic, ZdUSeismic, ZdCoordObj< T >, ZdCoordObj< T >, ZdLithVector, ZdLithVector, hds::db::ZdSeismic, and ZqCustomScale::DefCoordObjStream.
|
pure virtual |
Reset iterator. Returns true on success and false on failure (empty stream).
Implemented in hds::ZdLdbSeismic, ZdUSeismic, ZdCoordObj< T >, ZdCoordObj< T >, ZdLithVector, ZdLithVector, hds::db::ZdSeismic, and ZqCustomScale::DefCoordObjStream.
|
pure virtual |
Go to next iteration. Returns true on success and false on failure (end of stream).
Implemented in hds::ZdLdbSeismic, ZdUSeismic, ZdCoordObj< T >, ZdCoordObj< T >, ZdLithVector, ZdLithVector, hds::db::ZdSeismic, and ZqCustomScale::DefCoordObjStream.
|
pure virtual |
Go to next iteration. Returns true on success and false on failure (end of stream).
Implemented in hds::ZdLdbSeismic, ZdUSeismic, ZdCoordObj< T >, ZdCoordObj< T >, ZdLithVector, ZdLithVector, hds::db::ZdSeismic, and ZqCustomScale::DefCoordObjStream.
|
pure virtual |
Get maximum length of ensemble. 0 means unknown.
Implemented in hds::ZdLdbSeismic, ZdUSeismic, ZdCoordObj< T >, ZdCoordObj< T >, hds::db::ZdSeismic, ZqCustomScale::DefCoordObjStream, ZdLithData, and ZdLithData.
|
pure virtual |
Get maximum length of ensemble. 0 means unknown.
Implemented in hds::ZdLdbSeismic, ZdUSeismic, ZdCoordObj< T >, ZdCoordObj< T >, hds::db::ZdSeismic, ZqCustomScale::DefCoordObjStream, ZdLithData, and ZdLithData.
|
virtual |
Set selection of the coordinates.
Reimplemented in hds::ZdLdbSeismic, and hds::db::ZdSeismic.
|
virtual |
Set custom primary coordinate and items order. May be not available in derivations. May be implemented partially - only id or only order is interpreted.
Reimplemented in ZdUSeismic.
|
virtual |
Set custom coordinate. The values returned by custom() method.
Reimplemented in hds::ZdLdbSeismic, and hds::db::ZdSeismic.
|
virtual |
Set primary coordinate items order. May be not available in derivations. May be implemented partially - only id or only order is interpreted.
Reimplemented in hds::ZdLdbSeismic, and hds::db::ZdSeismic.
|
virtual |
Set coordinates to be unvisible.
Reimplemented in hds::ZdLdbSeismic.
|
virtual |
Set custom secondary coordinate and items order. Does not affect iterator methods and and getCoordRange() but changes order of items with the same primary coordinate. May be not available in derivations. May be implemented partially - only id or only order is interpreted.
Reimplemented in hds::ZdLdbSeismic, hds::db::ZdSeismic, and ZdUSeismic.
|
virtual |
Set custom secondary coordinate and items order. Does not affect iterator methods and and getCoordRange() but changes order of items with the same primary coordinate. May be not available in derivations. May be implemented partially - only id or only order is interpreted.
Reimplemented in hds::ZdLdbSeismic, hds::db::ZdSeismic, and ZdUSeismic.
|
virtual |
Set custom tertiary coordinate and items order. Does not affect iterator methods and and getCoordRange() but changes order of items with the same primary and secondary coordinates. May be not available in derivations. May be implemented partially - only id or only order is interpreted.
Reimplemented in hds::ZdLdbSeismic, hds::db::ZdSeismic, and ZdUSeismic.
|
virtual |
Set custom tertiary coordinate and items order. Does not affect iterator methods and and getCoordRange() but changes order of items with the same primary and secondary coordinates. May be not available in derivations. May be implemented partially - only id or only order is interpreted.
Reimplemented in hds::ZdLdbSeismic, hds::db::ZdSeismic, and ZdUSeismic.
|
inlinevirtual |
Does current coord visible. True by default.
Reimplemented in hds::ZdLdbSeismic.