UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
zd_lith_data.hpp
1 /* zd_lith_data.hpp */
2 /* $Id: zd_lith_data.hpp 20080 2009-12-15 15:57:52Z vlad $ */
3 
4 /*
5  * $Log: zd_lith_data.hpp,v $
6  * Revision 1.3 2007/04/13 19:57:32 vlad
7  * + maxEnsembleLength().
8  *
9  * Revision 1.2 2006/07/05 10:18:22 guser4
10  * + layerThickness() and ZD_LITH_UNKNOWN
11  *
12  * Revision 1.1 2006/06/23 07:06:22 guser4
13  * + lithology support classes
14  *
15  */
16 
17 #ifndef __zd_lith_data_hpp
18 #define __zd_lith_data_hpp
19 
20 #include <qbitmap.h>
21 
22 #include "zd_coord_obj_stream.hpp"
23 
24 
27 #define ZD_LITH_UNKNOWN 0
28 
29 
43 
46 
50 
54 
58 
62 
67 class ZdLithData : public ZdCoordObjStream
68 {
69 public:
70 
72  ZdLithData (const char* szDocName = NULL);
73 
75  virtual int maxEnsembleLength ();
76 
77  /*
78  * Iterator methods.
79  */
80 
83  virtual int ensembleLength ();
84 
85 
86  /*
87  * Run-time type identification facility
88  */
89 
91  virtual bool compatibleType (const char* szType) const;
92 
93 
94  /*
95  * Lithology specifics
96  */
97 
100  virtual double layerThickness () = 0;
101 
104  virtual int lithCode () = 0;
105 
109  virtual QBitmap lithTileBitmap () = 0;
110 
113  virtual QColor lithTileColor ();
114 
115 private:
116 
118  static int s_iNameCounter;
119 
121  static const char *s_szOwnType;
122 
123 };
124 
125 
126 #endif /* zd_lith_data.hpp */
ZdLithData(const char *szDocName=NULL)
virtual int maxEnsembleLength()
virtual QColor lithTileColor()
virtual int ensembleLength()
virtual QBitmap lithTileBitmap()=0
Definition: zd_coord_obj_stream.hpp:15
virtual int lithCode()=0
virtual bool compatibleType(const char *szType) const
Definition: zd_lith_data.hpp:67
virtual double layerThickness()=0