Foxit PDF Conversion SDK

Public Member Functions | List of all members
IFX_FileAccess Class Referenceabstract
FXCRT

File access interface, open file. More...

## Public Member Functions
virtual IFX_FileStream * | CreateFileStream (FX_DWORD dwModes)=0
| Create IFX_FileStream to operate file. More...
virtual void | GetPath (CFX_WideString &wsPath)=0
| Get current path string. More...
virtual void | Release ()=0
| Destroy the current instance. More...
virtual IFX_FileAccess * | Retain ()=0
| Create a shared instance. More...

## Detailed Description

File access interface, open file.

## Member Function Documentation

## ◆ CreateFileStream()

virtual IFX_FileStream* IFX_FileAccess::CreateFileStream | ( | FX_DWORD | dwModes | ) |
| pure virtual

Create IFX_FileStream to operate file.

Parameters

  [in] | dwModes | Open file mode.

Returns
  A new IFX_FileStream object.

## ◆ GetPath()

virtual void IFX_FileAccess::GetPath | ( | CFX_WideString & | wsPath | ) |
| pure virtual

Get current path string.

Parameters

  [out] | wsPath | Receive current file path.

Returns
  None.

## ◆ Release()

virtual void IFX_FileAccess::Release | ( |  | ) |
| pure virtual

Destroy the current instance.

Returns
  None.

## ◆ Retain()

virtual IFX_FileAccess* IFX_FileAccess::Retain | ( |  | ) |
| pure virtual

Create a shared instance.

Returns
  A shared instance of current object.