Log I/O
|
Class representing a DLIS file frame in terms of its ID and the curves defined in that frame. More...
Public Types | |
enum | IndexType { ANGULAR_DRIFT , BOREHOLE_DEPTH , NON_STANDARD , RADIAL_DRIFT , TIME , VERTICAL_DEPTH , UNKNOWN } |
Possible index types for a DLIS file. More... | |
Public Member Functions | |
void | AddCurve (DlisCurve curve) |
Add a curve to this frame. | |
void | ClearCurves () |
Clear curve data from all curves of this frame. | |
DlisFrame (DlisSet frameSet, DlisComponent frameObject) | |
Create a new DLIS frame instance. | |
DlisCurve | FindCurve (string curveName) |
Find curve of the given name. | |
IList< DlisCurve > | GetCurves () |
Return the curves of this frame in the order of which the data is organized in the corresponding DLIS file. | |
DlisCurve | GetIndexCurve () |
Return the index curve of this frame. | |
string | GetIndexCurveName () |
Return name of the index curve. | |
DlisType | GetIndexStep () |
Return the index step. | |
IndexType | GetIndexType () |
Return index type of this frame. | |
string | GetIndexUnit () |
Return the unit of the index curve. | |
DlisType | GetMaxIndex () |
Return the maximum index value. | |
DlisType | GetMinIndex () |
Return the minimum index value. | |
string | GetName () |
Return the name of this frame. | |
int | GetNCurves () |
Return the number of curves in this frame. | |
int | GetNValues () |
Return the number of values (per curve) in this frame. | |
bool | IsTimeIndex () |
Check if this frame is time indexed. | |
override string | ToString () |
Class representing a DLIS file frame in terms of its ID and the curves defined in that frame.
A frame is one set of curves with a common index curve. A DlisFile instance may contain multiple frames.
enum IndexType |
DlisFrame | ( | DlisSet | frameSet, |
DlisComponent | frameObject ) |
Create a new DLIS frame instance.
frameSet | The frame set. Non-null. |
frameObject | The frame object component. Non-null. |
ArgumentNullException | If frameSet or frameObject is null. |
void AddCurve | ( | DlisCurve | curve | ) |
Add a curve to this frame.
curve | Curve to add. Non-null. |
ArgumentNullException | If curve is null. |
DlisCurve FindCurve | ( | string | curveName | ) |
Find curve of the given name.
curveName | Name of curve to find. Non-null. |
ArgumentNullException | If curveName is null. |
IList< DlisCurve > GetCurves | ( | ) |
Return the curves of this frame in the order of which the data is organized in the corresponding DLIS file.
The first curve is always the index curve.
DlisCurve GetIndexCurve | ( | ) |
Return the index curve of this frame.
string GetIndexCurveName | ( | ) |
Return name of the index curve.
DlisType GetIndexStep | ( | ) |
Return the index step.
Note that this is an optional (but convenient) property of the frame set. If it is not given, the client must read the data to extract the index range and compute the step. The index step value from the frame set can anyway not necessarily be trusted, as the producer of the DLIS are free to enter whatever value it wishes.
Experience shows that the value usually is correct when present, but that it is often missing. There is no convention on what this property should contain if the actual step is varying.
IndexType GetIndexType | ( | ) |
Return index type of this frame.
string GetIndexUnit | ( | ) |
Return the unit of the index curve.
DlisType GetMaxIndex | ( | ) |
Return the maximum index value.
Note that this is an optional (but convenient) property of the frame set. If it is not given, the client must read the data to extract the index range. The index max value from the frame set can anyway not necessarily be trusted, as the producer of the DLIS are free to enter whatever value it wishes.
Experience shows that the value usually is correct when present, but that it is often missing.
DlisType GetMinIndex | ( | ) |
Return the minimum index value.
Note that this is an optional (but convenient) property of the frame set. If it is not given, the client must read the data to extract the index range. The index min value from the frame set can anyway not necessarily be trusted, as the producer of the DLIS are free to enter whatever value it wishes.
Experience shows that the value usually is correct when present, but that it is often missing.
string GetName | ( | ) |
Return the name of this frame.
int GetNCurves | ( | ) |
Return the number of curves in this frame.
int GetNValues | ( | ) |
Return the number of values (per curve) in this frame.
bool IsTimeIndex | ( | ) |
Check if this frame is time indexed.