List< TYPE > Class Template Reference

#include <linklist.h>

Collaboration diagram for List< TYPE >:

Collaboration graph
[legend]

Public Member Functions

 List ()
virtual ~List ()
void remove (TYPE *item)
void remove_pointer (ListItem< TYPE > *item)
TYPE * append ()
TYPE * append (TYPE *new_item)
TYPE * insert_before (TYPE *item)
TYPE * insert_before (TYPE *item, TYPE *new_item)
TYPE * insert_after (TYPE *item)
TYPE * insert_after (TYPE *item, TYPE *new_item)
TYPE * get_item_number (int number)
int get_item_number (TYPE *item)
void swap (TYPE *item1, TYPE *item2)
int total ()
int number_of (TYPE *item)

Data Fields

TYPE * first
TYPE * last

Detailed Description

template<class TYPE>
class List< TYPE >

Definition at line 8 of file linklist.h.


Constructor & Destructor Documentation

template<class TYPE>
List< TYPE >::List (  )  [inline]

Definition at line 56 of file linklist.h.

References List< TYPE >::first, and List< TYPE >::last.

template<class TYPE>
List< TYPE >::~List (  )  [inline, virtual]

Definition at line 62 of file linklist.h.

References List< TYPE >::last.


Member Function Documentation

template<class TYPE>
void List< TYPE >::remove ( TYPE *  item  )  [inline]

Definition at line 272 of file linklist.h.

Referenced by MainUndo::prune_undo(), and MainUndo::push_undo_item().

template<class TYPE>
void List< TYPE >::remove_pointer ( ListItem< TYPE > *  item  )  [inline]

template<class TYPE>
TYPE * List< TYPE >::append (  )  [inline]

template<class TYPE>
TYPE * List< TYPE >::append ( TYPE *  new_item  )  [inline]

Definition at line 145 of file linklist.h.

References List< TYPE >::first, and List< TYPE >::last.

template<class TYPE>
TYPE * List< TYPE >::insert_before ( TYPE *  item  )  [inline]

Definition at line 168 of file linklist.h.

Referenced by Tracks::move_effect(), and Edit::shift_start_in().

template<class TYPE>
TYPE * List< TYPE >::insert_before ( TYPE *  item,
TYPE *  new_item 
) [inline]

Definition at line 175 of file linklist.h.

References List< TYPE >::append(), and List< TYPE >::first.

Here is the call graph for this function:

template<class TYPE>
TYPE * List< TYPE >::insert_after ( TYPE *  item  )  [inline]

Definition at line 195 of file linklist.h.

Referenced by VEdits::insert_edit_after(), and PluginSet::insert_edit_after().

template<class TYPE>
TYPE * List< TYPE >::insert_after ( TYPE *  item,
TYPE *  new_item 
) [inline]

Definition at line 202 of file linklist.h.

References List< TYPE >::append(), and List< TYPE >::last.

Here is the call graph for this function:

template<class TYPE>
TYPE * List< TYPE >::get_item_number ( int  number  )  [inline]

template<class TYPE>
int List< TYPE >::get_item_number ( TYPE *  item  )  [inline]

Definition at line 109 of file linklist.h.

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

template<class TYPE>
void List< TYPE >::swap ( TYPE *  item1,
TYPE *  item2 
) [inline]

template<class TYPE>
int List< TYPE >::total (  )  [inline]

template<class TYPE>
int List< TYPE >::number_of ( TYPE *  item  )  [inline]

Reimplemented in Assets, and Tracks.

Definition at line 84 of file linklist.h.

References List< TYPE >::first, NEXT, and List< TYPE >::total().

Here is the call graph for this function:


Field Documentation

template<class TYPE>
TYPE* List< TYPE >::first

Definition at line 38 of file linklist.h.

