foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
mem_block_container_aligned_impl< alignBytes >

#include <mem_block_container.h>

+ Inheritance diagram for mem_block_container_aligned_impl< alignBytes >:

Public Member Functions

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

pfc::mem_block_aligned< 16 > m_data
 

Additional Inherited Members

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

Detailed Description

template<unsigned alignBytes = 16>
class mem_block_container_aligned_impl< alignBytes >

Definition at line 44 of file mem_block_container.h.

Member Function Documentation

template<unsigned alignBytes = 16>
const void* mem_block_container_aligned_impl< alignBytes >::get_ptr ( ) const
inlinevirtual

Implements mem_block_container.

Definition at line 46 of file mem_block_container.h.

46 {return m_data.get_ptr();}
pfc::mem_block_aligned< 16 > m_data
template<unsigned alignBytes = 16>
void* mem_block_container_aligned_impl< alignBytes >::get_ptr ( )
inlinevirtual

Implements mem_block_container.

Definition at line 47 of file mem_block_container.h.

47 {return m_data.get_ptr();}
pfc::mem_block_aligned< 16 > m_data
template<unsigned alignBytes = 16>
t_size mem_block_container_aligned_impl< alignBytes >::get_size ( ) const
inlinevirtual

Implements mem_block_container.

Definition at line 48 of file mem_block_container.h.

48 {return m_data.get_size();}
size_t get_size() const
Definition: memalign.h:17
pfc::mem_block_aligned< 16 > m_data
template<unsigned alignBytes = 16>
void mem_block_container_aligned_impl< alignBytes >::set_size ( t_size  p_size)
inlinevirtual

Implements mem_block_container.

Definition at line 49 of file mem_block_container.h.

49 {m_data.set_size(p_size);}
pfc::mem_block_aligned< 16 > m_data
void set_size(size_t s)
Definition: memalign.h:46

Field Documentation

template<unsigned alignBytes = 16>
pfc::mem_block_aligned<16> mem_block_container_aligned_impl< alignBytes >::m_data
private

Definition at line 51 of file mem_block_container.h.


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