CLAM::AudioCodecs::PCMCodec Class Reference

#include <PCMCodec.hxx>

List of all members.

Public Member Functions

virtual ~PCMCodec ()
virtual bool IsReadable (std::string uri) const
 Returns whether the filename is readable by the codec.
virtual bool IsWritable (std::string uri, const AudioFileHeader &) const
 Returns whether codec can write a file with such name and header parameters.
virtual StreamGetStreamFor (const AudioFile &)
 Returns an Stream object to read or write on.
virtual void RetrieveHeaderData (std::string uri, AudioFileHeader &)
 Returns a header structure containing file information (length, encoding.

Static Public Member Functions

static PCMCodecInstantiate ()

Detailed Description

Definition at line 32 of file PCMCodec.hxx.


Constructor & Destructor Documentation

CLAM::AudioCodecs::PCMCodec::~PCMCodec (  )  [virtual]

Definition at line 43 of file PCMCodec.cxx.


Member Function Documentation

Stream * CLAM::AudioCodecs::PCMCodec::GetStreamFor ( const AudioFile  )  [virtual]

Returns an Stream object to read or write on.

Implements CLAM::AudioCodecs::Codec.

Definition at line 95 of file PCMCodec.cxx.

PCMCodec & CLAM::AudioCodecs::PCMCodec::Instantiate (  )  [static]

Definition at line 47 of file PCMCodec.cxx.

bool CLAM::AudioCodecs::PCMCodec::IsReadable ( std::string  filename  )  const [virtual]

Returns whether the filename is readable by the codec.

Implements CLAM::AudioCodecs::Codec.

Definition at line 54 of file PCMCodec.cxx.

References NULL.

bool CLAM::AudioCodecs::PCMCodec::IsWritable ( std::string  filename,
const AudioFileHeader  
) const [virtual]

Returns whether codec can write a file with such name and header parameters.

Implements CLAM::AudioCodecs::Codec.

Definition at line 74 of file PCMCodec.cxx.

void CLAM::AudioCodecs::PCMCodec::RetrieveHeaderData ( std::string  uri,
AudioFileHeader  
) [virtual]

Returns a header structure containing file information (length, encoding.

..)

Implements CLAM::AudioCodecs::Codec.

Definition at line 100 of file PCMCodec.cxx.

References NULL, and CLAM::DynamicType::UpdateData().


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3