IccMAX 2.1.27
Color Profile Tools
Loading...
Searching...
No Matches
CIccStandardFileIO Class Reference

#include <IccIoXml.h>

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

Public Member Functions

 CIccStandardFileIO ()
 
virtual CIccIOOpenFile (const icChar *szFilename, const char *szAttr)
 

Detailed Description

Type: class

Purpose: Provides default IIccOpenFileIO implementation

Constructor & Destructor Documentation

◆ CIccStandardFileIO()

CIccStandardFileIO::CIccStandardFileIO ( )
inline
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.

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}
Definition IccIO.h:150
bool Open(const icChar *szFilename, const icChar *szAttr)
Definition IccIO.cpp:382

References CIccFileIO::CIccFileIO(), and CIccFileIO::Open().

+ Here is the call graph for this function:

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