foobar2000 SDK  2015-08-03
Private Member Functions | Static Private Member Functions
metadb_index_client

#include <metadb.h>

+ Inheritance diagram for metadb_index_client:

Private Member Functions

FB2K_MAKE_SERVICE_INTERFACE(metadb_index_client, service_base) public bool hashHandle (metadb_handle_ptr const &h, metadb_index_hash &out)
 

Static Private Member Functions

static metadb_index_hash from_md5 (hasher_md5_result const &in)
 

Additional Inherited Members

- Public Types inherited from service_base
typedef service_base t_interface
 
- Public Member Functions inherited from service_base
template<typename outPtr_t >
bool cast (outPtr_t &outPtr)
 
virtual int service_add_ref ()=0 throw ()
 
virtual bool service_query (service_ptr_t< service_base > &p_out, const GUID &p_guid)
 
template<class T >
bool service_query_t (service_ptr_t< T > &p_out)
 
virtual int service_release ()=0 throw ()
 
- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

Since
1.1

Definition at line 330 of file metadb.h.

Member Function Documentation

static metadb_index_hash metadb_index_client::from_md5 ( hasher_md5_result const &  in)
inlinestaticprivate

Definition at line 342 of file metadb.h.

342 {return in.xorHalve();}
FB2K_MAKE_SERVICE_INTERFACE (metadb_index_client, service_base) public bool metadb_index_client::hashHandle ( metadb_handle_ptr const &  h,
metadb_index_hash out 
)
inlineprivate

Definition at line 335 of file metadb.h.

335  {
336  metadb_info_container::ptr info;
337  if (!h->get_info_ref(info)) return false;
338  out = transform(info->info(), h->get_location());
339  return true;
340  }
void info(const char *p_message)
Definition: console.cpp:4

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