Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: coeutils.h
Link against: cone.lib

Class ConeUtils

class ConeUtils;

Description

Provides file and path utility functions.

Members

Defined in ConeUtils:
EnsurePathExistsL(), FileExists()


Member functions


FileExists()

static IMPORT_C TBool FileExists(const TDesC &aFileName);

Description

Tests whether a file exists.

Parameters

const TDesC &aFileName

The file name to check.

Return value

TBool

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

See also:


EnsurePathExistsL()

static IMPORT_C 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 TPtrC &aFileName

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

See also: