foobar2000 SDK  2015-08-03
Public Member Functions
pfc::__stringEmpty

#include <stringNew.h>

+ Inheritance diagram for pfc::__stringEmpty:

Public Member Functions

void add_string (const char *p_string, t_size p_length=~0)
 
t_size get_length () const
 
const char * get_ptr () const
 
char * lock_buffer (t_size p_requested_length)
 
void set_string (const char *p_string, t_size p_length=~0)
 
void truncate (t_size len)
 
void unlock_buffer ()
 
- Public Member Functions inherited from pfc::string_base
string_base_formatter () const
 
void add_filename (const char *fn)
 
const char * c_str () const
 
void convert_to_lower_ascii (const char *src, char replace= '?')
 
void delimit (const char *c)
 
void end_with (char c)
 
void end_with_slash ()
 
bool ends_with (char c) const
 
t_size find_first (char p_char, t_size p_start=0) const
 
t_size find_first (const char *p_string, t_size p_start=0) const
 
t_size find_last (char p_char, t_size p_start=~0) const
 
t_size find_last (const char *p_string, t_size p_start=~0) const
 
void fix_dir_separator (char c= '\\')
 
bool fix_eol (const char *append=" (...)", t_size start=0)
 
bool has_prefix (const char *prefix) const
 
bool has_prefix_i (const char *prefix) const
 
bool has_suffix (const char *suffix) const
 
bool has_suffix_i (const char *suffix) const
 
bool is_empty () const
 
bool is_valid_utf8 () const
 
char last_char () const
 
t_size length () const
 
bool limit_length (t_size length_in_chars, const char *append=" (...)")
 
 operator const char * () const
 
bool operator!= (const string_base &p_other) const
 
const string_baseoperator+= (const char *src)
 
const string_baseoperator+= (const string_base &src)
 
bool operator< (const string_base &p_other) const
 
bool operator<= (const string_base &p_other) const
 
const string_baseoperator= (const char *src)
 
const string_baseoperator= (const string_base &src)
 
bool operator== (const string_base &p_other) const
 
bool operator> (const string_base &p_other) const
 
bool operator>= (const string_base &p_other) const
 
t_size replace_string (const char *replace, const char *replaceWith, t_size start=0)
 
void reset ()
 
t_size scan_filename () const
 
void set_string_ (const char *str)
 
void skip_trailing_char (unsigned c= ' ')
 
const char * toString () const
 
bool truncate_eol (t_size start=0)
 
void truncate_filename ()
 
void truncate_last_char ()
 
void truncate_number_suffix ()
 
void truncate_to_parent_path ()
 
- Public Member Functions inherited from pfc::string_receiver
void add_byte (char c)
 
void add_char (t_uint32 c)
 
void add_chars (t_uint32 p_char, t_size p_count)
 
void add_string_ (const char *str)
 

Additional Inherited Members

- Protected Member Functions inherited from pfc::string_base
 string_base ()
 
 ~string_base ()
 
- Protected Member Functions inherited from pfc::string_receiver
 string_receiver ()
 
 ~string_receiver ()
 

Detailed Description

Definition at line 3 of file stringNew.h.

Member Function Documentation

void pfc::__stringEmpty::add_string ( const char *  p_string,
t_size  p_length = ~0 
)
inlinevirtual

Implements pfc::string_base.

Definition at line 6 of file stringNew.h.

6 {throw exception_not_implemented();}
t_size pfc::__stringEmpty::get_length ( ) const
inlinevirtual

Reimplemented from pfc::string_base.

Definition at line 9 of file stringNew.h.

9 {return 0;}
const char* pfc::__stringEmpty::get_ptr ( ) const
inlinevirtual

Implements pfc::string_base.

Definition at line 5 of file stringNew.h.

5 {return "";}
char* pfc::__stringEmpty::lock_buffer ( t_size  p_requested_length)
inlinevirtual

Implements pfc::string_base.

Definition at line 10 of file stringNew.h.

10 {throw exception_not_implemented();}
void pfc::__stringEmpty::set_string ( const char *  p_string,
t_size  p_length = ~0 
)
inlinevirtual

Reimplemented from pfc::string_base.

Definition at line 7 of file stringNew.h.

7 {throw exception_not_implemented();}
void pfc::__stringEmpty::truncate ( t_size  len)
inlinevirtual

Implements pfc::string_base.

Definition at line 8 of file stringNew.h.

8 {throw exception_not_implemented();}
void pfc::__stringEmpty::unlock_buffer ( )
inlinevirtual

Implements pfc::string_base.

Definition at line 11 of file stringNew.h.

11 {throw exception_not_implemented();}

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