CLAM-Development  1.4.0
Public Types | Public Member Functions | Static Public Member Functions
CLAM::EAudioFileEncoding Class Reference

#include <AudioFileFormats.hxx>

List of all members.

Public Types

enum  {
  ePCM_S8 = SF_FORMAT_PCM_S8, ePCM_16 = SF_FORMAT_PCM_16, ePCM_24 = SF_FORMAT_PCM_24, ePCM_32 = SF_FORMAT_PCM_32,
  ePCM_U8 = SF_FORMAT_PCM_U8, eFLOAT = SF_FORMAT_FLOAT, eDOUBLE = SF_FORMAT_DOUBLE, eU_LAW = SF_FORMAT_ULAW,
  eA_LAW = SF_FORMAT_ALAW, eIMA_ADPCM = SF_FORMAT_IMA_ADPCM, eMS_ADPCM = SF_FORMAT_MS_ADPCM, eGSM610 = SF_FORMAT_GSM610,
  eVOX_ADPCM = SF_FORMAT_VOX_ADPCM, eG721_32 = SF_FORMAT_G721_32, eG723_24 = SF_FORMAT_G723_24, eG723_40 = SF_FORMAT_G723_40,
  eDWVW_12 = SF_FORMAT_DWVW_12, eDWVW_16 = SF_FORMAT_DWVW_16, eDWVW_24 = SF_FORMAT_DWVW_24, eDWVW_N = SF_FORMAT_DWVW_N,
  eDefault = 1000 + SF_FORMAT_DWVW_N, e5015US = 1001 + SF_FORMAT_DWVW_N, eCCITTJ17 = 1002 + SF_FORMAT_DWVW_N
}
- Public Types inherited from CLAM::Enum
typedef int tValue

Public Member Functions

 EAudioFileEncoding ()
 EAudioFileEncoding (tValue val)
 EAudioFileEncoding (std::string s)
virtual ComponentSpecies () const
 Returns a new object of the same class than the receiver object.
- Public Member Functions inherited from CLAM::Enum
const tEnumValueGetSymbolMap () const
 Returns the symbol map for the enum.
void SetValue (const tValue v)
 Changes the value.
void SetValueSafely (const tValue v) throw (IllegalValue)
 Changes the value safely.
void SetValue (const std::string &s)
 Changes the value.
void SetValueSafely (const std::string &s) throw (IllegalValue)
tValue GetValue () const
 Returns the numeric value.
std::string GetString () const throw (IllegalValue)
 Returns the symbolic value.
Enumoperator= (const tValue &v) throw (IllegalValue)
Enumoperator= (const std::string &v) throw (IllegalValue)
Enumoperator= (const Enum &v) throw (IllegalValue)
 operator tValue () const
 Conversion operiation as a number.
virtual ComponentDeepCopy () const
 TODO: Copy documentation for this method from Component.
virtual ComponentShallowCopy () const
 TODO: Copy documentation for this method from Component.
virtual void StoreOn (Storage &storage) const
 Stores component's subitems on the given Storage.
virtual void LoadFrom (Storage &storage)
 Loads component's subitems from the given Storage.
virtual ~Enum ()
 The required virtual destructor.
const char * GetClassName () const
 Return the class name.
- Public Member Functions inherited from CLAM::Component
virtual ~Component ()

Static Public Member Functions

static tValue DefaultValue ()
static tEnumValueEnumValues ()

Additional Inherited Members

 Enum (const tEnumValue *values, const tValue &value)
 Construction with a numeric value.
 Enum (const tEnumValue *values, const std::string &value)
 Construction with a symbolic value.

Detailed Description

Definition at line 130 of file AudioFileFormats.hxx.


Member Enumeration Documentation

anonymous enum
Enumerator:
ePCM_S8 
ePCM_16 
ePCM_24 
ePCM_32 
ePCM_U8 
eFLOAT 
eDOUBLE 
eU_LAW 
eA_LAW 
eIMA_ADPCM 
eMS_ADPCM 
eGSM610 
eVOX_ADPCM 
eG721_32 
eG723_24 
eG723_40 
eDWVW_12 
eDWVW_16 
eDWVW_24 
eDWVW_N 
eDefault 
e5015US 
eCCITTJ17 

Definition at line 138 of file AudioFileFormats.hxx.


Constructor & Destructor Documentation

CLAM::EAudioFileEncoding::EAudioFileEncoding ( )
inline

Definition at line 133 of file AudioFileFormats.hxx.

Referenced by Species().

CLAM::EAudioFileEncoding::EAudioFileEncoding ( tValue  val)
inline

Definition at line 134 of file AudioFileFormats.hxx.

CLAM::EAudioFileEncoding::EAudioFileEncoding ( std::string  s)
inline

Definition at line 135 of file AudioFileFormats.hxx.


Member Function Documentation

static tValue CLAM::EAudioFileEncoding::DefaultValue ( )
inlinestatic

Definition at line 164 of file AudioFileFormats.hxx.

References ePCM_16.

static tEnumValue* CLAM::EAudioFileEncoding::EnumValues ( )
inlinestatic
virtual Component* CLAM::EAudioFileEncoding::Species ( ) const
inlinevirtual

Returns a new object of the same class than the receiver object.

To be reimplemented by subclasses.

Returns:
a new allocated component. The pointer belongs to the caller.

Implements CLAM::Enum.

Definition at line 136 of file AudioFileFormats.hxx.

References EAudioFileEncoding().


The documentation for this class was generated from the following file: