TVolFormatParam Class Reference
Link against: EAACPlusAudioControllerUtility.lib
Detailed Description
Base class for volume formatting parameters. This class package buffer, TVolFormatParamBuf or packaged buffer of the derived class can be passed to the RFormat::Open() in order to provide file system-specific formatting parameters. Each file system that supports such formatting parameters shall have this class specialisation (e.g. TVolFormatParam_FAT) All classes, derived from this one must have the same size as the base class. In order to use formatting parameters the format mode shall have ESpecialFormat bit flag set.
See also: RFormat::Open(RFs&,const TDesC&,TUint,TInt& ,const TDesC8& anInfo); TVolFormatParamBuf
Member Attribute Documentation
iUId
This class tree UID. Used to distinguish the object of this class from TLDFormatInfo and other possible data structures. For this and derived classes this field must be KUId. This field offset in the class must be 0
Member Enumeration Documentation
Enum anonymous
Enumerator | Value | Description |
---|
KMaxDataSlots | 64 | |
Enum anonymous
Enumerator | Value | Description |
---|
KUId | 0x820116A2 | |
Constructor & Destructor Documentation
TVolFormatParam ( )
TVolFormatParam | ( | ) | [inline] |
Member Function Documentation
CalcFSNameHash ( const TDesC & )
TUint32
| CalcFSNameHash | ( | const TDesC & | aFsName | ) | [static, inline] |
Calculates the file system name hash. For use in conjunction with this class only The file system name hash is a standard CRC32 on the up-cased name.
Parameter | Description | aFsName | given name. |
Returns: CRC32 name hash value
FSNameHash ( )
Returns: file system name hash that was wet by SetFileSystemName()
GetVal ( TUint )
Returns: data from the specified slot
Init ( )
resets all data to the "not set" values
SetFileSystemName ( const TDesC & )
void | SetFileSystemName | ( | const TDesC & | aFsName | ) | [inline] |
sets the file system name hash corresponding to aFsName
SetVal ( TUint, TUint32 )
assign a data slot some integer value.
SomeParamsSet ( )
TBool
| SomeParamsSet | ( | ) | const [inline] |
Returns: ETrue if the user has set at least one parameter apart from the file sysetm name, i.e. SetVal() was called