Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <COEUTILS.H>
Link against: cone.lib

Class ConeUtils

class ConeUtils;

Description

Provides file and path utility functions.

Members

Defined in ConeUtils:


Member functions


FileExists(const TDesC &)

IMPORT_C static TBool FileExists(const TDesC &aFileName);

Description

Tests whether a file exists.

Parameters

const TDesC16 &aFileName

The file name to check.

Return value

TBool

ETrue if the file exists, EFalse if it doesn't.

See also:


EnsurePathExistsL(const TPtrC &)

IMPORT_C static void EnsurePathExistsL(const TPtrC &aFileName);

Description

Ensures a path exists.

This function tests whether the path for the file given by aFileName exists, and creates it if it doesn't. The function does nothing if the path name already exists.

Parameters

const TPtrC16 &aFileName

The full path name to create. Any file name is ignored and may be omitted.

See also: