#include <assets.h>
Inherits List< Asset >.

Public Member Functions | |
| Assets (EDL *edl) | |
| virtual | ~Assets () |
| int | load (ArrayList< PluginServer * > *plugindb, FileXML *xml, uint32_t load_flags) |
| int | save (ArrayList< PluginServer * > *plugindb, FileXML *xml, char *output_path) |
| Assets & | operator= (Assets &assets) |
| void | copy_from (Assets *assets) |
| Asset * | update (Asset *asset) |
| void | update_index (Asset *asset) |
| int | delete_all () |
| int | dump () |
| Asset * | update (const char *path) |
| void | update_ptr (Asset *asset) |
| Asset * | get_asset (const char *filename) |
| Asset * | remove_asset (Asset *asset) |
| int | number_of (Asset *asset) |
| Asset * | asset_number (int number) |
| int | update_old_filename (char *old_filename, char *new_filename) |
Data Fields | |
| EDL * | edl |
Definition at line 19 of file assets.h.
| Assets::~Assets | ( | ) | [virtual] |
Definition at line 22 of file assets.C.
References delete_all().

| int Assets::load | ( | ArrayList< PluginServer * > * | plugindb, | |
| FileXML * | xml, | |||
| uint32_t | load_flags | |||
| ) |
Definition at line 27 of file assets.C.
References Garbage::delete_object(), XMLTag::get_property(), Asset::read(), FileXML::read_tag(), FileXML::tag, XMLTag::title_is(), and update().
Referenced by EDL::load_xml().

| int Assets::save | ( | ArrayList< PluginServer * > * | plugindb, | |
| FileXML * | xml, | |||
| char * | output_path | |||
| ) |
Definition at line 63 of file assets.C.
References FileXML::append_newline(), FileXML::append_tag(), List< Asset >::first, NEXT, XMLTag::set_title(), and FileXML::tag.

Definition at line 95 of file assets.C.
References copy_from().

| void Assets::copy_from | ( | Assets * | assets | ) |
Definition at line 83 of file assets.C.
References List< Asset >::append(), Asset::copy_from(), delete_all(), List< TYPE >::first, and NEXT.
Referenced by EDL::copy_assets(), and operator=().

Definition at line 114 of file assets.C.
References List< Asset >::append(), List< Asset >::first, NEXT, and Asset::path.
Referenced by Edit::copy_from(), EDL::insert_asset(), Edits::insert_edits(), load(), MWindow::load_filenames(), and EDL::update_assets().

| void Assets::update_index | ( | Asset * | asset | ) |
Definition at line 103 of file assets.C.
References List< Asset >::first, NEXT, and Asset::path.
Referenced by EDL::set_index_file().
| int Assets::delete_all | ( | ) |
Definition at line 133 of file assets.C.
References List< Asset >::first, and remove_asset().
Referenced by copy_from(), and ~Assets().

| int Assets::dump | ( | ) |
Definition at line 219 of file assets.C.
References List< Asset >::first, and NEXT.
Referenced by EDL::dump(), and DumpAssets::handle_event().
| Asset * Assets::update | ( | const char * | path | ) |
Definition at line 142 of file assets.C.
References List< Asset >::append(), List< Asset >::first, NEXT, and Asset::test_path().

| void Assets::update_ptr | ( | Asset * | asset | ) |
| Asset * Assets::get_asset | ( | const char * | filename | ) |
Definition at line 158 of file assets.C.
References List< Asset >::first, ListItem< TYPE >::next, and Asset::test_path().
Referenced by Edits::load_edit(), and MWindow::load_filenames().

Definition at line 177 of file assets.C.
References Garbage::delete_object(), and List< Asset >::remove_pointer().
Referenced by delete_all().

| int Assets::number_of | ( | Asset * | asset | ) |
Reimplemented from List< Asset >.
Definition at line 184 of file assets.C.
References List< Asset >::first, and NEXT.
| Asset * Assets::asset_number | ( | int | number | ) |
| int Assets::update_old_filename | ( | char * | old_filename, | |
| char * | new_filename | |||
| ) |
Definition at line 206 of file assets.C.
References List< Asset >::first, and NEXT.
Referenced by ThreadIndexer::run().
1.5.5