Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::IDirectory Class Referenceabstract

Interface of a class managing a directory. More...

#include <arcane/core/IDirectory.h>

Public Member Functions

virtual ~IDirectory ()=default
 Frees the resources.
virtual bool createDirectory () const =0
 Creates the directory.
virtual String path () const =0
 Returns the path of the directory.
virtual String file (const String &file_name) const =0
 Returns the full path of the file file_name in the directory.

Detailed Description

Interface of a class managing a directory.

Definition at line 31 of file IDirectory.h.

Member Function Documentation

◆ createDirectory()

virtual bool Arcane::IDirectory::createDirectory ( ) const
pure virtual

Creates the directory.

Return values
truein case of failure,
falsein case of success or if the directory already exists.

Implemented in Arcane::Directory.

◆ file()

virtual String Arcane::IDirectory::file ( const String & file_name) const
pure virtual

Returns the full path of the file file_name in the directory.

Implemented in Arcane::Directory.

◆ path()

virtual String Arcane::IDirectory::path ( ) const
pure virtual

Returns the path of the directory.

Implemented in Arcane::Directory.


The documentation for this class was generated from the following file: