Log I/O
LasCommentRecord Class Reference

Model a LAS comment record. More...

Inherits LasRecord.

Public Member Functions

string GetComment ()
 Return the comment of this record. More...
 
 LasCommentRecord (string comment)
 Create a LAS comment record. More...
 
override string ToString ()
 
- Public Member Functions inherited from LasRecord
RecordType GetRecordType ()
 Return type of this LAS record. More...
 

Additional Inherited Members

- Public Types inherited from LasRecord
enum  RecordType { SECTION_TITLE, PARAMETER, DATA, COMMENT }
 The different record types. More...
 
- Protected Member Functions inherited from LasRecord
 LasRecord (RecordType recordType)
 Create a new LAS record. More...
 

Detailed Description

Model a LAS comment record.

A comment has the following structure within a LAS file:

  1. # comment
  2. Blank line
  3. Any record within the ~OTHER section (LAS 2.0)

See the LAS documentation for details.

Author
Petroware AS

Constructor & Destructor Documentation

LasCommentRecord ( string  comment)

Create a LAS comment record.

Parameters
commentComment of this record. If the record represents a comment in a parameter record it should include the '#' prefix. Non-null.
Exceptions
ArgumentNullExceptionIf comment is null.

Member Function Documentation

string GetComment ( )

Return the comment of this record.

Returns
Comment of this record. Never null.

The documentation for this class was generated from the following file: