Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


Methods of Class VolumeInfo


VolumeInfo
VolumeInfo(
VolumeInfo & );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
Copy constructor.

operator=
VolumeInfo & operator=(
VolumeInfo & );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
Assginment operator.

VolumeInfo
VolumeInfo(
sal_uInt32 nMask );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Constructor.
Parameters
nMask
        Set of flaggs decribing the demanded information.
    

~VolumeInfo
~VolumeInfo();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Destructor.

isValid
sal_Bool isValid(
sal_uInt32 nMask ) const;

virtual abstract const volatile template static inline C-linkage
NO NO YES NO NO NO YES NO

Summary
Check if specified fields are valid.
Parameters
nMask
        Set of flags for the fields to check.
        
        
Return
sal_True if all fields are valid else sal_False.

getRemoteFlag
sal_Bool getRemoteFlag();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Check the remote flag.
Return
sal_True if Attributes are valid and the volume is remote else sal_False.

getRemoveableFlag
sal_Bool getRemoveableFlag();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Check the removeable flag.
Return
sal_True if attributes are valid and the volume is removable else sal_False.

getCompactDiscFlag
sal_Bool getCompactDiscFlag();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Check the compact disc flag.
Return
sal_True if attributes are valid and the volume is a CDROM else sal_False.

getFloppyDiskFlag
sal_Bool getFloppyDiskFlag();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Check the floppy disc flag.
Return
sal_True if attributes are valid and the volume is a floppy disk else sal_False.

getFixedDiskFlag
sal_Bool getFixedDiskFlag();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Check the fixed disk flag.
Return
sal_True if attributes are valid and the volume is a fixed disk else sal_False.

getRAMDiskFlag
sal_Bool getRAMDiskFlag();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Check the RAM disk flag.
Return
sal_True if attributes are valid and the volume is a RAM disk else sal_False.

getTotalSpace
sal_uInt64 getTotalSpace();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Determine the total space of a volume device.
Return
The total diskspace of this volume if this information is valid, 0 otherwise.

getFreeSpace
sal_uInt64 getFreeSpace();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Determine the free space of a volume device.
Return
The free diskspace of this volume if this information is valid, 0 otherwise.

getUsedSpace
sal_uInt64 getUsedSpace();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Determine the used space of a volume device.
Return
The used diskspace of this volume if this information is valid, 0 otherwise.

getMaxNameLength
sal_uInt32 getMaxNameLength();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Determine the maximal length of a file name.
Return
The maximal length of a file name if this information is valid, 0 otherwise.

getMaxPathLength
sal_uInt32 getMaxPathLength();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Determine the maximal length of a path name.
Return
The maximal length of a path if this information is valid, 0 otherwise.

getFileSystemName
::rtl::OUString getFileSystemName();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Determine the name of the volume device's File System.
Return
The name of the volume's fielsystem if this information is valid, otherwise an empty string.

getDeviceHandle
VolumeDevice getDeviceHandle();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Get the volume device handle.
Return
The device handle of the volume if this information is valid, otherwise returns NULL;

isCaseSensitiveFileSystem
bool isCaseSensitiveFileSystem();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Return whether the file system is case sensitive or case insensitive
Return
true if the file system is case sensitive false otherwise

isCasePreservingFileSystem
bool isCasePreservingFileSystem();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Return whether the file system preserves the case of file and directory names or not
Return
true if the file system preserves the case of file and directory names false otherwise

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.