foobar2000 SDK  2015-08-03
Public Member Functions | Protected Member Functions | Private Member Functions
playlist_dataobject_descabstract

#include <ole_interaction.h>

+ Inheritance diagram for playlist_dataobject_desc:

Public Member Functions

void copy (playlist_dataobject_desc const &source)
 
virtual void get_entry_content (t_size which, metadb_handle_list_ref out) const =0
 
virtual t_size get_entry_count () const =0
 
virtual void get_entry_name (t_size which, pfc::string_base &out) const =0
 
virtual void set_entry_content (t_size which, metadb_handle_list_cref content)=0
 
virtual void set_entry_count (t_size count)=0
 
virtual void set_entry_name (t_size which, const char *name)=0
 

Protected Member Functions

 ~playlist_dataobject_desc ()
 

Private Member Functions

const playlist_dataobject_descoperator= (const playlist_dataobject_desc &)
 

Detailed Description

Definition at line 1 of file ole_interaction.h.

Constructor & Destructor Documentation

playlist_dataobject_desc::~playlist_dataobject_desc ( )
inlineprotected

Definition at line 20 of file ole_interaction.h.

20 {}

Member Function Documentation

void playlist_dataobject_desc::copy ( playlist_dataobject_desc const &  source)
inline

Definition at line 11 of file ole_interaction.h.

11  {
12  const t_size count = source.get_entry_count(); set_entry_count(count);
13  metadb_handle_list content; pfc::string8 name;
14  for(t_size walk = 0; walk < count; ++walk) {
15  source.get_entry_name(walk,name); source.get_entry_content(walk,content);
16  set_entry_name(walk,name); set_entry_content(walk,content);
17  }
18  }
virtual void set_entry_content(t_size which, metadb_handle_list_cref content)=0
size_t t_size
Definition: int_types.h:48
virtual void set_entry_count(t_size count)=0
virtual void set_entry_name(t_size which, const char *name)=0
virtual void playlist_dataobject_desc::get_entry_content ( t_size  which,
metadb_handle_list_ref  out 
) const
pure virtual
virtual t_size playlist_dataobject_desc::get_entry_count ( ) const
pure virtual
virtual void playlist_dataobject_desc::get_entry_name ( t_size  which,
pfc::string_base out 
) const
pure virtual
const playlist_dataobject_desc& playlist_dataobject_desc::operator= ( const playlist_dataobject_desc )
inlineprivate

Definition at line 22 of file ole_interaction.h.

22 {return *this;}
virtual void playlist_dataobject_desc::set_entry_content ( t_size  which,
metadb_handle_list_cref  content 
)
pure virtual
virtual void playlist_dataobject_desc::set_entry_count ( t_size  count)
pure virtual
virtual void playlist_dataobject_desc::set_entry_name ( t_size  which,
const char *  name 
)
pure virtual

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