The KcsSolarisFile class is a derivative of the KcsIO class. It is a Solaris-specific KcsIO class that provides member functions that:
Open a file with a partial name
Search through a list of known directories
Check for string endings for filename suffixes (inp, mon, out, and spc)
Access files on a remote machine
The KCMS daemon, kcms_server, must be running to access remote files. Remote access is read only. See the kcms_server(1) man page.
The KcsSolarisFile class creates a pointer to a KcsFile or KcsRemoteFile object depending on the host location. The derived public methods (relWrite(), relRead(), getEOF(), and setEOF()) then call the KcsIO pointer to do the actual operation.
The header file for this class is kcssolfi.h.
The const and #define for this class are defined in the kcsids.h header file as:
const KcsId KcsIOsolfId = {(0x736f6c66UL)}; /* 'solf' */ #define KcsIOsolfIdd (0x736f6c66UL) /* 'solf' */
This class does not have any protected members; the public members are described.
The KcsSolarisFile class provides the following public members.
Table 2-9 KcsSolarisFile Public Members