foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
mem_block_container_impl_t< t_alloc >

#include <mem_block_container.h>

+ Inheritance diagram for mem_block_container_impl_t< t_alloc >:

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::array_t< t_uint8, t_alloc > m_data
 

Additional Inherited Members

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

Detailed Description

template<template< typename > class t_alloc = pfc::alloc_standard>
class mem_block_container_impl_t< t_alloc >

mem_block_container implementation.

Definition at line 30 of file mem_block_container.h.

Member Function Documentation

template<template< typename > class t_alloc = pfc::alloc_standard>
const void* mem_block_container_impl_t< t_alloc >::get_ptr ( ) const
inlinevirtual

Implements mem_block_container.

Definition at line 32 of file mem_block_container.h.

32 {return m_data.get_ptr();}
const t_item * get_ptr() const
Definition: array.h:213
pfc::array_t< t_uint8, t_alloc > m_data
template<template< typename > class t_alloc = pfc::alloc_standard>
void* mem_block_container_impl_t< t_alloc >::get_ptr ( )
inlinevirtual

Implements mem_block_container.

Definition at line 33 of file mem_block_container.h.

33 {return m_data.get_ptr();}
const t_item * get_ptr() const
Definition: array.h:213
pfc::array_t< t_uint8, t_alloc > m_data
template<template< typename > class t_alloc = pfc::alloc_standard>
t_size mem_block_container_impl_t< t_alloc >::get_size ( ) const
inlinevirtual

Implements mem_block_container.

Definition at line 34 of file mem_block_container.h.

34 {return m_data.get_size();}
pfc::array_t< t_uint8, t_alloc > m_data
t_size get_size() const
Definition: array.h:130
template<template< typename > class t_alloc = pfc::alloc_standard>
void mem_block_container_impl_t< t_alloc >::set_size ( t_size  p_size)
inlinevirtual

Implements mem_block_container.

Definition at line 35 of file mem_block_container.h.

35  {
36  m_data.set_size(p_size);
37  }
pfc::array_t< t_uint8, t_alloc > m_data
void set_size(t_size p_size)
Definition: array.h:104

Field Documentation

template<template< typename > class t_alloc = pfc::alloc_standard>
pfc::array_t<t_uint8,t_alloc> mem_block_container_impl_t< t_alloc >::m_data
private

Definition at line 39 of file mem_block_container.h.


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