TuttleOFX
1
|
#include <LibAVPresetFileParser.hpp>
Public Member Functions | |
LibAVPresetFileParser (const std::string &filepath) | |
~LibAVPresetFileParser () | |
std::string | getId () |
std::string | getIdLabel () |
PresetParameters & | getParameters () |
bool | idValidFile () const |
void | print () const |
Static Public Member Functions | |
static std::string | getId (const std::string &filepath) |
Protected Member Functions | |
PresetParameters | parseFile (const std::string &filepath) |
Private Attributes | |
std::string | id |
std::string | idLabel |
EPresetType | presetType |
PresetParameters | presetsParameters |
Definition at line 10 of file LibAVPresetFileParser.hpp.
tuttle::plugin::av::LibAVPresetFileParser::LibAVPresetFileParser | ( | const std::string & | filepath | ) |
Definition at line 22 of file LibAVPresetFileParser.cpp.
References parseFile(), and presetsParameters.
tuttle::plugin::av::LibAVPresetFileParser::~LibAVPresetFileParser | ( | ) |
Definition at line 29 of file LibAVPresetFileParser.cpp.
std::string tuttle::plugin::av::LibAVPresetFileParser::getId | ( | const std::string & | filepath | ) | [static] |
Definition at line 34 of file LibAVPresetFileParser.cpp.
Referenced by tuttle::plugin::av::LibAVPresetParser::getPresetList(), tuttle::plugin::av::LibAVAudioPreset::LibAVAudioPreset(), tuttle::plugin::av::LibAVFormatPreset::LibAVFormatPreset(), tuttle::plugin::av::LibAVPreset::LibAVPreset(), and tuttle::plugin::av::LibAVVideoPreset::LibAVVideoPreset().
std::string tuttle::plugin::av::LibAVPresetFileParser::getId | ( | ) | [inline] |
Definition at line 18 of file LibAVPresetFileParser.hpp.
References id.
Referenced by tuttle::plugin::av::LibAVPresetParser::getPresetList(), and parseFile().
std::string tuttle::plugin::av::LibAVPresetFileParser::getIdLabel | ( | ) | [inline] |
Definition at line 19 of file LibAVPresetFileParser.hpp.
References idLabel.
Referenced by tuttle::plugin::av::LibAVPresetParser::getPresetList().
PresetParameters& tuttle::plugin::av::LibAVPresetFileParser::getParameters | ( | ) | [inline] |
Definition at line 21 of file LibAVPresetFileParser.hpp.
References presetsParameters.
Referenced by tuttle::plugin::av::LibAVAudioPreset::LibAVAudioPreset(), tuttle::plugin::av::LibAVFormatPreset::LibAVFormatPreset(), tuttle::plugin::av::LibAVPreset::LibAVPreset(), and tuttle::plugin::av::LibAVVideoPreset::LibAVVideoPreset().
bool tuttle::plugin::av::LibAVPresetFileParser::idValidFile | ( | ) | const [inline] |
Definition at line 23 of file LibAVPresetFileParser.hpp.
References eUnknownPresetType, and presetType.
PresetParameters tuttle::plugin::av::LibAVPresetFileParser::parseFile | ( | const std::string & | filepath | ) | [protected] |
Definition at line 39 of file LibAVPresetFileParser.cpp.
References eAudioPresetType, eFormatPresetType, eMainPresetType, eVideoPresetType, getId(), idLabel, kPresetAudioExtension, kPresetExtension, kPresetFormatExtension, kPresetLabel, kPresetVideoExtension, presetType, and TUTTLE_LOG_WARNING.
Referenced by LibAVPresetFileParser().
void tuttle::plugin::av::LibAVPresetFileParser::print | ( | ) | const |
Definition at line 118 of file LibAVPresetFileParser.cpp.
References eAudioPresetType, eFormatPresetType, eMainPresetType, eUnknownPresetType, eVideoPresetType, id, idLabel, presetsParameters, presetType, and TUTTLE_LOG_WARNING.
std::string tuttle::plugin::av::LibAVPresetFileParser::id [private] |
Definition at line 31 of file LibAVPresetFileParser.hpp.
std::string tuttle::plugin::av::LibAVPresetFileParser::idLabel [private] |
Definition at line 32 of file LibAVPresetFileParser.hpp.
Referenced by getIdLabel(), parseFile(), and print().
Definition at line 34 of file LibAVPresetFileParser.hpp.
Referenced by getParameters(), LibAVPresetFileParser(), and print().
Definition at line 33 of file LibAVPresetFileParser.hpp.
Referenced by idValidFile(), parseFile(), and print().