Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
Loading...
Searching...
No Matches
CIccStandardFileIO Class Reference

Type: class. More...

#include <IccIoXml.h>

+ Inheritance diagram for CIccStandardFileIO:
+ Collaboration diagram for CIccStandardFileIO:

Public Member Functions

 CIccStandardFileIO ()
 
virtual CIccIOOpenFile (const icChar *szFilename, const char *szAttr)
 Name: CIccStandardFileIO::OpenFile.
 

Detailed Description

Type: class.

Purpose: Provides default IIccOpenFileIO implementation

Definition at line 103 of file IccIoXml.h.

Constructor & Destructor Documentation

◆ CIccStandardFileIO()

CIccStandardFileIO::CIccStandardFileIO ( )
inline

Definition at line 106 of file IccIoXml.h.

106{}

Member Function Documentation

◆ OpenFile()

CIccIO * CIccStandardFileIO::OpenFile ( const icChar * szFilename,
const char * szAttr )
virtual

Name: CIccStandardFileIO::OpenFile.

Purpose: Open a file

Args: szFilename - path to file to be opened szAttr - attributes of open (identical to attributes in fopen call).

Return: Pointer a CIccIO object that IO can be performed with or NULL if file cannot be opened.

Implements IIccOpenFileIO.

Definition at line 85 of file IccIoXml.cpp.

86{
87 CIccFileIO *file = new CIccFileIO();
88
89 if (!file->Open(szFilename, szAttr)) {
90 delete file;
91 return NULL;
92 }
93
94 return file;
95}
Type: Class.
Definition IccIO.h:150
bool Open(const icChar *szFilename, const icChar *szAttr)
Definition IccIO.cpp:382

References CIccFileIO::Open().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: