Public Member Functions | |
| TMCFileType () | |
| TMCFileType (const MCFileTypeID &typeID, MCTypeFamilyID familyTypeID) | |
| MCFileTypeID | GetID () const |
| void | SetID (const MCFileTypeID &id) |
| void | GetName (TMCString &name) const |
| const TMCString & | GetName (void) const |
| void | SetName (const TMCString &name) |
| void | AddType (const TMCFileID &inType) |
| void | AddExtension (const TMCString &inExtension) |
| boolean | ContainsExt (const TMCString &extension) const |
| boolean | ContainsType (const TMCFileID &type) const |
| boolean | Contains (const TMCString &extension, const TMCFileID &type) const |
| MCTypeFamilyID | GetFileTypeFamilyID () const |
| void | SetFileTypeFamilyID (MCTypeFamilyID fileTypeFamilyID) |
| int32 | GetExtensionsCount () const |
| const TMCString & | GetExtension (int32 index) const |
| int32 | GetTypesCount () const |
| const TMCFileID & | GetType (int32 index) const |
Protected Attributes | |
| MCFileTypeID | fID |
| The identifier of the file type (unique for the application). | |
| TMCString31 | fName |
| The name of the file type (eg "QuickTime Movie"). | |
| MCTypeFamilyID | fFileTypeFamilyID |
| eg 2dfiles, 3d files, movies... | |
| TMCClassArray< TMCDynamicString > | fExtensions |
| The list of extensions generally used by such files (eg .html, .htm). | |
| TMCArray< TMCFileID > | fTypes |
| The platform specific (macos9) types of such files (eg 'TEXT'). | |
|
|
|
|
||||||||||||
|
|
|
|
Adds an extension to the file type |
|
|
Adds a type to the file type |
|
||||||||||||
|
Tells us if a given extension or TMCFileID is contained in the the TMCFileType |
|
|
Tells us if a given extension is contained in the the TMCFileType |
|
|
Tells us if a given TMCFileID is contained in the the TMCFileType |
|
|
|
|
|
|
|
|
Gets the filetype family of a filetype |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sets the filetype family of a filetype |
|
|
|
|
|
|
|
|
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').
|
1.3.9.1