fileformat_handler.h File Reference

Classes

class  FileFormatHandlerInterface
 
class  FileFormatDetectionInterface
 

Namespaces

 maxon
 
 maxon::FileFormatHandlers
 

Enumerations

enum  FILEFORMAT_PRIORITY {
  SHIFT_ONE,
  SHIFT_TEN,
  FALLBACKFORMAT,
  GENERALFORMAT,
  NATIVEFORMAT
}
 

Functions

enum maxon::FILEFORMAT_PRIORITY MAXON_ENUM_LIST (FILEFORMAT_PRIORITY)
 
FILEFORMAT_PRIORITY operator+ (FILEFORMAT_PRIORITY s1, FILEFORMAT_PRIORITY s2)
 
FILEFORMAT_PRIORITY operator- (FILEFORMAT_PRIORITY s1, FILEFORMAT_PRIORITY s2)
 
 MAXON_REGISTRY (FileFormatHandler, FileFormatHandlers, "net.maxon.registry.fileformathandlers")
 
 MAXON_DECLARATION (FileFormatHandler, GenericFile, "net.maxon.fileformathandler.genericfile")
 
 MAXON_DECLARATION (FileFormatHandler, Browsable, "net.maxon.fileformathandler.browsable")
 
 MAXON_DECLARATION (FileFormatHandler, MaxonDocumentBinaryHandler, "net.maxon.fileformathandler.maxondocumentbinaryhandler")
 
 MAXON_DECLARATION (FileFormatHandler, MaxonDocumentJsonHandler, "net.maxon.fileformathandler.maxondocumentjsonhandler")
 
 MAXON_DECLARATION (FileFormatHandler, MaxonDocumentXmlHandler, "net.maxon.fileformathandler.maxondocumentxmlhandler")
 

Variables

 SHIFT_ONE
 
 SHIFT_TEN
 
 FALLBACKFORMAT
 
 GENERALFORMAT
 
 NATIVEFORMAT
 

Variable Documentation

◆ SHIFT_ONE

SHIFT_ONE

Add/Sub this value to in/decrease the priority by 1.

◆ SHIFT_TEN

SHIFT_TEN

Add/sub this value to in/decrease the priority by 10.

◆ FALLBACKFORMAT

FALLBACKFORMAT

Specifies the lowest priority of a file format.

◆ GENERALFORMAT

GENERALFORMAT

Specifies the medium priority of a file format. This should be used for general loaders which handle many formats through other APIS (e.g. ffmpeg)

◆ NATIVEFORMAT

NATIVEFORMAT

Specifies the highest priority of a file format. This should be used for native implementations (e.g. image formats like jpg, tif done by us).