Application I/O Functions   

<<< PK_MEMORY Functions Chapters Indexed I/O Functions >>>

Contents

[back to top]


E.1 Introduction

This appendix contains the specifications of the application I/O (applio) functions which can be implemented to replace or extend the normal part file handling functions in the Frustrum. These functions are used during input and output of transmit files with ‘application i/o’ format.

There is further information on the use of the application I/O functions in Section 2.3.2, “Application I/O”.

E.1.1 Registering the application I/O functions

The application I/O functions must be registered with Parasolid by calling the PK function PK_SESSION_register_applio_2, before the Parasolid session is started.

E.1.2 Application I/O functions that can be registered

This section lists the application 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_applio_2.

 

Function

Description

For more information

open_rd

Opens a file for reading with the given key.

PK_SESSION_applio_t

open_wr

Opens a new file for writing with the given key.

PK_SESSION_applio_t

open_uc_rd

Opens a file for reading with the given Unicode key.

PK_SESSION_applio_t

open_uc_wr

Opens a new file for writing with the given key.

PK_SESSION_applio_t

open_rd_2, open_wr_2, open_uc_rd_2, open_uc_wr_2

Equivalent to the above open functions but with additional guise argument to support partitions and deltas explicitly.

PK_SESSION_applio_t

close

Closes the given file.

PK_SESSION_applio_t

rd_**** functions

Reads one or more items of data from the given file.

PK_SESSION_applio_t

wr_**** functions

Writes one or more items of data to the given file.

PK_SESSION_applio_t

 

[back to top]

<<< PK_MEMORY Functions Chapters Indexed I/O Functions >>>