UNIVERS
15.3
UNIVERS base processing software API
|
#include <zqb_view.hpp>
Public Member Functions | |
ZqbView (const char *szName=NULL) | |
virtual | ~ZqbView () |
virtual bool | compatibleDoc (const ZdDocument *pDoc) const =0 |
virtual void | attachDoc (ZdDocument *pData) |
virtual void | detachDoc () |
virtual ZdDocument * | doc () |
virtual void | updateView () |
virtual void | updateDoc () |
ZqbView (const char *szName=NULL) | |
virtual | ~ZqbView () |
virtual bool | compatibleDoc (const ZdDocument *pDoc) const =0 |
virtual void | attachDoc (ZdDocument *pData) |
virtual void | detachDoc () |
virtual ZdDocument * | doc () |
virtual void | updateView () |
virtual void | updateDoc () |
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 |
Static Public Member Functions | |
static bool | findTypeAmong (const ZdDocument *pDoc, const char *szExpectedType1,...) |
static bool | findTypeAmong (const ZdDocument *pDoc, const char *szExpectedType1,...) |
Additional Inherited Members | |
Protected Attributes inherited from ZqbName | |
char * | m_szName |
char * | m_szRoot |
Basic class for Document/View framework.
Arbitrary kind of view may be derived from this class.
ZqbView::ZqbView | ( | const char * | szName = NULL | ) |
Create view object. NULL means to generate automatic name.
|
virtual |
Detach document and destroy the view object.
ZqbView::ZqbView | ( | const char * | szName = NULL | ) |
Create view object. NULL means to generate automatic name.
|
virtual |
Detach document and destroy the view object.
|
virtual |
Attach document with encapsulated data. NULL pointer passed means to detach document. It's recommended to check document for compatibility with expected type by calling compatibleDoc(). If attached data is not compatible then the view should stay in detached state.
|
virtual |
Attach document with encapsulated data. NULL pointer passed means to detach document. It's recommended to check document for compatibility with expected type by calling compatibleDoc(). If attached data is not compatible then the view should stay in detached state.
|
pure virtual |
Return true if passed object is in list of compatible documents for this view. Usual implemention is handy to implement using findTypeAmong():
Implemented in ZqScale, ZqLithColumn, ZqLithColumn, ZqSeismicTrace, ZqSeismicTrace, ZqCoordMarker, ZqCoordMarker, ZqSeismicView, ZqSeismicView, ZqSurface, ZqSurface, ZqCurve, ZqCurve, and ZqCustomScale.
|
pure virtual |
Return true if passed object is in list of compatible documents for this view. Usual implemention is handy to implement using findTypeAmong():
Implemented in ZqScale, ZqLithColumn, ZqLithColumn, ZqSeismicTrace, ZqSeismicTrace, ZqCoordMarker, ZqCoordMarker, ZqSeismicView, ZqSeismicView, ZqSurface, ZqSurface, ZqCurve, ZqCurve, and ZqCustomScale.
|
virtual |
Detach document.
Reimplemented in ZqSeismicTrace, ZqSeismicTrace, ZqLithColumn, ZqLithColumn, ZqCoordMarker, ZqCoordMarker, ZqSeismicView, ZqSeismicView, ZqSurface, ZqSurface, ZqCurve, ZqCurve, ZqCustomScale, ZqView, and ZqView.
|
virtual |
Detach document.
Reimplemented in ZqSeismicTrace, ZqSeismicTrace, ZqLithColumn, ZqLithColumn, ZqCoordMarker, ZqCoordMarker, ZqSeismicView, ZqSeismicView, ZqSurface, ZqSurface, ZqCurve, ZqCurve, ZqCustomScale, ZqView, and ZqView.
|
virtual |
|
virtual |
|
static |
Special method to compare type of given document object with list of expected (compatible) types. List of expected types should be terminated by NULL. Returns true on success and false otherwise.
|
static |
Special method to compare type of given document object with list of expected (compatible) types. List of expected types should be terminated by NULL. Returns true on success and false otherwise.
|
virtual |
The method to force data change in attached document(s) caused by interactive actions made by user.
|
virtual |
The method to force data change in attached document(s) caused by interactive actions made by user.
|
virtual |
The method to refresh GUI when it seems some data were changed.
Reimplemented in ZqSeismicView, ZqView, and ZqView.
|
virtual |
The method to refresh GUI when it seems some data were changed.
Reimplemented in ZqSeismicView, ZqView, and ZqView.