Indexed I/O Functions   

<<< Application I/O Functions Chapters Attribute Callback Functions >>>

Contents

A | C | D | E | F | G | I | K | L | M | O | P | R | S | T | V | W

[back to top]


F.1 Introduction

This appendix contains the specifications of the indexed I/O (indexio) functions which can be implemented to replace or extend the normal part file handling functions in the frustrum in order to create an indexed frustrum. These functions are used during input and output of transmit files with ‘indexed i/o’ format, to allow specific faces in a part to be received into a Parasolid session, rather than requiring an entire part to be loaded.

There is further information on the use of the indexed i/o functions in Section 2.3.3, “Indexed I/O”.

[back to top]


F.2 Registering the indexed I/O functions

The indexed I/O functions must be registered with Parasolid by calling the PK function PK_SESSION_register_indexio. This function receives a PK_SESSION_indexio_t structure that contains pointers to the functions you want to register.

You can also call PK_SESSION_ask_indexio to return a structure that contains pointers to the functions currently registered.

[back to top]


F.3 Indexed I/O functions that can be registered

This section lists the indexed I/O functions that you can register during a Parasolid session.

 

Note: In the following list, the function names given are purely nominal, as the functions are registered by the call to PK_SESSION_register_indexio.

 

Function

Description

For more information

ffoprd

Opens the FFBNRY specified file for reading and stores any required information.

PK_SESSION_indexio_t

ffopwr

Opens a specified file for writing, and stores any required information.

PK_SESSION_indexio_t

ucoprd

Opens the specified FFBNRY file for reading in Unicode mode, and stores any required information.

PK_SESSION_indexio_t

ucopwr

Opens a specified file for writing in Unicode format, and stores any required information.

PK_SESSION_indexio_t

ffread

Reads from the open file starting at the current position of the file pointer.

PK_SESSION_indexio_t

ffwrit

Writes the given bytes to an open file, starting at the current file position.

PK_SESSION_indexio_t

ffseek

Reset file pointer.

PK_SESSION_indexio_t

ffclos

Closes a file which has been opened with a call to ffoprd or ucoprd .

PK_SESSION_indexio_t

 

[back to top]

<<< Application I/O Functions Chapters Attribute Callback Functions >>>