Model one DLIS EFLR component as described in RP66 V1 Section 3.2 .
More...
Model one DLIS EFLR component as described in RP66 V1 Section 3.2 .
A DlisComponent represents one of:
- Author
- Petroware AS
◆ GetComponentType()
Return type of this component.
- Returns
- Type of this component. Null if not explicitly defined.
◆ GetLabel()
Return label of this component.
- Returns
- Label of this component. Null if not explicitly defined.
◆ GetName()
Return name of this component.
- Returns
- Name of this component. Null if not explicitly defined.
◆ GetNValues()
Return number of values of this component.
- Returns
- Number of values of this component. [0,>.
◆ GetObjectName()
Return object name of this component.
- Returns
- Object name of this component. Null if not explicitly defined.
◆ GetUnit()
Return unit of this component.
- Returns
- Unit of this component. Null if not explicitly defined.
◆ GetValue()
Return the first value of this component.
- Returns
- First value of this component, or null if none.
◆ GetValues()
Return the values of this component.
- Returns
- Values of this component, or null if none defined.
◆ NewAttributeComponent()
static DlisComponent NewAttributeComponent |
( |
string | name, |
|
|
int | representationCode, |
|
|
string | unit ) |
|
static |
Create a component that will act as a template attribute for a set.
- Parameters
-
name | Attribute name. Non-null. |
representationCode | Data type of corresponding object values. |
unit | Unit of corresponding data values. Null if N/A. |
- Returns
- The created attribute component. Never null.
- Exceptions
-
ArgumentNullException | If name is null. |
ArgumentException | If representation code is invalid. |
◆ NewObjectComponent()
static DlisComponent NewObjectComponent |
( |
int | origin, |
|
|
string | objectName ) |
|
static |
Create a component that will act as an object within a set.
- Parameters
-
origin | The object origin. [0,>. |
objectName | Object name. Non-null. |
- Returns
- The created object component. Never null.
- Exceptions
-
ArgumentNullException | If origin is out of bounds. |
ArgumentNullException | If objectName is null. |
◆ NewValueComponent() [1/2]
static DlisComponent NewValueComponent |
( |
IList< object > | values, |
|
|
int | representationCode, |
|
|
string | unit ) |
|
static |
Create a component that will act as a value for a set object.
- Parameters
-
values | The actual values. Non-null. |
representationCode | Data type for the values. |
unit | Unit for the values. Null if N/A. |
- Returns
- The created component. Never null.
- Exceptions
-
ArgumentNullException | If values is null. |
ArgumentException | If representationCode is invalid. |
◆ NewValueComponent() [2/2]
static DlisComponent NewValueComponent |
( |
object | value, |
|
|
int | representationCode, |
|
|
string | unit ) |
|
static |
Create a component that will act as a value for a set object.
Convenience method when the actual values is one entry only.
- Parameters
-
value | The actual value. Null to indicate absent. |
representationCode | Data type for the value. |
unit | Unit for the value. Null if N/A. |
- Returns
- The created component. Never null.
- Exceptions
-
ArgumentNullException | If value is null. |
ArgumentException | If representationCode is invalid. |
The documentation for this class was generated from the following file:
- Petroware/LogIo/Dlis/DlisComponent.cs