foobar2000 SDK  2015-01-14
Public Member Functions | Private Attributes
playable_location_impl

#include <playable_location.h>

+ Inheritance diagram for playable_location_impl:

Public Member Functions

 playable_location_impl ()
 
 playable_location_impl (const char *p_path, t_uint32 p_subsong)
 
 playable_location_impl (const playable_location &src)
 
 playable_location_impl (const playable_location_impl &src)
 
const char * get_path () const
 
t_uint32 get_subsong () const
 
const playable_location_imploperator= (const playable_location &src)
 
const playable_location_imploperator= (const playable_location_impl &src)
 
void set_path (const char *p_path)
 
void set_subsong (t_uint32 p_subsong)
 
- Public Member Functions inherited from playable_location
void copy (const playable_location &p_other)
 
t_uint32 get_subsong_index () const
 
bool is_empty ()
 
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 Attributes

pfc::string_simple m_path
 
t_uint32 m_subsong
 

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 55 of file playable_location.h.

Constructor & Destructor Documentation

playable_location_impl::playable_location_impl ( )
inline

Definition at line 66 of file playable_location.h.

66 : m_subsong(0) {}
playable_location_impl::playable_location_impl ( const char *  p_path,
t_uint32  p_subsong 
)
inline

Definition at line 67 of file playable_location.h.

67 : m_path(p_path), m_subsong(p_subsong) {}
pfc::string_simple m_path
playable_location_impl::playable_location_impl ( const playable_location src)
inline

Definition at line 68 of file playable_location.h.

68 {copy(src);}
void copy(const playable_location &p_other)
playable_location_impl::playable_location_impl ( const playable_location_impl src)
inline

Definition at line 69 of file playable_location.h.

69 {copy(src);}
void copy(const playable_location &p_other)

Member Function Documentation

const char* playable_location_impl::get_path ( ) const
inlinevirtual

Implements playable_location.

Definition at line 58 of file playable_location.h.

58 {return m_path;}
pfc::string_simple m_path
t_uint32 playable_location_impl::get_subsong ( ) const
inlinevirtual

Implements playable_location.

Definition at line 60 of file playable_location.h.

60 {return m_subsong;}
const playable_location_impl& playable_location_impl::operator= ( const playable_location src)
inline

Definition at line 63 of file playable_location.h.

63 {copy(src);return *this;}
void copy(const playable_location &p_other)
const playable_location_impl& playable_location_impl::operator= ( const playable_location_impl src)
inline

Definition at line 64 of file playable_location.h.

64 {copy(src);return *this;}
void copy(const playable_location &p_other)
void playable_location_impl::set_path ( const char *  p_path)
inlinevirtual

Implements playable_location.

Definition at line 59 of file playable_location.h.

59 {m_path=p_path;}
pfc::string_simple m_path
void playable_location_impl::set_subsong ( t_uint32  p_subsong)
inlinevirtual

Implements playable_location.

Definition at line 61 of file playable_location.h.

61 {m_subsong=p_subsong;}

Field Documentation

pfc::string_simple playable_location_impl::m_path
private

Definition at line 72 of file playable_location.h.

t_uint32 playable_location_impl::m_subsong
private

Definition at line 73 of file playable_location.h.


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