![]() | InDesign SDK 20.5 |
#include <FileTypeInfo.h>
Public Types | |
| typedef object_type | data_type |
Public Member Functions | |
| FileTypeInfo () | |
| FileTypeInfo (const SysOSType &fileType, const SysOSType &fileCreator, const PMString &fileExtension, const PMString &mimeType, const FileTypeInfoID &fileTypeID) | |
| FileTypeInfo (const FileTypeInfo &other) | |
| SysOSType | GetFileType () |
| SysOSType | GetFileCreator () |
| const PMString & | GetFileExtension () |
| const PMString & | GetFileMimeType () |
| const FileTypeInfoID & | GetFileTypeInfoID () |
| void | SetFileType (const SysOSType &fileType) |
| void | SetCreator (const SysOSType &creator) |
| void | SetFileExtension (const PMString &extension) |
| void | SetFileMimeType (const PMString &mimeType) |
| void | SetFileTypeID (const FileTypeInfoID &id) |
| bool | operator== (const FileTypeInfo &other) const |
| FileTypeInfo & | operator= (const FileTypeInfo &other) |
Groups together a file type, file creator and file extension (always lowercase).
| FileTypeInfo::FileTypeInfo | ( | ) |
default constructor
| FileTypeInfo::FileTypeInfo | ( | const SysOSType & | fileType, |
| const SysOSType & | fileCreator, | ||
| const PMString & | fileExtension, | ||
| const PMString & | mimeType, | ||
| const FileTypeInfoID & | fileTypeID | ||
| ) |
constructor
| inline |
copy constructor
| inline |
Get the file creator
| inline |
Get the file extension
| inline |
Get the file mime type
| inline |
Get the file type
| inline |
Get the file type info id
| inline |
assignment operator
| bool FileTypeInfo::operator== | ( | const FileTypeInfo & | other | ) | const |
equality operator
| inline |
Set the file creator
| inline |
Set the file extension
| inline |
Set the file mime type
| inline |
Set the file type
| inline |
Set the file type info id