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

#include <AudioFileFormats.hxx>

List of all members.

Public Types

enum  { eDefault = SF_ENDIAN_FILE, eLittle = SF_ENDIAN_LITTLE, eBig = SF_ENDIAN_BIG, eHost = SF_ENDIAN_CPU }
- Public Types inherited from CLAM::Enum
typedef int tValue

Public Member Functions

 EAudioFileEndianess ()
 EAudioFileEndianess (tValue val)
 EAudioFileEndianess (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 198 of file AudioFileFormats.hxx.


Member Enumeration Documentation

anonymous enum
Enumerator:
eDefault 
eLittle 
eBig 
eHost 

Definition at line 206 of file AudioFileFormats.hxx.


Constructor & Destructor Documentation

CLAM::EAudioFileEndianess::EAudioFileEndianess ( )
inline

Definition at line 201 of file AudioFileFormats.hxx.

Referenced by Species().

CLAM::EAudioFileEndianess::EAudioFileEndianess ( tValue  val)
inline

Definition at line 202 of file AudioFileFormats.hxx.

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

Definition at line 203 of file AudioFileFormats.hxx.


Member Function Documentation

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

Definition at line 213 of file AudioFileFormats.hxx.

References eDefault.

static tEnumValue* CLAM::EAudioFileEndianess::EnumValues ( )
inlinestatic

Definition at line 214 of file AudioFileFormats.hxx.

References eBig, eDefault, eHost, eLittle, and NULL.

virtual Component* CLAM::EAudioFileEndianess::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 204 of file AudioFileFormats.hxx.

References EAudioFileEndianess().


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