Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

Assets Class Reference

#include <assets.h>

List of all members.

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)

Public Attributes

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


Member Function Documentation

Asset * Assets::asset_number int  number  ) 
 

Definition at line 193 of file assets.C.

void Assets::copy_from Assets assets  ) 
 

Definition at line 82 of file assets.C.

References Asset::copy_from().

Referenced by EDL::copy_assets(), and operator=().

int Assets::delete_all  ) 
 

Definition at line 132 of file assets.C.

References remove().

Referenced by ~Assets().

int Assets::dump  ) 
 

Definition at line 217 of file assets.C.

References Asset::dump().

Referenced by EDL::dump(), and DumpAssets::handle_event().

Asset * Assets::get_asset const char *  filename  ) 
 

Definition at line 157 of file assets.C.

References Asset::test_path().

Referenced by CICache::delete_entry(), Edits::load_edit(), and MWindow::load_filenames().

int Assets::load ArrayList< PluginServer * > *  plugindb,
FileXML xml,
uint32_t  load_flags
 

Definition at line 27 of file assets.C.

References XMLTag::get_property(), Asset::read(), FileXML::read_tag(), FileXML::tag, XMLTag::title_is(), and update().

Referenced by EDL::load_xml().

int Assets::number_of Asset asset  ) 
 

Definition at line 182 of file assets.C.

Assets & Assets::operator= Assets assets  ) 
 

Definition at line 94 of file assets.C.

References copy_from().

Asset * Assets::remove_asset Asset asset  ) 
 

Definition at line 176 of file assets.C.

int Assets::save ArrayList< PluginServer * > *  plugindb,
FileXML xml,
char *  output_path
 

Definition at line 62 of file assets.C.

References FileXML::append_newline(), FileXML::append_tag(), XMLTag::set_title(), FileXML::tag, and Asset::write().

Asset * Assets::update const char *  path  ) 
 

Definition at line 141 of file assets.C.

References Asset::test_path().

Asset * Assets::update Asset asset  ) 
 

Definition at line 113 of file assets.C.

References Asset::path, and Asset::test_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 102 of file assets.C.

References Asset::path, Asset::test_path(), and Asset::update_index().

Referenced by EDL::set_index_file().

int Assets::update_old_filename char *  old_filename,
char *  new_filename
 

Definition at line 204 of file assets.C.

References Asset::path, and Asset::update_path().

Referenced by ThreadIndexer::run().

void Assets::update_ptr Asset asset  ) 
 


Member Data Documentation

EDL* Assets::edl
 

Definition at line 43 of file assets.h.


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:09 2006 for Cinelerra-svn by  doxygen 1.4.4