libpsynth 0.2.1
Public Types | Public Member Functions | Friends
psynth::sound::packed_sample_reference< BitField, FirstBit, NumBits, false > Class Template Reference

A constant subbyte sample reference whose bit offset is fixed at compile time. More...

#include <sample.hpp>

Inheritance diagram for psynth::sound::packed_sample_reference< BitField, FirstBit, NumBits, false >:
Inheritance graph
[legend]
Collaboration diagram for psynth::sound::packed_sample_reference< BitField, FirstBit, NumBits, false >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef const
packed_sample_reference
< BitField, FirstBit, NumBits,
false > 
const_reference
typedef const
packed_sample_reference
< BitField, FirstBit, NumBits,
true > 
mutable_reference
typedef parent_t::integer_t integer_t

Public Member Functions

 packed_sample_reference (const void *data_ptr)
 packed_sample_reference (const packed_sample_reference &ref)
 packed_sample_reference (const mutable_reference &ref)
unsigned first_bit () const
integer_t get () const

Friends

class packed_sample_reference< BitField, FirstBit, NumBits, true >

Detailed Description

template<typename BitField, int FirstBit, int NumBits>
class psynth::sound::packed_sample_reference< BitField, FirstBit, NumBits, false >

A constant subbyte sample reference whose bit offset is fixed at compile time.

Models SampleConcept


Member Typedef Documentation

template<typename BitField , int FirstBit, int NumBits>
typedef const packed_sample_reference<BitField,FirstBit,NumBits,false> psynth::sound::packed_sample_reference< BitField, FirstBit, NumBits, false >::const_reference
template<typename BitField , int FirstBit, int NumBits>
typedef parent_t::integer_t psynth::sound::packed_sample_reference< BitField, FirstBit, NumBits, false >::integer_t
template<typename BitField , int FirstBit, int NumBits>
typedef const packed_sample_reference<BitField,FirstBit,NumBits,true> psynth::sound::packed_sample_reference< BitField, FirstBit, NumBits, false >::mutable_reference

Constructor & Destructor Documentation

template<typename BitField , int FirstBit, int NumBits>
psynth::sound::packed_sample_reference< BitField, FirstBit, NumBits, false >::packed_sample_reference ( const void *  data_ptr) [inline, explicit]
template<typename BitField , int FirstBit, int NumBits>
psynth::sound::packed_sample_reference< BitField, FirstBit, NumBits, false >::packed_sample_reference ( const packed_sample_reference< BitField, FirstBit, NumBits, false > &  ref) [inline]
template<typename BitField , int FirstBit, int NumBits>
psynth::sound::packed_sample_reference< BitField, FirstBit, NumBits, false >::packed_sample_reference ( const mutable_reference ref) [inline]

Member Function Documentation

template<typename BitField , int FirstBit, int NumBits>
unsigned psynth::sound::packed_sample_reference< BitField, FirstBit, NumBits, false >::first_bit ( ) const [inline]
template<typename BitField , int FirstBit, int NumBits>
integer_t psynth::sound::packed_sample_reference< BitField, FirstBit, NumBits, false >::get ( ) const [inline]

Friends And Related Function Documentation

template<typename BitField , int FirstBit, int NumBits>
friend class packed_sample_reference< BitField, FirstBit, NumBits, true > [friend]

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