#include <CvrStgObject.h>
Inheritance diagram for CvrStgObject:
Public Member Functions | |
virtual unsigned long | getNumSamples (void) const=0 |
virtual SampleValue * | getSampleValue (const SamplePos pos) const =0 |
virtual void | replaceSample (const SamplePos pos, const SampleValue *s)=0 |
Definitions: Embedded Bit...a bit to be embedded (one bit in the original or extracted embfile) Sample...the smallest data unit in a file (e.g. a RGB triple, a DCT coefficient)
virtual unsigned long CvrStgObject::getNumSamples | ( | void | ) | const [pure virtual] |
get the number of samples in this CvrStgObject
Implemented in AudioDataImpl< Type, ValueType, SampleValueType >, AuFile, BmpFile, WavFile, and DummyFile.
virtual SampleValue* CvrStgObject::getSampleValue | ( | const SamplePos | pos | ) | const [pure virtual] |
get the sample at position pos
pos | the position of a sample (must be in 0...getNumSamples()-1) |
Implemented in AudioDataImpl< Type, ValueType, SampleValueType >, AuFile, BmpFile, WavFile, and DummyFile.
virtual void CvrStgObject::replaceSample | ( | const SamplePos | pos, | |
const SampleValue * | s | |||
) | [pure virtual] |
replace a sample thus (possibly) altering the value of the bit returned by SampleValue->getBit()
pos | the position of the sample (must be in 0...getNumSamples()-1) | |
s | the sample value that should replace the current sample value (must be of correct type for this CvrStgObject) |
Implemented in AudioDataImpl< Type, ValueType, SampleValueType >, AuFile, BmpFile, WavFile, and DummyFile.