foobar2000 SDK  2015-01-14
Typedefs | Functions
input_file_type.cpp File Reference

Go to the source code of this file.

Typedefs

typedef pfc::avltree_t< pfc::string8, pfc::io::path::comparatort_fnList
 

Functions

static void formatMaskList (pfc::string_base &out, t_fnList const &in)
 
static void formatMaskList (pfc::string_base &out, t_fnList const &in, const char *label)
 

Typedef Documentation

Definition at line 5 of file input_file_type.cpp.

Function Documentation

static void formatMaskList ( pfc::string_base out,
t_fnList const &  in 
)
static

Definition at line 7 of file input_file_type.cpp.

7  {
8  pfc::const_iterator<pfc::string8> walk = in.first();
9  if (walk.is_valid()) {
10  out << *walk; ++walk;
11  while(walk.is_valid()) {
12  out << ";" << *walk; ++walk;
13  }
14  }
15 }
bool is_valid() const
Definition: iterators.h:24
static void formatMaskList ( pfc::string_base out,
t_fnList const &  in,
const char *  label 
)
static

Definition at line 16 of file input_file_type.cpp.

16  {
17  if (in.get_count() > 0) {
18  out << label << "|";
19  formatMaskList(out,in);
20  out << "|";
21  }
22 }
static void formatMaskList(pfc::string_base &out, t_fnList const &in)