foobar2000 SDK  2015-08-03
Public Member Functions | Private Member Functions | Private Attributes
make_playable_location

#include <playable_location.h>

+ Inheritance diagram for make_playable_location:

Public Member Functions

 make_playable_location (const char *p_path, t_uint32 p_num)
 
virtual const char * get_path () const
 
virtual t_uint32 get_subsong () const
 
- Public Member Functions inherited from playable_location
void copy (const playable_location &p_other)
 
t_uint32 get_subsong_index () const
 
bool is_empty () const
 
bool is_valid () const
 
bool operator!= (const playable_location &p_other) const
 
const playable_locationoperator= (const playable_location &src)
 
bool operator== (const playable_location &p_other) const
 
void reset ()
 
void set_subsong_index (t_uint32 v)
 

Private Member Functions

virtual void set_path (const char *)
 
virtual void set_subsong (t_uint32)
 

Private Attributes

t_uint32 num
 
const char * path
 

Additional Inherited Members

- Static Public Member Functions inherited from playable_location
static int g_compare (const playable_location &p_item1, const playable_location &p_item2)
 
static bool g_equals (const playable_location &p_item1, const playable_location &p_item2)
 
- Protected Member Functions inherited from playable_location
 playable_location ()
 
 ~playable_location ()
 

Detailed Description

Definition at line 75 of file playable_location.h.

Constructor & Destructor Documentation

make_playable_location::make_playable_location ( const char *  p_path,
t_uint32  p_num 
)

Definition at line 73 of file playable_location.cpp.

73 : path(p_path), num(p_num) {}

Member Function Documentation

const char * make_playable_location::get_path ( ) const
virtual

Implements playable_location.

Definition at line 70 of file playable_location.cpp.

70 {return path;}
t_uint32 make_playable_location::get_subsong ( ) const
virtual

Implements playable_location.

Definition at line 71 of file playable_location.cpp.

71 {return num;}
void make_playable_location::set_path ( const char *  )
privatevirtual

Implements playable_location.

Definition at line 67 of file playable_location.cpp.

67 {throw pfc::exception_not_implemented();}
void make_playable_location::set_subsong ( t_uint32  )
privatevirtual

Implements playable_location.

Definition at line 68 of file playable_location.cpp.

68 {throw pfc::exception_not_implemented();}

Field Documentation

t_uint32 make_playable_location::num
private

Definition at line 78 of file playable_location.h.

const char* make_playable_location::path
private

Definition at line 77 of file playable_location.h.


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