OpendTect-6_4  6.4
geom2dascio.h
Go to the documentation of this file.
1 #ifndef geom2dascio_h
2 #define geom2dascio_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Satyaki Maitra
9  Date: Sep 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 
16 #include "generalmod.h"
17 #include "tableascio.h"
18 
19 namespace PosInfo { class Line2DData; }
20 namespace Survey { class Geometry2D; }
21 namespace Table { class FormatDesc; }
22 
27 mExpClass(General) Geom2dAscIO : public Table::AscIO
29 public:
31  od_istream&);
32 
33  static Table::FormatDesc* getDesc(bool withline=false);
34  static void fillDesc(Table::FormatDesc&,bool withline);
35  bool getData(PosInfo::Line2DData&);
36  bool getData(Survey::Geometry2D&) const;
37  bool getData(ObjectSet<Survey::Geometry2D>&) const;
38 
39 protected:
40 
42  bool readLine(int startidx,Coord&,int&,int&,
43  bool,bool) const;
44 };
45 
46 #endif
#define mExpClass(module)
Definition: commondefs.h:160
bool readLine(std::istream &, BufferString *b=0, bool *newline_found=0)
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Geometry of a 2D Line.
Definition: survgeom2d.h:27
Ascii I/O for 2D Geometry.
Definition: geom2dascio.h:27
description of input our output data content
Definition: tabledef.h:220
Position info for a 2D line.
Definition: posinfo2d.h:65
A cartesian coordinate in 2D space.
Definition: coord.h:25
OD class for stream read.
Definition: od_istream.h:24
od_istream & strm_
Definition: geom2dascio.h:41
Definition: geom2dascio.h:21
Position info, often segmented.
Definition: posinfo.h:40
Definition: survgeom.h:25

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019