TMCFileTypeList Class Reference
[MCCore]
List of all members.
Detailed Description
TMCFileTypeList is simply an array of TMCFileType(s) with a few convenient methods.
To load a file type list from resources use IShFileFormatUtilities::LoadResourceFTYP.
To manipulate the global file type list kept by the application use IShFileFormatUtilities::AddFileTypes, IShFileFormatUtilities::GetFileTypesByFamilyID or IShFileFormatUtilities::GetFileTypeByID.
Constructor & Destructor Documentation
TMCFileTypeList::TMCFileTypeList |
( |
|
) |
|
Member Function Documentation
void TMCFileTypeList::AddElem |
( |
const TMCFileType & |
fileType |
) |
|
void TMCFileTypeList::ArrayFree |
( |
|
) |
[inline] |
Get the TMCFileType that corresponds to an extension or type.
const TMCFileType* TMCFileTypeList::FindMCFileType |
( |
const TMCFile & |
file |
) |
const |
Gets the MCFileType of a file
Get the MCFileType using an id
MCFileTypeID TMCFileTypeList::FindMCFileTypeID |
( |
const TMCFile & |
file |
) |
const |
Gets the MCFileTypeID of a file
TMCFileType& TMCFileTypeList::GetElem |
( |
int32 |
index |
) |
[inline] |
const TMCFileType& TMCFileTypeList::GetElem |
( |
int32 |
index |
) |
const [inline] |
int32 TMCFileTypeList::GetElemCount |
( |
|
) |
const [inline] |
boolean TMCFileTypeList::IsSingleFileFamily |
( |
|
) |
const |
void TMCFileTypeList::ReadFromResource |
( |
TMCResourceStream & |
ss, |
|
|
MCTypeFamilyID |
familyID | |
|
) |
| | |
Member Data Documentation
The documentation for this class was generated from the following file: