Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15
 Overview   Namespace   Class   Index   Help 

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
define copy c'tor and assginment operator privat

operator=
VolumeInfo & operator=(
VolumeInfo & );

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


VolumeInfo
VolumeInfo(
sal_uInt32 nMask );

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

Summary
C'tor

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
D'tor

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
set
of flags for the fields to check
     
Return
sal_True if all fields are valid, sal_False otherwise.
    

getRemoteFlag
sal_Bool getRemoteFlag();

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

Return
sal_True if Attributes are valid and the volume is remote,
sal_False otherwise.

getRemoveableFlag
sal_Bool getRemoveableFlag();

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

Return
sal_True if attributes are valid and the volume is removable,
sal_False otherwise.

getCompactDiscFlag
sal_Bool getCompactDiscFlag();

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

Return
sal_True if attributes are valid and the volume is a CDROM,
sal_False otherwise.

getFloppyDiskFlag
sal_Bool getFloppyDiskFlag();

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

Return
sal_True if attributes are valid and the volume is a floppy disk,
sal_False otherwise.

getFixedDiskFlag
sal_Bool getFixedDiskFlag();

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

Return
sal_True if attributes are valid and the volume is a fixed disk,
sal_False otherwise.

getRAMDiskFlag
sal_Bool getRAMDiskFlag();

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

Return
sal_True if attributes are valid and the volume is a RAM disk,
sal_False otherwise.

getTotalSpace
sal_uInt64 getTotalSpace();

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

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

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

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

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

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

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

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

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.