foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
mem_block_container_ref_impl< t_ref >

#include <mem_block_container.h>

+ Inheritance diagram for mem_block_container_ref_impl< t_ref >:

Public Member Functions

 mem_block_container_ref_impl (t_ref &ref)
 
const void * get_ptr () const
 
void * get_ptr ()
 
t_size get_size () const
 
void set_size (t_size p_size)
 
- Public Member Functions inherited from mem_block_container
void copy (const mem_block_container &p_source)
 
void from_stream (stream_reader *p_stream, t_size p_bytes, abort_callback &p_abort)
 
const mem_block_containeroperator= (const mem_block_container &p_source)
 
void reset ()
 
void set (const void *p_buffer, t_size p_size)
 
void set (const mem_block_container &source)
 
template<typename t_source >
void set (const t_source &source)
 

Private Attributes

t_ref & m_ref
 

Additional Inherited Members

- Protected Member Functions inherited from mem_block_container
 mem_block_container ()
 
 ~mem_block_container ()
 

Detailed Description

template<typename t_ref>
class mem_block_container_ref_impl< t_ref >

Definition at line 84 of file mem_block_container.h.

Constructor & Destructor Documentation

template<typename t_ref>
mem_block_container_ref_impl< t_ref >::mem_block_container_ref_impl ( t_ref &  ref)
inline

Definition at line 86 of file mem_block_container.h.

86  : m_ref(ref) {
87  PFC_STATIC_ASSERT( sizeof(ref[0]) == 1 );
88  }

Member Function Documentation

template<typename t_ref>
const void* mem_block_container_ref_impl< t_ref >::get_ptr ( ) const
inlinevirtual

Implements mem_block_container.

Definition at line 89 of file mem_block_container.h.

89 {return m_ref.get_ptr();}
template<typename t_ref>
void* mem_block_container_ref_impl< t_ref >::get_ptr ( )
inlinevirtual

Implements mem_block_container.

Definition at line 90 of file mem_block_container.h.

90 {return m_ref.get_ptr();}
template<typename t_ref>
t_size mem_block_container_ref_impl< t_ref >::get_size ( ) const
inlinevirtual

Implements mem_block_container.

Definition at line 91 of file mem_block_container.h.

91 {return m_ref.get_size();}
template<typename t_ref>
void mem_block_container_ref_impl< t_ref >::set_size ( t_size  p_size)
inlinevirtual

Implements mem_block_container.

Definition at line 92 of file mem_block_container.h.

92 {m_ref.set_size(p_size);}

Field Documentation

template<typename t_ref>
t_ref& mem_block_container_ref_impl< t_ref >::m_ref
private

Definition at line 94 of file mem_block_container.h.


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