TMCFileType Class Reference
[MCCore]
List of all members.
Detailed Description
TMCFileType stores some information about a particular kind of files that the application knows (like "Html files"). That info consists of an ID, name, and a list of extensions and platform (macos9) types.
- Note:
- When savind a file, the application uses the first extension of the list.
- See also:
- IShFileFormatUtilities has some convenient methods related to file types.
Constructor & Destructor Documentation
TMCFileType::TMCFileType |
( |
|
) |
|
Member Function Documentation
void TMCFileType::AddExtension |
( |
const TMCString & |
inExtension |
) |
|
Adds an extension to the file type
void TMCFileType::AddType |
( |
const TMCFileID & |
inType |
) |
|
Adds a type to the file type
Tells us if a given extension is contained in the the TMCFileType
const TMCString& TMCFileType::GetExtension |
( |
int32 |
index |
) |
const [inline] |
int32 TMCFileType::GetExtensionsCount |
( |
|
) |
const [inline] |
Gets the filetype family of a filetype
const TMCString& TMCFileType::GetName |
( |
void |
|
) |
const [inline] |
void TMCFileType::GetName |
( |
TMCString & |
name |
) |
const [inline] |
const TMCFileID& TMCFileType::GetType |
( |
int32 |
index |
) |
const [inline] |
int32 TMCFileType::GetTypesCount |
( |
|
) |
const [inline] |
void TMCFileType::SetFileTypeFamilyID |
( |
MCTypeFamilyID |
fileTypeFamilyID |
) |
[inline] |
Sets the filetype family of a filetype
void TMCFileType::SetID |
( |
const MCFileTypeID & |
id |
) |
[inline] |
void TMCFileType::SetName |
( |
const TMCString & |
name |
) |
[inline] |
Member Data Documentation
The list of extensions generally used by such files (eg .html, .htm).
eg 2dfiles, 3d files, movies...
The identifier of the file type (unique for the application).
The name of the file type (eg "QuickTime Movie").
The platform specific (macos9) types of such files (eg 'TEXT').
The documentation for this class was generated from the following file: