#include <AudioFrame.h>


Public Member Functions | |
| AudioFrame (long v=0, bool isValid=false) | |
| AudioFrame (const AudioFrame &) | |
| const AudioFrame & | operator= (const AudioFrame &) |
| bool | operator== (const AudioFrame &) const |
| bool | operator!= (const AudioFrame &) const |
| virtual | ~AudioFrame () |
| bool | isValid () const |
| void | setValidity (bool validity) |
| void | setData (long v) |
| long | getData () const |
| virtual String | getClassName () const |
| virtual String | toString () const |
Static Public Member Functions | |
| static AudioFrame & | create (long value=0, bool isValid=false) |
Private Attributes | |
| bool | _isValid |
| long | _value |
Friends | |
| class | TestAudioFrame |
...
Definition at line 78 of file AudioFrame.h.
| AudioFrame::AudioFrame | ( | long | v = 0, |
| bool | isValid = false |
||
| ) | [explicit] |
Create an AudioFrame object with default values
| v | = value to store |
| isValid | true = the frame is valid; false = the frame is not valid |
Definition at line 65 of file AudioFrame.cpp.
Referenced by create().
| AudioFrame::AudioFrame | ( | const AudioFrame & | f ) |
Definition at line 75 of file AudioFrame.cpp.
| AudioFrame::~AudioFrame | ( | ) | [virtual] |
Definition at line 112 of file AudioFrame.cpp.
| AudioFrame & AudioFrame::create | ( | long | value = 0, |
| bool | isValid = false |
||
| ) | [static] |
See the constructor
Definition at line 68 of file AudioFrame.cpp.
References alize::Object::assertMemoryIsAllocated(), and AudioFrame().
| String AudioFrame::getClassName | ( | ) | const [virtual] |
Returns the name of the class
Implements alize::Object.
Definition at line 102 of file AudioFrame.cpp.
| long AudioFrame::getData | ( | ) | const |
Returns the value of the frame
Definition at line 100 of file AudioFrame.cpp.
References _value.
| bool AudioFrame::isValid | ( | ) | const |
Tells whether or not this AudioFrame is valid.
Definition at line 94 of file AudioFrame.cpp.
References _isValid.
| bool AudioFrame::operator!= | ( | const AudioFrame & | c ) | const |
Definition at line 92 of file AudioFrame.cpp.
| const AudioFrame & AudioFrame::operator= | ( | const AudioFrame & | f ) |
Definition at line 78 of file AudioFrame.cpp.
| bool AudioFrame::operator== | ( | const AudioFrame & | f ) | const |
Definition at line 85 of file AudioFrame.cpp.
| void AudioFrame::setData | ( | long | v ) |
Sets the value of the frame
| v | the value |
Definition at line 98 of file AudioFrame.cpp.
References _value.
Referenced by alize::AudioFileReader::readFrame().
| void AudioFrame::setValidity | ( | bool | validity ) |
Sets the validity of this AudioFrame.
| validity | true or false. |
Definition at line 96 of file AudioFrame.cpp.
References _isValid.
Referenced by alize::AudioFileReader::readFrame().
| String AudioFrame::toString | ( | ) | const [virtual] |
This method is frequently overridden in the derived classes. If it is not, it returns the name of the class of the object and the address of the object
Reimplemented from alize::Object.
Definition at line 104 of file AudioFrame.cpp.
References _isValid, _value, and alize::String::valueOf().
friend class TestAudioFrame [friend] |
Definition at line 80 of file AudioFrame.h.
bool alize::AudioFrame::_isValid [private] |
Definition at line 126 of file AudioFrame.h.
Referenced by isValid(), operator=(), operator==(), setValidity(), and toString().
long alize::AudioFrame::_value [private] |
Definition at line 127 of file AudioFrame.h.
Referenced by getData(), operator=(), operator==(), setData(), and toString().
1.7.2