foobar2000 SDK  2015-08-03
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)
 
virtual const char * get_path () const
 
virtual t_uint32 get_subsong () const
 
const playable_location_imploperator= (const playable_location &src)
 
virtual void set_path (const char *p_path)
 
virtual 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 () 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 ( )

Definition at line 61 of file playable_location.cpp.

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

Definition at line 62 of file playable_location.cpp.

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

Definition at line 63 of file playable_location.cpp.

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

Member Function Documentation

const char * playable_location_impl::get_path ( ) const
virtual

Implements playable_location.

Definition at line 41 of file playable_location.cpp.

41  {
42  return m_path;
43 }
pfc::string_simple m_path
t_uint32 playable_location_impl::get_subsong ( ) const
virtual

Implements playable_location.

Definition at line 49 of file playable_location.cpp.

49  {
50  return m_subsong;
51 }
const playable_location_impl & playable_location_impl::operator= ( const playable_location src)

Definition at line 57 of file playable_location.cpp.

57  {
58  copy(src);return *this;
59 }
void copy(const playable_location &p_other)
void playable_location_impl::set_path ( const char *  p_path)
virtual

Implements playable_location.

Definition at line 45 of file playable_location.cpp.

45  {
46  m_path=p_path;
47 }
pfc::string_simple m_path
void playable_location_impl::set_subsong ( t_uint32  p_subsong)
virtual

Implements playable_location.

Definition at line 53 of file playable_location.cpp.

53  {
54  m_subsong=p_subsong;
55 }

Field Documentation

pfc::string_simple playable_location_impl::m_path
private

Definition at line 69 of file playable_location.h.

t_uint32 playable_location_impl::m_subsong
private

Definition at line 70 of file playable_location.h.


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