FileExtension Class Reference

FileExtension Class Reference

#include <importexport.h>

Class Description

This class encapsulates the file extension information for importers & exporeters.

+ Examples:

Definition at line 18 of file importexport.h.

Public Types

enum  Flags { flagNoTextureCoordinates = 1, flagNoVertexColors = 2, flagNoVertexNormals = 4 }
 

Public Member Functions

 FileExtension (void)
 
 FileExtension (const QString &sExtension, const QString &sDescription, enum Image::Format eImageFormat=Image::eUnknown)
 
 FileExtension (const QString &sExtension, const QString &sDescription, enum Flags eFlags)
 
 FileExtension (const FileExtension &)
 
QString Extension (void) const
 
QString Description (void) const
 
enum Image::Format ImageFormat (void) const
 
enum Flags Flags (void)
 

Member Enumeration Documentation

enum Flags
Enumerator
flagNoTextureCoordinates 
flagNoVertexColors 

The file format does not contain texture coordinates.

flagNoVertexNormals 

The file format does not contain vertex colors.

Definition at line 21 of file importexport.h.

22  {
24  flagNoVertexColors = 2,
26  };
The file format does not contain vertex colors.
Definition: importexport.h:25
The file format does not contain texture coordinates.
Definition: importexport.h:24

Constructor & Destructor Documentation

FileExtension ( void  )
inline

Definition at line 35 of file importexport.h.

35 {};
FileExtension ( const QString sExtension,
const QString sDescription,
enum Image::Format  eImageFormat = Image::eUnknown 
)
FileExtension ( const QString sExtension,
const QString sDescription,
enum Flags  eFlags 
)

Member Function Documentation

QString Extension ( void  ) const
inline

Definition at line 39 of file importexport.h.

39 { return m_sExtension; }
QString Description ( void  ) const
inline

Definition at line 40 of file importexport.h.

40 { return m_sDescription; }
enum Image::Format ImageFormat ( void  ) const
inline

Definition at line 41 of file importexport.h.

41 { return m_eImageFormat; }
enum Flags Flags ( void  )
inline

Definition at line 42 of file importexport.h.

42 { return m_eFlags; };

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