ConeUtils Class Reference

class ConeUtils

Provides file and path utility functions.

Public Member Functions
IMPORT_C void EnsurePathExistsL (const TPtrC &)
IMPORT_C TBool FileExists (const TDesC &)

Member Functions Documentation

EnsurePathExistsL(const TPtrC &)

IMPORT_C void EnsurePathExistsL ( 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 & aFileName The full path name to create. Any file name is ignored and may be omitted.

FileExists(const TDesC &)

IMPORT_C TBool FileExists ( const TDesC & aFileName ) [static]

Tests whether a file exists.

BaflUtils::FileExists()

Parameters

const TDesC & aFileName The file name to check.