UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
ZdCoordObj< T > Class Template Reference
Inheritance diagram for ZdCoordObj< T >:
ZdCoordObjStream ZdCoordObjStream ZdDocument ZdDocument ZdDocument ZdDocument ZqbAutoName ZqbAutoName ZqbAutoName ZqbAutoName ZqbAutoName ZqbAutoName ZqbAutoName ZqbAutoName

Public Member Functions

virtual szDocName void sort ()
 
virtual bool getCoordRange (double c[2])
 
virtual double averageCoordStep ()
 
virtual int maxEnsembleLength ()
 
virtual bool goFirstCoord ()
 
virtual bool goNextCoord ()
 
virtual double coord ()
 
virtual int ensembleLength ()
 
virtual bool compatibleType (const char *szType) const
 
virtual szDocName void sort ()
 
virtual bool getCoordRange (double c[2])
 
virtual double averageCoordStep ()
 
virtual int maxEnsembleLength ()
 
virtual bool goFirstCoord ()
 
virtual bool goNextCoord ()
 
virtual double coord ()
 
virtual int ensembleLength ()
 
virtual bool compatibleType (const char *szType) const
 
- 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)
 
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 CoordSelectionVecgetCoordsSelection () const
 
virtual void setInvisibleCoordinates (const CoordSelectionVec &unvisibleCoords)
 
virtual const CoordSelectionVecgetInvisibleCoordinates () const
 
virtual bool visibleCoord ()
 
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 void updateViews ()
 
virtual bool isChanged ()
 
virtual void setChanges ()
 
virtual void resetChanges ()
 
 ZdDocument (const char *szName=NULL)
 
virtual ~ZdDocument ()
 
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
 

Public Attributes

std::vector< T > m_vCoordObjs
 
 __pad0__: ZqbAutoName(&g_ZdCoordObj_iCommonNameCounter
 
 ZdCoordObj
 

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

template<class T >
virtual double ZdCoordObj< T >::averageCoordStep ( )
inlinevirtual

Get average primary coordinate step between objects.

Implements ZdCoordObjStream.

template<class T >
virtual double ZdCoordObj< T >::averageCoordStep ( )
inlinevirtual

Get average primary coordinate step between objects.

Implements ZdCoordObjStream.

template<class T >
virtual bool ZdCoordObj< T >::compatibleType ( const char *  szType) const
inlinevirtual

Return true if given type is compatible with this document.

Reimplemented from ZdDocument.

template<class T >
virtual bool ZdCoordObj< T >::compatibleType ( const char *  szType) const
inlinevirtual

Return true if given type is compatible with this document.

Reimplemented from ZdDocument.

template<class T >
virtual double ZdCoordObj< T >::coord ( )
inlinevirtual

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

Implements ZdCoordObjStream.

template<class T >
virtual double ZdCoordObj< T >::coord ( )
inlinevirtual

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

Implements ZdCoordObjStream.

template<class T >
virtual int ZdCoordObj< T >::ensembleLength ( )
inlinevirtual

Get number of records found for this primary coordinate (always >=1). Reimplement in case of potential ensembles.

Implements ZdCoordObjStream.

template<class T >
virtual int ZdCoordObj< T >::ensembleLength ( )
inlinevirtual

Get number of records found for this primary coordinate (always >=1). Reimplement in case of potential ensembles.

Implements ZdCoordObjStream.

template<class T >
virtual bool ZdCoordObj< T >::getCoordRange ( double  c[2])
inlinevirtual

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

Implements ZdCoordObjStream.

template<class T >
virtual bool ZdCoordObj< T >::getCoordRange ( double  c[2])
inlinevirtual

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

Implements ZdCoordObjStream.

template<class T >
virtual bool ZdCoordObj< T >::goFirstCoord ( )
inlinevirtual

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

Implements ZdCoordObjStream.

template<class T >
virtual bool ZdCoordObj< T >::goFirstCoord ( )
inlinevirtual

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

Implements ZdCoordObjStream.

template<class T >
virtual bool ZdCoordObj< T >::goNextCoord ( )
inlinevirtual

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

Implements ZdCoordObjStream.

template<class T >
virtual bool ZdCoordObj< T >::goNextCoord ( )
inlinevirtual

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

Implements ZdCoordObjStream.

template<class T >
virtual int ZdCoordObj< T >::maxEnsembleLength ( )
inlinevirtual

Get maximum length of ensemble. 0 means unknown.

Implements ZdCoordObjStream.

template<class T >
virtual int ZdCoordObj< T >::maxEnsembleLength ( )
inlinevirtual

Get maximum length of ensemble. 0 means unknown.

Implements ZdCoordObjStream.

template<class T >
virtual szDocName void ZdCoordObj< T >::sort ( )
inlinevirtual

To reorder container after assignment or other changes call this method which is simpoly wrapper around STL sort() algorithm.

template<class T >
virtual szDocName void ZdCoordObj< T >::sort ( )
inlinevirtual

To reorder container after assignment or other changes call this method which is simpoly wrapper around STL sort() algorithm.

Member Data Documentation

template<class T >
ZdCoordObj< T >::__pad0__

Document constructor.

template<class T >
std::vector< T > ZdCoordObj< T >::m_vCoordObjs

Container for objects with coordinate.


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