Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: osl ::

class VolumeInfo


Base Classes
None.
Known Derived Classes
None.

virtual abstract interface template
NO NO NO NO
Summary
The VolumeInfo class.
Description
Neither copy nor assignment is allowed for this class.
See Also
Directory::getVolumeInfo
File
file.hxx

Public Members

Methods


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.
::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

Private Members

Methods


VolumeInfo( VolumeInfo & );
Copy constructor.
VolumeInfo &
operator=( VolumeInfo & );
Assginment operator.

Data

oslVolumeInfo _aInfo;
sal_uInt32 _nMask;
VolumeDevice _aDevice;

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.