IStatus class

Interface wrapping the status of a database operation.

Inheritance

Constructors

IStatus(FbInterface self)
Constructs the wrapper around the native IStatus interface. The self argument should be the raw pointer returned by the IMaster._getStatus method. The public IMaster.getStatus method returns the status already wrapped, so there should be no need to use the generative constructor directly.

Properties

errors → List<int>
no setter
hashCode → int
The hash code for this object.
no setterinherited
isError → bool
no setter
isWarning → bool
no setter
methodCount ↔ int
The number of entries in the VTable the interface occupies.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
self ↔ FbInterface
The raw pointer to the native interface.
getter/setter pairinherited
startIndex ↔ int
The first entry in the VTable the interface uses.
getter/setter pairinherited
version ↔ int
The interface version. Copied from the VTable for convenience.
getter/setter pairinherited
vtable ↔ FbInterface
The pointer to the interface's VTable.
getter/setter pairinherited
warnings → List<int>
no setter

Methods

checkStatus() → void
Called automatically in all API methods. Throws an exception (wrapped around the status) if the status contains errors.
clone() → IStatus
dispose() → void
inherited
getErrors() → StatusVec
getState() → int
getWarnings() → StatusVec
init() → void
minSupportedVersion() → int
Defines the minimum native interface version supported by this class in fbclient.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setErrors(StatusVec value) → void
setErrors2(int length, StatusVec value) → void
setWarnings(StatusVec value) → void
setWarnings2(int length, StatusVec value) → void
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

iscStatusLength → const int
resultError → const int
resultNoData → const int
resultOK → const int
resultSegment → const int
stateErrors → const int
stateWarnings → const int