CLAM-Development  1.1
Public Member Functions | Static Public Member Functions | Protected Member Functions
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 ()

Protected Member Functions

 PCMCodec ()

Detailed Description

Definition at line 32 of file PCMCodec.hxx.


Constructor & Destructor Documentation

Definition at line 39 of file PCMCodec.cxx.

Definition at line 43 of file PCMCodec.cxx.


Member Function Documentation

Returns an Stream object to read or write on.

Implements CLAM::AudioCodecs::Codec.

Definition at line 95 of file PCMCodec.cxx.

Definition at line 47 of file PCMCodec.cxx.

Referenced by CLAM::AudioFile::ResolveCodec().

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: