IDLitReader::GetData

Syntax | Return Value | Arguments | Keywords | Version History | See Also

The IDLitReader::GetData function method is called by the system to retrieve the data from the current file. When called, the reader should access the current filename and read the desired data. Once the information is loaded, the reader should place the obtained data in a data object, which is then passed back to the system.

This method will contain a majority of the implementation for a new reader class.

Your file reader must implement the GetData method and create an iTool data object.

Syntax

Result = Obj->[IDLitReader::]GetData(Data)

Return Value

Returns a 1 if successful, or a 0 if the read operation failed.

Arguments

Data

A data object that contains the read information. The reader determines the exact type and format of this data object, which keys off the type of information being read and what the format supports.

Keywords

None

Version History

6.0

Introduced

See Also

Creating a File Reader (iTool Developer's Guide)