ardour
Public Types | Public Member Functions | Protected Attributes | List of all members
ARDOUR::AudioPlaylistImportHandler Class Reference

#include <audio_playlist_importer.h>

Inheritance diagram for ARDOUR::AudioPlaylistImportHandler:
ARDOUR::ElementImportHandler ARDOUR::UnusedAudioPlaylistImportHandler

Public Types

typedef boost::shared_ptr
< AudioPlaylistImporter
PlaylistPtr
 
typedef std::list< PlaylistPtrPlaylistList
 
- Public Types inherited from ARDOUR::ElementImportHandler
typedef boost::shared_ptr
< ElementImporter
ElementPtr
 
typedef std::list< ElementPtrElementList
 

Public Member Functions

 AudioPlaylistImportHandler (XMLTree const &source, Session &session, AudioRegionImportHandler &region_handler, const char *nodename="Playlists")
 
virtual ~AudioPlaylistImportHandler ()
 
virtual std::string get_info () const
 
void get_regions (XMLNode const &node, ElementList &list) const
 
void update_region_id (XMLProperty *id_prop)
 
void playlists_by_diskstream (PBD::ID const &id, PlaylistList &list) const
 
- Public Member Functions inherited from ARDOUR::ElementImportHandler
 ElementImportHandler (XMLTree const &source, ARDOUR::Session &session)
 
virtual ~ElementImportHandler ()
 
bool check_name (const std::string &name) const
 
void add_name (std::string name)
 Adds name to the list of used names. More...
 
void remove_name (const std::string &name)
 Removes name from the list of used names. More...
 

Protected Attributes

AudioRegionImportHandlerregion_handler
 
- Protected Attributes inherited from ARDOUR::ElementImportHandler
XMLTree const & source
 Source session XML tree. More...
 
ARDOUR::Sessionsession
 Destination session. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ARDOUR::ElementImportHandler
static bool dirty ()
 Checks wheter or not all elements can be imported cleanly. More...
 
static void set_dirty ()
 Sets handler dirty. More...
 
static bool errors ()
 Checks wheter or not all elements were imported cleanly. More...
 
static void set_errors ()
 Sets handler dirty. More...
 
- Public Attributes inherited from ARDOUR::ElementImportHandler
ElementList elements
 Elements this handler handles. More...
 
- Static Protected Attributes inherited from ARDOUR::ElementImportHandler
static bool _dirty = false
 Session XML readability. More...
 
static bool _errors = false
 Errors post initialization. More...
 

Detailed Description

Definition at line 41 of file audio_playlist_importer.h.

Member Typedef Documentation

Definition at line 45 of file audio_playlist_importer.h.

Definition at line 44 of file audio_playlist_importer.h.

Constructor & Destructor Documentation

AudioPlaylistImportHandler::AudioPlaylistImportHandler ( XMLTree const &  source,
Session session,
AudioRegionImportHandler region_handler,
const char *  nodename = "Playlists" 
)

Definition at line 41 of file audio_playlist_importer.cc.

virtual ARDOUR::AudioPlaylistImportHandler::~AudioPlaylistImportHandler ( )
inlinevirtual

Definition at line 48 of file audio_playlist_importer.h.

Member Function Documentation

string AudioPlaylistImportHandler::get_info ( ) const
virtual

Gets a textual representation of the element type

Returns
textual representation of element type

Implements ARDOUR::ElementImportHandler.

Reimplemented in ARDOUR::UnusedAudioPlaylistImportHandler.

Definition at line 66 of file audio_playlist_importer.cc.

void AudioPlaylistImportHandler::get_regions ( XMLNode const &  node,
ElementList list 
) const

Definition at line 72 of file audio_playlist_importer.cc.

void AudioPlaylistImportHandler::playlists_by_diskstream ( PBD::ID const &  id,
PlaylistList list 
) const

Definition at line 86 of file audio_playlist_importer.cc.

void AudioPlaylistImportHandler::update_region_id ( XMLProperty id_prop)

Definition at line 78 of file audio_playlist_importer.cc.

Member Data Documentation

AudioRegionImportHandler& ARDOUR::AudioPlaylistImportHandler::region_handler
protected

Definition at line 57 of file audio_playlist_importer.h.


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