k3d::imime_type_handler Class Reference

Abstract interface for objects that can identify the MIME Type of a file. More...

#include <imime_type_handler.h>

Inheritance diagram for k3d::imime_type_handler:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool_t identify_mime_type (const filesystem::path &File, string_t &FileType)=0
 Called to identify the MIME Type of a file. Returns true iff the MIME Type was successfully identified.
virtual bool_t identify_mime_type (const string_t &Data, string_t &DataType)=0
 Called to identify the MIME Type of a data stream. Returns true iff the MIME Type was successfully identified.

Protected Member Functions

 imime_type_handler ()
 imime_type_handler (const imime_type_handler &)
imime_type_handleroperator= (const imime_type_handler &)
virtual ~imime_type_handler ()

Detailed Description

Abstract interface for objects that can identify the MIME Type of a file.


Constructor & Destructor Documentation

k3d::imime_type_handler::imime_type_handler (  )  [inline, protected]
k3d::imime_type_handler::imime_type_handler ( const imime_type_handler  )  [inline, protected]
virtual k3d::imime_type_handler::~imime_type_handler (  )  [inline, protected, virtual]

Member Function Documentation

virtual bool_t k3d::imime_type_handler::identify_mime_type ( const string_t Data,
string_t DataType 
) [pure virtual]

Called to identify the MIME Type of a data stream. Returns true iff the MIME Type was successfully identified.

Implemented in module::file::magic::mime_type_handler, and module::gnome::mime_type_handler.

virtual bool_t k3d::imime_type_handler::identify_mime_type ( const filesystem::path File,
string_t FileType 
) [pure virtual]

Called to identify the MIME Type of a file. Returns true iff the MIME Type was successfully identified.

Implemented in module::file::magic::mime_type_handler, and module::gnome::mime_type_handler.

imime_type_handler& k3d::imime_type_handler::operator= ( const imime_type_handler  )  [inline, protected]

The documentation for this class was generated from the following file:

Generated on Mon Mar 21 07:41:52 2011 for K-3D by doxygen 1.6.3