ConeUtils Class Reference

class ConeUtils

Provides file and path utility functions.

Public Member Functions
IMPORT_C voidEnsurePathExistsL(const TPtrC &)
IMPORT_C TBoolFileExists(const TDesC &)

Member Functions Documentation

EnsurePathExistsL(const TPtrC &)

IMPORT_C voidEnsurePathExistsL(const TPtrC &aFileName)[static]

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.

RFs::MkDirAll() BaflUtils::EnsurePathExistsL()

Parameters

const TPtrC & aFileNameThe full path name to create. Any file name is ignored and may be omitted.

FileExists(const TDesC &)

IMPORT_C TBoolFileExists(const TDesC &aFileName)[static]

Tests whether a file exists.

BaflUtils::FileExists()

Parameters

const TDesC & aFileNameThe file name to check.