libmoost
moost::algorithm::variable_length_encoding Struct Reference

#include <variable_length_encoding.hpp>

List of all members.

Static Public Member Functions

template<class T , class InputIterator >
static void read (T &value, InputIterator &p_in)
template<class InputIterator >
static boost::int32_t read (InputIterator &p_in)
template<class OutputIterator >
static void write (boost::int32_t value, OutputIterator &p_out)

Detailed Description

MIDI-style variable length encoding, inspired from: http://www.borg.com/~jglatt/tech/midifile/vari.htm

Definition at line 40 of file variable_length_encoding.hpp.


Member Function Documentation

template<class T , class InputIterator >
static void moost::algorithm::variable_length_encoding::read ( T &  value,
InputIterator &  p_in 
) [inline, static]

Definition at line 44 of file variable_length_encoding.hpp.

Here is the caller graph for this function:

template<class InputIterator >
static boost::int32_t moost::algorithm::variable_length_encoding::read ( InputIterator &  p_in) [inline, static]

Definition at line 82 of file variable_length_encoding.hpp.

template<class OutputIterator >
static void moost::algorithm::variable_length_encoding::write ( boost::int32_t  value,
OutputIterator &  p_out 
) [inline, static]

Definition at line 114 of file variable_length_encoding.hpp.

Here is the caller graph for this function:


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