foobar2000 SDK  2015-01-14
Data Structures | Namespaces | Typedefs | Functions
metadb_handle.h File Reference

Go to the source code of this file.

Data Structures

class  metadb_handle
 
class  metadb_handle_list_t< t_alloc >
 
class  metadb_info_container
 
class  string_format_title
 

Namespaces

 metadb_handle_list_helper
 

Typedefs

typedef metadb_handle_list_t metadb_handle_list
 
typedef pfc::list_base_const_t< metadb_handle_ptr > const & metadb_handle_list_cref
 
typedef pfc::list_base_t< metadb_handle_ptr > & metadb_handle_list_ref
 
typedef service_ptr_t< metadb_handlemetadb_handle_ptr
 

Functions

t_size metadb_handle_list_helper::bsearch_by_pointer (const pfc::list_base_const_t< metadb_handle_ptr > &p_list, const metadb_handle_ptr &val)
 
double metadb_handle_list_helper::calc_total_duration (const pfc::list_base_const_t< metadb_handle_ptr > &p_list)
 
t_filesize metadb_handle_list_helper::calc_total_size (metadb_handle_list_cref list, bool skipUnknown=false)
 
t_filesize metadb_handle_list_helper::calc_total_size_ex (metadb_handle_list_cref list, bool &foundUnknown)
 
bool metadb_handle_list_helper::extract_single_path (metadb_handle_list_cref list, const char *&path)
 
pfc::string_baseoperator<< (pfc::string_base &p_fmt, const metadb_handle_ptr &p_location)
 
void metadb_handle_list_helper::remove_duplicates (pfc::list_base_t< metadb_handle_ptr > &p_list)
 
void metadb_handle_list_helper::sort_by_format (metadb_handle_list_ref p_list, const char *spec, titleformat_hook *p_hook)
 
void metadb_handle_list_helper::sort_by_format (metadb_handle_list_ref p_list, const service_ptr_t< titleformat_object > &p_script, titleformat_hook *p_hook, int direction=1)
 
void metadb_handle_list_helper::sort_by_format_get_order (metadb_handle_list_cref p_list, t_size *order, const char *spec, titleformat_hook *p_hook)
 
void metadb_handle_list_helper::sort_by_format_get_order (metadb_handle_list_cref p_list, t_size *order, const service_ptr_t< titleformat_object > &p_script, titleformat_hook *p_hook, int p_direction=1)
 
void metadb_handle_list_helper::sort_by_path (pfc::list_base_t< metadb_handle_ptr > &p_list)
 
void metadb_handle_list_helper::sort_by_path_quick (pfc::list_base_t< metadb_handle_ptr > &p_list)
 
void metadb_handle_list_helper::sort_by_pointer (pfc::list_base_t< metadb_handle_ptr > &p_list)
 
void metadb_handle_list_helper::sort_by_pointer_remove_duplicates (pfc::list_base_t< metadb_handle_ptr > &p_list)
 
void metadb_handle_list_helper::sort_by_relative_path (metadb_handle_list_ref p_list)
 
void metadb_handle_list_helper::sort_by_relative_path_get_order (metadb_handle_list_cref p_list, t_size *order)
 
void metadb_handle_list_helper::sorted_by_pointer_extract_difference (metadb_handle_list const &p_list_1, metadb_handle_list const &p_list_2, metadb_handle_list &p_list_1_specific, metadb_handle_list &p_list_2_specific)
 

Typedef Documentation

Definition at line 221 of file metadb_handle.h.

Definition at line 140 of file metadb_handle.h.

Definition at line 139 of file metadb_handle.h.

Definition at line 137 of file metadb_handle.h.

Function Documentation

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

Definition at line 228 of file metadb_handle.h.

228  {
229  if (p_location.is_valid())
230  return p_fmt << p_location->get_location();
231  else
232  return p_fmt << "[invalid location]";
233 }
bool is_valid() const
Definition: service.h:119