ardour
|
#include <export_filename.h>
Public Types | |
enum | DateFormat { D_None, D_ISO, D_ISOShortY, D_BE, D_BEShortY } |
enum | TimeFormat { T_None, T_NoDelim, T_Delim } |
Public Member Functions | |
XMLNode & | get_state () |
int | set_state (const XMLNode &) |
std::string | get_path (ExportFormatSpecPtr format) const |
std::string | get_folder () const |
TimeFormat | get_time_format () const |
DateFormat | get_date_format () const |
std::string | get_time_format_str (TimeFormat format) const |
std::string | get_date_format_str (DateFormat format) const |
std::string | get_label () const |
uint32_t | get_revision () const |
void | set_time_format (TimeFormat format) |
void | set_date_format (DateFormat format) |
void | set_label (std::string value) |
void | set_revision (uint32_t value) |
void | set_channel (uint32_t value) |
bool | set_folder (std::string path) |
void | set_timespan (ExportTimespanPtr ts) |
void | set_channel_config (ExportChannelConfigPtr cc) |
Public Attributes | |
bool | include_label |
bool | include_session |
bool | include_revision |
bool | include_channel_config |
bool | include_format_name |
bool | include_channel |
bool | include_timespan |
bool | include_time |
bool | include_date |
Private Types | |
typedef std::pair< bool, std::string > | FieldPair |
Private Member Functions | |
ExportFilename (Session &session) | |
std::string | get_formatted_time (std::string const &format) const |
void | add_field (XMLNode *node, std::string const &name, bool enabled, std::string const &value="") |
FieldPair | get_field (XMLNode const &node, std::string const &name) |
FieldPair | analyse_folder () |
Private Attributes | |
Session & | session |
std::string | label |
uint32_t | revision |
uint32_t | channel |
std::string | folder |
DateFormat | date_format |
TimeFormat | time_format |
struct tm * | time_struct |
ExportTimespanPtr | timespan |
ExportChannelConfigPtr | channel_config |
Friends | |
class | ExportElementFactory |
Definition at line 37 of file export_filename.h.
|
private |
Definition at line 123 of file export_filename.h.
Enumerator | |
---|---|
D_None | |
D_ISO | |
D_ISOShortY | |
D_BE | |
D_BEShortY |
Definition at line 40 of file export_filename.h.
Enumerator | |
---|---|
T_None | |
T_NoDelim | |
T_Delim |
Definition at line 48 of file export_filename.h.
|
private |
Definition at line 48 of file export_filename.cc.
|
private |
Definition at line 329 of file export_filename.cc.
|
private |
Definition at line 377 of file export_filename.cc.
|
inline |
Definition at line 70 of file export_filename.h.
string ARDOUR::ExportFilename::get_date_format_str | ( | DateFormat | format | ) | const |
Definition at line 256 of file export_filename.cc.
|
private |
Definition at line 346 of file export_filename.cc.
|
inline |
Definition at line 67 of file export_filename.h.
|
private |
Definition at line 319 of file export_filename.cc.
|
inline |
Definition at line 74 of file export_filename.h.
string ARDOUR::ExportFilename::get_path | ( | ExportFormatSpecPtr | format | ) | const |
Definition at line 168 of file export_filename.cc.
|
inline |
Definition at line 75 of file export_filename.h.
XMLNode & ARDOUR::ExportFilename::get_state | ( | void | ) |
Definition at line 81 of file export_filename.cc.
|
inline |
Definition at line 69 of file export_filename.h.
string ARDOUR::ExportFilename::get_time_format_str | ( | TimeFormat | format | ) | const |
Definition at line 238 of file export_filename.cc.
|
inline |
Definition at line 83 of file export_filename.h.
|
inline |
Definition at line 87 of file export_filename.h.
void ARDOUR::ExportFilename::set_date_format | ( | DateFormat | format | ) |
Definition at line 292 of file export_filename.cc.
bool ARDOUR::ExportFilename::set_folder | ( | std::string | path | ) |
Definition at line 311 of file export_filename.cc.
void ARDOUR::ExportFilename::set_label | ( | std::string | value | ) |
Definition at line 304 of file export_filename.cc.
|
inline |
Definition at line 82 of file export_filename.h.
int ARDOUR::ExportFilename::set_state | ( | const XMLNode & | node | ) |
Definition at line 105 of file export_filename.cc.
void ARDOUR::ExportFilename::set_time_format | ( | TimeFormat | format | ) |
Definition at line 280 of file export_filename.cc.
|
inline |
Definition at line 86 of file export_filename.h.
|
friend |
Definition at line 55 of file export_filename.h.
|
private |
Definition at line 107 of file export_filename.h.
|
private |
Definition at line 119 of file export_filename.h.
|
private |
Definition at line 111 of file export_filename.h.
|
private |
Definition at line 109 of file export_filename.h.
bool ARDOUR::ExportFilename::include_channel |
Definition at line 96 of file export_filename.h.
bool ARDOUR::ExportFilename::include_channel_config |
Definition at line 94 of file export_filename.h.
bool ARDOUR::ExportFilename::include_date |
Definition at line 99 of file export_filename.h.
bool ARDOUR::ExportFilename::include_format_name |
Definition at line 95 of file export_filename.h.
bool ARDOUR::ExportFilename::include_label |
Definition at line 91 of file export_filename.h.
bool ARDOUR::ExportFilename::include_revision |
Definition at line 93 of file export_filename.h.
bool ARDOUR::ExportFilename::include_session |
Definition at line 92 of file export_filename.h.
bool ARDOUR::ExportFilename::include_time |
Definition at line 98 of file export_filename.h.
bool ARDOUR::ExportFilename::include_timespan |
Definition at line 97 of file export_filename.h.
|
private |
Definition at line 105 of file export_filename.h.
|
private |
Definition at line 106 of file export_filename.h.
|
private |
Definition at line 103 of file export_filename.h.
|
private |
Definition at line 112 of file export_filename.h.
|
private |
Definition at line 116 of file export_filename.h.
|
private |
Definition at line 118 of file export_filename.h.