Referenced by List< TYPE >::append(), Track::asset_used(), CWindow::calculate_affected_track(), HistogramMain::calculate_linear(), Track::change_modules(), Track::change_plugins(), VWindow::change_source(), EDL::copy_assets(), HistogramPoints::copy_from(), Tracks::copy_from(), PluginSet::copy_from(), Labels::copy_from(), Edits::copy_from(), Autos::copy_from(), Assets::copy_from(), AWindowGUI::create_label_folder(), CommonRender::create_modules(), ExportEDLWindow::create_objects(), PackageDispatcher::create_packages(), PatchBay::cursor_motion_event(), Track::detach_effect(), Track::detach_shared_effects(), PackageRenderer::direct_copy_possible(), TrackCanvas::do_autos(), TrackCanvas::do_edit_handles(), TrackCanvas::do_edits(), TrackCanvas::do_float_autos(), TrackCanvas::do_keyframes(), CWindowCanvas::do_mask(), TrackCanvas::do_plugin_autos(), TrackCanvas::do_plugin_handles(), TrackCanvas::do_plugins(), TrackCanvas::do_toggle_autos(), TrackCanvas::do_tracks(), TrackCanvas::do_transitions(), TrackCanvas::drag_motion(), TrackCanvas::draw_plugins(), TrackCanvas::draw_resources(), TrackCanvas::draw_transitions(), HistogramConfig::dump(), Track::dump(), Track::edit_change_duration(), VTrack::end_translation(), HistogramPoints::equivalent(), Tracks::equivalent_output(), Edits::equivalent_output(), Autos::equivalent_output(), ExportEDLAsset::export_it(), Track::get_current_transition(), TrackCanvas::get_drop_position(), List< TYPE >::get_item_number(), Plugin::get_next_keyframe(), Plugin::get_prev_keyframe(), EDL::get_shared_plugins(), EDL::get_shared_tracks(), Track::get_source_dimensions(), EDL::get_tracks_height(), EDL::get_tracks_width(), CWindowMaskDelete::handle_event(), EDL::insert_asset(), List< TYPE >::insert_before(), Edits::insert_edits(), Labels::insert_labels(), Autos::insert_track(), HistogramPoints::interpolate(), PatchBay::is_over_track(), MWindowGUI::keypress_event(), List< TYPE >::List(), MWindow::load_assets(), MainUndoStackItem::load_from_undo(), MWindow::map_audio(), VirtualConsole::module_number(), Tracks::move_effect(), MWindow::next_edit_handle(), List< TYPE >::number_of(), Track::optimize(), PluginSet::optimize(), EDL::optimize(), AssetPopup::paste_assets(), MWindow::paste_edls(), Track::playable_edit(), PlayableTracks::PlayableTracks(), MWindow::prev_edit_handle(), MainUndo::prune_undo(), EDL::rechannel(), RecordableATracks::RecordableATracks(), RecordableVTracks::RecordableVTracks(), Track::remove_asset(), EDL::remove_from_project(), List< TYPE >::remove_pointer(), AModule::render(), EDL::resample(), MainUndo::reset_creators(), VTrack::reset_translation(), ThreadIndexer::run(), MenuEffectThread::run(), VTrack::scale_video(), TimeBar::select_region(), VTrack::select_translation(), Plugin::shift_keyframes(), List< TYPE >::swap(), TrackCanvas::synchronize_autos(), PatchBay::synchronize_faders(), PatchBay::synchronize_nudge(), Track::synchronize_params(), PluginSet::synchronize_params(), EDL::synchronize_params(), MWindow::test_plugins(), VirtualConsole::test_reconfigure(), List< TYPE >::total(), VTrack::translate(), TransitionHandles::update(), PatchBay::update(), EditHandles::update(), AWindowGUI::update_asset_list(), EDL::update_assets(), TrackCanvas::update_drag_pluginauto(), TimeBar::update_labels(), RecordGUI::update_labels(), MWindow::update_plugin_states(), VWindow::update_position(), VWindowGUI::update_sources(), VTracking::update_tracker(), and VTrack::update_translation().

template<class TYPE>
TYPE* List< TYPE >::last


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

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