class CCL::FileType
File type information (extension + description + MIME type).
#include <filetype.h> class FileType: protected CCL::PlainFileType { public: // construction FileType ( CStringPtr _description = nullptr, CStringPtr _extension = nullptr, CStringPtr _mimeType = nullptr ); // methods bool isValid () const; void clear (); StringRef getDescription () const; void setDescription (StringRef desc); StringRef getExtension () const; void setExtension (StringRef ext); StringRef getMimeType () const; void setMimeType (StringRef mimeType); bool equals (const FileType& t) const; bool operator == (const FileType& t) const; bool operator != (const FileType& t) const; bool isTextType () const; bool isHumanReadable () const; };
Inherited Members
public: // fields String description; String extension; String mimeType;