The VolumeInfo class. More...
#include <file.hxx>
Public Member Functions | |
| VolumeInfo (sal_uInt32 nMask) | |
| Constructor. | |
| ~VolumeInfo () | |
| Destructor. | |
| sal_Bool | isValid (sal_uInt32 nMask) const |
| Check if specified fields are valid. | |
| sal_Bool | getRemoteFlag () const |
| Check the remote flag. | |
| sal_Bool | getRemoveableFlag () const |
| Check the removeable flag. | |
| sal_Bool | getCompactDiscFlag () const |
| Check the compact disc flag. | |
| sal_Bool | getFloppyDiskFlag () const |
| Check the floppy disc flag. | |
| sal_Bool | getFixedDiskFlag () const |
| Check the fixed disk flag. | |
| sal_Bool | getRAMDiskFlag () const |
| Check the RAM disk flag. | |
| sal_uInt64 | getTotalSpace () const |
| Determine the total space of a volume device. | |
| sal_uInt64 | getFreeSpace () const |
| Determine the free space of a volume device. | |
| sal_uInt64 | getUsedSpace () const |
| Determine the used space of a volume device. | |
| sal_uInt32 | getMaxNameLength () const |
| Determine the maximal length of a file name. | |
| sal_uInt32 | getMaxPathLength () const |
| Determine the maximal length of a path name. | |
| inline::rtl::OUString | getFileSystemName () const |
| Determine the name of the volume device's File System. | |
| VolumeDevice | getDeviceHandle () const |
| Get the volume device handle. | |
| bool | isCaseSensitiveFileSystem () const |
| Return whether the file system is case sensitive or case insensitive. | |
| bool | isCasePreservingFileSystem () const |
| Return whether the file system preserves the case of file and directory names or not. | |
Friends | |
| class | Directory |
The VolumeInfo class.
Neither copy nor assignment is allowed for this class.
| osl::VolumeInfo::VolumeInfo | ( | sal_uInt32 | nMask | ) | [inline] |
Constructor.
| nMask | Set of flags decribing the demanded information. |
| osl::VolumeInfo::~VolumeInfo | ( | ) | [inline] |
Destructor.
| sal_Bool osl::VolumeInfo::getCompactDiscFlag | ( | ) | const [inline] |
Check the compact disc flag.
| VolumeDevice osl::VolumeInfo::getDeviceHandle | ( | ) | const [inline] |
Get the volume device handle.
| inline ::rtl::OUString osl::VolumeInfo::getFileSystemName | ( | ) | const [inline] |
Determine the name of the volume device's File System.
| sal_Bool osl::VolumeInfo::getFixedDiskFlag | ( | ) | const [inline] |
Check the fixed disk flag.
| sal_Bool osl::VolumeInfo::getFloppyDiskFlag | ( | ) | const [inline] |
Check the floppy disc flag.
| sal_uInt64 osl::VolumeInfo::getFreeSpace | ( | ) | const [inline] |
Determine the free space of a volume device.
| sal_uInt32 osl::VolumeInfo::getMaxNameLength | ( | ) | const [inline] |
Determine the maximal length of a file name.
| sal_uInt32 osl::VolumeInfo::getMaxPathLength | ( | ) | const [inline] |
Determine the maximal length of a path name.
| sal_Bool osl::VolumeInfo::getRAMDiskFlag | ( | ) | const [inline] |
Check the RAM disk flag.
| sal_Bool osl::VolumeInfo::getRemoteFlag | ( | ) | const [inline] |
Check the remote flag.
| sal_Bool osl::VolumeInfo::getRemoveableFlag | ( | ) | const [inline] |
Check the removeable flag.
| sal_uInt64 osl::VolumeInfo::getTotalSpace | ( | ) | const [inline] |
Determine the total space of a volume device.
| sal_uInt64 osl::VolumeInfo::getUsedSpace | ( | ) | const [inline] |
Determine the used space of a volume device.
| bool osl::VolumeInfo::isCasePreservingFileSystem | ( | ) | const [inline] |
Return whether the file system preserves the case of file and directory names or not.
| bool osl::VolumeInfo::isCaseSensitiveFileSystem | ( | ) | const [inline] |
Return whether the file system is case sensitive or case insensitive.
| sal_Bool osl::VolumeInfo::isValid | ( | sal_uInt32 | nMask | ) | const [inline] |
Check if specified fields are valid.
| nMask | Set of flags for the fields to check. |
friend class Directory [friend] |
1.6.1