UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
ZqCustomScale::DefCoordObjStream Class Reference
Inheritance diagram for ZqCustomScale::DefCoordObjStream:
ZdCoordObjStream ZdDocument ZdDocument ZqbAutoName ZqbAutoName ZqbAutoName ZqbAutoName ZqbName ZqbName ZqbName ZqbName ZqbName ZqbName ZqbName ZqbName

Public Member Functions

 DefCoordObjStream (const char *szDocName=NULL)
 
virtual bool getCoordRange (double c[2])
 
virtual double averageCoordStep ()
 
virtual int maxEnsembleLength ()
 
virtual bool goFirstCoord ()
 
virtual bool goNextCoord ()
 
virtual double coord ()
 
virtual int ensembleLength ()
 
void * custom (int ens_index=0, ZqbType *pRetType=NULL)
 
- Public Member Functions inherited from ZdCoordObjStream
 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)
 
 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 CoordSelectionVecgetCoordsSelection () const
 
virtual void setInvisibleCoordinates (const CoordSelectionVec &unvisibleCoords)
 
virtual const CoordSelectionVecgetInvisibleCoordinates () const
 
virtual bool visibleCoord ()
 
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 ()
 
ZqbNameoperator= (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 ()
 
ZqbNameoperator= (const ZqbName &name)
 
virtual const char * getName () const
 
virtual const char * getType () const
 
bool hasName (const char *szString) const
 

Additional Inherited Members

- Public Types inherited from ZdCoordObjStream
typedef std::vector
< CoordSelection
CoordSelectionVec
 
- Protected Attributes inherited from ZdDocument
ZqbViewVector m_Views
 
- Protected Attributes inherited from ZqbName
char * m_szName
 
char * m_szRoot
 

Member Function Documentation

virtual double ZqCustomScale::DefCoordObjStream::averageCoordStep ( )
virtual

Get average primary coordinate step between objects.

Implements ZdCoordObjStream.

virtual double ZqCustomScale::DefCoordObjStream::coord ( )
virtual

Get current coordinate in case of previous go???Coord() succeeded.

Implements ZdCoordObjStream.

void* ZqCustomScale::DefCoordObjStream::custom ( int  ens_index = 0,
ZqbType *  pRetType = NULL 
)
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 from ZdCoordObjStream.

virtual int ZqCustomScale::DefCoordObjStream::ensembleLength ( )
virtual

Get number of records found for this primary coordinate (always >=1).

Implements ZdCoordObjStream.

virtual bool ZqCustomScale::DefCoordObjStream::getCoordRange ( double  c[2])
virtual

Get range of primary coordinates respecting order of the stream or return false in case of empty range.

Implements ZdCoordObjStream.

virtual bool ZqCustomScale::DefCoordObjStream::goFirstCoord ( )
virtual

Reset iterator. Returns true on success and false on failure (empty stream).

Implements ZdCoordObjStream.

virtual bool ZqCustomScale::DefCoordObjStream::goNextCoord ( )
virtual

Go to next iteration. Returns true on success and false on failure (end of stream).

Implements ZdCoordObjStream.

virtual int ZqCustomScale::DefCoordObjStream::maxEnsembleLength ( )
virtual

Get maximum length of ensemble. 0 means unknown.

Implements ZdCoordObjStream.


The documentation for this class was generated from the following file: