PUBLIC MEMBERS: |
CLASSES
| STRUCTS
| UNIONS
| ENUMS
| TYPEDEFS
| METHODS
| STATIC METHODS
| DATA
| STATIC DATA |
PRIVATE MEMBERS: |
CLASSES
| STRUCTS
| UNIONS
| ENUMS
| TYPEDEFS
| METHODS
| STATIC METHODS
| DATA
| STATIC DATA |
:: osl :: class Directory
- Base Classes
FileBase (public)
|
+--Directory
- Known Derived Classes
- None.
virtual |
abstract |
interface |
template |
NO |
NO |
NO |
NO |
- Summary
- The directory class object provides a enumeration of DirectoryItems.
- See Also
- DirectoryItem
File
- File
- file.hxx
Public Members
-
Methods
|
Directory( const ::rtl::OUString & strPath ); |
Constructor.
|
~Directory( ); |
Destructor.
|
RC
open( ); |
Open a directory for enumerating its contents.
|
sal_Bool
isOpen( ); |
Query if directory is open.
|
RC
close( ); |
Close a directory.
|
RC
reset( ); |
Resets the directory item enumeration to the beginning.
|
RC
getNextItem( DirectoryItem & rItem, sal_uInt32 nHint = 0 ); |
Retrieve the next item of a previously opened directory.
|
Static Methods
|
static RC
getVolumeInfo( const ::rtl::OUString & ustrDirectoryURL, VolumeInfo & rInfo ); |
Retrieve information about a volume.
|
static RC
create( const ::rtl::OUString & ustrDirectoryURL ); |
Create a directory.
|
static RC
remove( const ::rtl::OUString & ustrDirectoryURL ); |
Remove an empty directory.
|
static RC
createPath( const ::rtl::OUString & aDirectoryUrl, DirectoryCreationObserver * aDirectoryCreationObserver = NULL ); |
Create a directory path.
|
Private Members
-
Methods
|
Directory( Directory & ); |
Copy constructor.
|
Directory &
operator=( Directory & ); |
Assignment operator.
|
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.