foobar2000 SDK  2015-01-14
Public Member Functions
search_filter_v2abstract

#include <search_tools.h>

+ Inheritance diagram for search_filter_v2:

Public Member Functions

virtual bool get_sort_pattern (titleformat_object::ptr &out, int &direction)=0
 
virtual void test_multi_ex (metadb_handle_list_cref data, bool *out, abort_callback &abort)=0
 
void test_multi_here (metadb_handle_list &ref, abort_callback &abort)
 
- Public Member Functions inherited from search_filter
 FB2K_MAKE_SERVICE_INTERFACE (search_filter, service_base)
 
virtual void test_multi (metadb_handle_list_cref data, bool *out)=0
 
- 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 ()
 

Additional Inherited Members

- Public Types inherited from service_base
typedef service_base t_interface
 
- Protected Member Functions inherited from search_filter
virtual bool test_locked (const metadb_handle_ptr &p_item, const file_info *p_info)=0
 
- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

New in 0.9.5.3. You can obtain a search_filter_v2 pointer by using service_query() on a search_filter pointer, or from search_filter_manager_v2::create_ex().

Definition at line 20 of file search_tools.h.

Member Function Documentation

virtual bool search_filter_v2::get_sort_pattern ( titleformat_object::ptr &  out,
int &  direction 
)
pure virtual
virtual void search_filter_v2::test_multi_ex ( metadb_handle_list_cref  data,
bool *  out,
abort_callback abort 
)
pure virtual

Abortable version of test_multi(). If the abort_callback object becomes signaled while the operation is being performed, contents of the output buffer are undefined and the operation will fail with exception_aborted.

void search_filter_v2::test_multi_here ( metadb_handle_list ref,
abort_callback abort 
)

Helper; removes non-matching items from the list.


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