Click or drag to resize

PFSClob Class

Clob is short of Character Large Object.

A Clob can be used to store a multitude of parameters in a single PFS parameter e.g. storing vectors/matrices of coordinates. This can save space for the PFS file and improve performance of reading and handling the PFS file.

Reading data from a Clob works as iterating over a list of parameters. Calling one of the Get methods will return the "current" parameter and forward the iterator to the next parameter in the Clob.

The structure of the clob must be known beforehand, i.e. the number of Clob values and the order the different types of values in must match the order of methods called for retrieving the values. If that is not the case, an exception is thrown, i.e. if the next value in the Clob is a double, and the GetString method is called, an exception is thrown.

Inheritance Hierarchy
SystemObject
  DHI.PFSPFSClob

Namespace:  DHI.PFS
Assembly:  DHI.PFS (in DHI.PFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class PFSClob

The PFSClob type exposes the following members.

Constructors
  NameDescription
Public methodPFSClob
Internal constructor
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetBool
Read boolean from Clob

If next Clob value is not a boolean, an exception is thrown.

Public methodGetDouble
Read double from Clob

If next Clob value is not a double, an exception is thrown.

Public methodGetFilename
Read file name string from Clob

If next Clob value is not a file name string, an exception is thrown.

Public methodGetFloat
Read float from Clob

If next Clob value is not a float, an exception is thrown.

Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInt
Read integer from Clob

If next Clob value is not an integer, an exception is thrown.

Public methodGetItem
Get the next Clob parameter as a PFSParameter, where you can query it for the type of parameter data.
Public methodGetString
Read string from Clob

If next Clob value is not a string, an exception is thrown.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsEnd
Returns true of the Clob has no more parameters
Public methodReset
Reset reading of parameters from Clob
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also