Skip to content
Last updated

API / geotoolkit / seismic / data / BinaryField / BinaryField

Class: BinaryField

data.BinaryField.BinaryField

Define binary header

Hierarchy

Table of contents

Constructors
[new BinaryField(offset, dataType, fieldId, name)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.seismic.data-3.binaryfield.binaryfield.md#new binaryfield(offset, datatype, fieldid, name))[new BinaryField(options)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.seismic.data-3.binaryfield.binaryfield.md#new binaryfield(options))
Methods
Css Properties
Name Type Description
datatypeDataFormatTypeType of the data
fieldidstring | numberIdentifier (type)
namestringName of the field
offsetnumberOffset of the header
titlestringTitle of the field

Contents

Constructors

new BinaryField(offset, dataType, fieldId, name)

• new BinaryField(offset, dataType, fieldId, name)

Creates a new BinaryField

Parameters

Name Type Description
offsetstring | numberbytes offset in the header
dataTypeDataFormatTypetype of the data
fieldIdstringunique identifier of the field
namestringname of the field

Overrides

FieldDesc.constructor


new BinaryField(options)

• new BinaryField(options?)

Creates a new BinaryField

Parameters

Name Type Description
Optional optionsOptionsoptions

Overrides

FieldDesc.constructor

Methods

clone

▸ clone(): FieldDesc

Returns clone of the field descriptor

Returns

FieldDesc

clone

Inherited from

FieldDesc.clone


equalsTo

▸ equalsTo(header): boolean

Returns true if headers are identical

Parameters

Name Type Description
headerFieldDesc | { identifier?: string ; name?: string }header

Returns

boolean

Inherited from

FieldDesc.equalsTo


getClassName

▸ getClassName(): string

Returns

string

Inherited from

FieldDesc.getClassName


getClone

▸ getClone(): FieldDesc

Returns clone of the field descriptor

Deprecated

since 4.0 Use clone instead

Returns

FieldDesc

clone

Inherited from

FieldDesc.getClone


getDataType

▸ getDataType(): DataFormatType

Returns data type

Returns

DataFormatType


getIdentifier

▸ getIdentifier(): string | number

Returns identifier (type)

Returns

string | number

Inherited from

FieldDesc.getIdentifier


getName

▸ getName(): string

Returns name

Returns

string

Inherited from

FieldDesc.getName


getOffset

▸ getOffset(): number

Returns offset

Returns

number


getProperties

▸ getProperties(): Required<Options&gt;

Returns properties

Returns

Required<Options&gt;

properties

Overrides

FieldDesc.getProperties


getTitle

▸ getTitle(): string

Returns title

Returns

string

Inherited from

FieldDesc.getTitle


setProperties

▸ setProperties(properties?): BinaryField

Sets properties

Parameters

Name Type Description
Optional propertiesOptionsproperties

Returns

BinaryField

this

Overrides

FieldDesc.setProperties


setTitle

▸ setTitle(title): BinaryField

Set title

Parameters

Name Type Description
titlestringtitle

Returns

BinaryField

this

Inherited from

FieldDesc.setTitle


toString

▸ toString(): string

Returns string representation

Returns

string

Inherited from

FieldDesc.toString


getClassName

▸ Static getClassName(): string

Returns

string

Inherited from

FieldDesc.getClassName