OpendTect  6.6
velocityfunctionascio.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Umesh Sinha
8  Date: Aug 2008
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "velocitymod.h"
15 #include "tableascio.h"
16 #include "task.h"
17 
18 namespace Table { class FormatDesc; }
19 class BinIDValueSet;
20 
21 namespace Vel
22 {
23 
26 public:
28  od_istream&,
29  od_int64 filesizeinkb=-1 );
32 
33  float getUdfVal() const;
34  bool isXY() const;
36  { output_ = &bvs; first_ = true; }
37 
38 protected:
39 
40  int nextStep();
41  od_int64 nrDone() const { return nrdone_/1024; }
43  return tr("KBytes read");
44  }
45  od_int64 totalNr() const { return nrkbytes_; }
47 
50  bool first_;
53 };
54 
55 } // namespace Vel
56 
57 
Vel
Velocity.
Definition: velocityfunction.h:32
task.h
Vel::FunctionAscIO::nrdone_
od_int64 nrdone_
Definition: velocityfunctionascio.h:51
Vel::FunctionAscIO::totalNr
od_int64 totalNr() const
Definition: velocityfunctionascio.h:45
Vel::FunctionAscIO::uiNrDoneText
uiString uiNrDoneText() const
will be nrDoneText() in 7.x
Definition: velocityfunctionascio.h:42
tableascio.h
Vel::FunctionAscIO
Definition: velocityfunctionascio.h:25
BinIDValueSet
A Pos::IdxPairValueSet with BinIDs.
Definition: binidvalset.h:23
od_int64
#define od_int64
Definition: plftypes.h:35
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
od_istream
OD class for stream read common access to the std::cin.
Definition: od_istream.h:24
Vel::FunctionAscIO::getDesc
static Table::FormatDesc * getDesc()
Table
Definition: geom2dascio.h:20
Vel::FunctionAscIO::isXY
bool isXY() const
Vel::FunctionAscIO::nrDone
od_int64 nrDone() const
Definition: velocityfunctionascio.h:41
Vel::FunctionAscIO::output_
BinIDValueSet * output_
Definition: velocityfunctionascio.h:49
Vel::FunctionAscIO::FunctionAscIO
FunctionAscIO(const Table::FormatDesc &fd, od_istream &, od_int64 filesizeinkb=-1)
Vel::FunctionAscIO::createDescBody
static void createDescBody(Table::FormatDesc &)
Vel::FunctionAscIO::updateDesc
static void updateDesc(Table::FormatDesc &)
Vel::FunctionAscIO::nrkbytes_
od_int64 nrkbytes_
Definition: velocityfunctionascio.h:52
Vel::FunctionAscIO::getUdfVal
float getUdfVal() const
uiString
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
Vel::FunctionAscIO::strm_
od_istream & strm_
Definition: velocityfunctionascio.h:48
Vel::FunctionAscIO::mODTextTranslationClass
mODTextTranslationClass(FunctionAscIO)
Table::FormatDesc
description of input our output data content
Definition: tabledef.h:220
Vel::FunctionAscIO::first_
bool first_
Definition: velocityfunctionascio.h:50
Vel::FunctionAscIO::nextStep
int nextStep()
SequentialTask
The generalization of something (e.g. a computation) where the steps must be done in sequence,...
Definition: task.h:125
Table::AscIO
Ascii I/O using Format Description.
Definition: tableascio.h:42
Vel::FunctionAscIO::setOutput
void setOutput(BinIDValueSet &bvs)
Definition: velocityfunctionascio.h:35

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