Assets Class Reference

#include <assets.h>

Inherits List< Asset >.

Collaboration diagram for Assets:

Collaboration graph
[legend]

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)
Assetsoperator= (Assets &assets)
void copy_from (Assets *assets)
Assetupdate (Asset *asset)
void update_index (Asset *asset)
int delete_all ()
int dump ()
Assetupdate (const char *path)
void update_ptr (Asset *asset)
Assetget_asset (const char *filename)
Assetremove_asset (Asset *asset)
int number_of (Asset *asset)
Assetasset_number (int number)
int update_old_filename (char *old_filename, char *new_filename)

Data Fields

EDLedl

Detailed Description

Definition at line 19 of file assets.h.


Constructor & Destructor Documentation

Assets::Assets ( EDL edl  ) 

Definition at line 17 of file assets.C.

Assets::~Assets (  )  [virtual]

Definition at line 22 of file assets.C.

References delete_all().

Here is the call graph for this function:


Member Function Documentation

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

Assets & Assets::operator= ( Assets assets  ) 

Definition at line 95 of file assets.C.

References copy_from().

Here is the call graph for this function:

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=().

Here is the call graph for this function:

Asset * Assets::update ( Asset asset  ) 

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Asset * Assets::remove_asset ( Asset asset  ) 

Definition at line 177 of file assets.C.

References Garbage::delete_object(), and List< Asset >::remove_pointer().

Referenced by delete_all().

Here is the call graph for this function:

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  ) 

Definition at line 195 of file assets.C.

References List< Asset >::first, and NEXT.

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().


Field Documentation

Definition at line 43 of file assets.h.


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:11:03 2008 for Cinelerra by  doxygen 1.5.5