3. System Classes : ButtonField Class : LongByteObject Class
 
Share this page                  
LongByteObject Class
LongByteObject Attributes
Attribute
Data Type
Description
Inherited
From
ClassName
varchar(32)
Gives the name of an object's actual type (as opposed to its declared type) (R)
Object
ClientData
Object
Provides a way to associate data with an object (RW)
Object
ErrorStatus
integer
Contains the error number if an error occurs when you explicitly set the FileHandle attribute, or fetch or update the object from the database (R)
Defined
FileHandle
varchar(256)
Identifies an external binary file from which OpenROAD loads the contents into the Value attribute of the LongByteObject (RW)
Defined
InstanceIdentifier
integer
Contains a value that uniquely identifies an instance of an allocated object (R)
Object
InstanceReferences
integer
Contains the current number of references to the object (R)
Object
Length
integer
Specifies the length of the binary string (R)
Defined
Value
Varchar
Is a varchars representation of the LongByteObject (RW)
Defined
 
LongByteObject Methods
Method
Return
Value
Description
Inherited From
ConvertFromString
(string
= StringObject,
 format = integer)
integer
Loads the object from a StringObject that holds a representation of binary data that has been converted to text
Defined
Duplicate()
LongByteObject
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
FetchFromDB
(query
= querystring)
integer
Retrieves a long byte data from the specified database table into the Value attribute of the LongByteObject
Defined
GetAttribute
(
attributename = byref(variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
Object
IsA
(class =
classname)
integer
Returns TRUE if the object is of the same class as, or one of the subclasses of, the class specified by classname
Object
LoadValue(object = Object)
integer
Loads the object with the data contained within a StringObject, BitmapObject, LongByteObject, or a LongVcharObject
Defined
SetAttribute
(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
Object
UpdateInDB
(query =
querystring)
integer
Replaces a long byte data in the specified database table with the contents of the Value attribute of the LongByteObject
Defined
WriteToFile
(
[filename = varchar(256)])
integer
Writes the contents of the Value attribute of a LongByteObject object to a file
Defined