foobar2000 SDK  2015-08-03
Data Structures | Typedefs | Functions
playable_location.h File Reference

Go to the source code of this file.

Data Structures

class  make_playable_location
 
class  playable_location
 
class  playable_location::comparator
 
class  playable_location_impl
 

Typedefs

typedef playable_location const * pcplayable_location
 
typedef playable_locationpplayable_location
 
typedef playable_location const & rcplayable_location
 
typedef playable_locationrplayable_location
 

Functions

pfc::string_baseoperator<< (pfc::string_base &p_fmt, const playable_location &p_location)
 

Typedef Documentation

Definition at line 51 of file playable_location.h.

Definition at line 50 of file playable_location.h.

Definition at line 53 of file playable_location.h.

Definition at line 52 of file playable_location.h.

Function Documentation

pfc::string_base& operator<< ( pfc::string_base p_fmt,
const playable_location p_location 
)

Definition at line 13 of file playable_location.cpp.

14 {
15  p_fmt << "\"" << file_path_display(p_location.get_path()) << "\"";
16  t_uint32 index = p_location.get_subsong_index();
17  if (index != 0) p_fmt << " / index: " << p_location.get_subsong_index();
18  return p_fmt;
19 }
virtual const char * get_path() const =0
t_uint32 get_subsong_index() const
uint32_t t_uint32
Definition: int_types.h:5