Files
Work/avifile/hold/AVIWAVE.HPP
2024-08-07 09:12:07 -04:00

57 lines
1.1 KiB
C++

#ifndef _AVIFILE_AVIWAVE_HPP_
#define _AVIFILE_AVIWAVE_HPP_
#ifndef _COMMON_FILE_HPP_
#include <common/file.hpp>
#endif
#ifndef _COMMON_WAVEFORMATEX_HPP_
#include <common/wavefrmx.hpp>
#endif
class AVIWaveFormatEx : public WaveFormatEx
{
public:
AVIWaveFormatEx(void);
AVIWaveFormatEx(const AVIWaveFormatEx &someWaveFormatEx);
virtual ~AVIWaveFormatEx();
AVIWaveFormatEx &operator=(const AVIWaveFormatEx &someAVIWaveFormatEx);
bool operator==(const WaveFormatEx &someWaveFormatEx)const;
bool read(File &inFile);
bool write(File &outFile);
String toString(void)const;
private:
};
inline
AVIWaveFormatEx::AVIWaveFormatEx(void)
{
}
inline
AVIWaveFormatEx::AVIWaveFormatEx(const AVIWaveFormatEx &someAVIWaveFormatEx)
{
*this=someAVIWaveFormatEx;
}
inline
AVIWaveFormatEx::~AVIWaveFormatEx()
{
}
inline
AVIWaveFormatEx &AVIWaveFormatEx::operator=(const AVIWaveFormatEx &someAVIWaveFormatEx)
{
(WaveFormatEx&)*this=(WaveFormatEx&)someAVIWaveFormatEx;
return *this;
}
inline
bool AVIWaveFormatEx::operator==(const WaveFormatEx &someWaveFormatEx)const
{
return (WaveFormatEx&)*this==(WaveFormatEx&)someWaveFormatEx;
}
#endif