libpromeki main
PROfessional MEdia toolKIt
 
Loading...
Searching...
No Matches
FileFormatFactory< Product >::Context Struct Reference

Context passed to factory methods for lookup and creation. More...

#include <fileformatfactory.h>

Collaboration diagram for FileFormatFactory< Product >::Context:

Public Attributes

int operation = 0
 Product-specific operation (e.g. Reader/Writer).
 
String filename
 Full path, if available.
 
String formatHint
 Extension hint (e.g. "wav"), no dot.
 
IODevicedevice = nullptr
 IODevice to operate on, if available.
 

Detailed Description

template<typename Product>
struct FileFormatFactory< Product >::Context

Context passed to factory methods for lookup and creation.

Carries all available information about the requested operation. Factories inspect whichever fields are relevant and ignore the rest.


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