foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
dsp_preset_parser

#include <dsp.h>

+ Inheritance diagram for dsp_preset_parser:

Public Member Functions

 dsp_preset_parser (const dsp_preset &in)
 
void assume_empty () const
 
GUID get_owner () const
 
t_size get_remaining () const
 
void reset ()
 
- Public Member Functions inherited from stream_reader_formatter<>
 stream_reader_formatter (stream_reader &p_stream, abort_callback &p_abort)
 
void read_array (TArray &data)
 
void read_byte_block (TArray &data)
 
void read_int (t_int &p_out)
 
void read_raw (void *p_buffer, t_size p_bytes)
 
void read_raw (TArray &data)
 
void read_string_nullterm (pfc::string_base &out)
 
void skip (t_size p_bytes)
 

Private Attributes

abort_callback_dummy _m_abort
 
stream_reader_memblock_ref _m_stream
 
const dsp_presetm_data
 

Additional Inherited Members

- Data Fields inherited from stream_reader_formatter<>
abort_callbackm_abort
 
stream_readerm_stream
 

Detailed Description

Helper.

Definition at line 466 of file dsp.h.

Constructor & Destructor Documentation

dsp_preset_parser::dsp_preset_parser ( const dsp_preset in)
inline

Definition at line 468 of file dsp.h.

stream_reader_memblock_ref _m_stream
Definition: dsp.h:481
stream_reader_formatter(stream_reader &p_stream, abort_callback &p_abort)
virtual const void * get_data() const =0
const dsp_preset & m_data
Definition: dsp.h:479
abort_callback_dummy _m_abort
Definition: dsp.h:480
virtual t_size get_data_size() const =0

Member Function Documentation

void dsp_preset_parser::assume_empty ( ) const
inline

Definition at line 473 of file dsp.h.

473  {
474  if (get_remaining() != 0) throw exception_io_data();
475  }
t_size get_remaining() const
Definition: dsp.h:471
GUID dsp_preset_parser::get_owner ( ) const
inline

Definition at line 477 of file dsp.h.

477 {return m_data.get_owner();}
const dsp_preset & m_data
Definition: dsp.h:479
virtual GUID get_owner() const =0
t_size dsp_preset_parser::get_remaining ( ) const
inline

Definition at line 471 of file dsp.h.

471 {return _m_stream.get_remaining();}
stream_reader_memblock_ref _m_stream
Definition: dsp.h:481
void dsp_preset_parser::reset ( )
inline

Definition at line 470 of file dsp.h.

470 {_m_stream.reset();}
stream_reader_memblock_ref _m_stream
Definition: dsp.h:481

Field Documentation

abort_callback_dummy dsp_preset_parser::_m_abort
private

Definition at line 480 of file dsp.h.

stream_reader_memblock_ref dsp_preset_parser::_m_stream
private

Definition at line 481 of file dsp.h.

const dsp_preset& dsp_preset_parser::m_data
private

Definition at line 479 of file dsp.h.


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