Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

seDRMSound.h

Go to the documentation of this file.
00001 /*
00002  *  Copyright (c) 2004 Accent Geographic. All rights reserved.
00003  *  See the license file for licensing information.
00004  *  Created: Mon Jul 12 23:48:02 2004
00005 
00006  *  DO NOT EDIT THIS FILE! (Autogenerated)
00007  */
00008 

00010 

00012 
00018 #ifndef _seDRMSound_h
00019 #define _seDRMSound_h
00020 
00021 #include "seDRMBase.h"
00022 
00023 namespace sedris {
00024 
00030 class seDRMSound : public seDRMBase
00031 {
00032 public:
00033 
00035     seDRMSound() {}
00036 
00038     seDRMSound( const seObject &other ) : seDRMBase(other) {}
00039 
00041     const SE_String& get_name() { DRMBASE_RET_FIELDS(Sound, name); }
00042 
00044     void set_name( const SE_String &val ) {
00045         DRMBASE_ALLOC_FIELDS;
00046         seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Sound, name), val.characters, val.length, val.locale);
00047     }
00048 
00050     void set_name( const SE_Character *chars, SE_Short_Integer_Unsigned len=0, SE_Locale locale=SE_LOCALE_DEFAULT ) {
00051         DRMBASE_ALLOC_FIELDS;
00052         seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Sound, name), chars, len, locale);
00053     }
00054 
00056     SE_Sound_Format get_sound_format() { DRMBASE_RET_FIELDS(Sound, sound_format); }
00057 
00059     void set_sound_format( SE_Sound_Format val ) { DRMBASE_SET_FIELDS(Sound, sound_format, val); }
00060 
00062     const SE_URN& get_sound_urn() { DRMBASE_RET_FIELDS(Sound, sound_urn); }
00063 
00065     void set_sound_urn( const SE_URN &val ) {
00066         DRMBASE_ALLOC_FIELDS;
00067         seHelperDRM::setSE_URN(DRMBASE_ACC_FIELDS(Sound, sound_urn), val.string_value, val.string_length);
00068     }
00069 
00071     void set_sound_urn( const SE_Character *chars, SE_Short_Integer_Positive len=0 ) {
00072         DRMBASE_ALLOC_FIELDS;
00073         seHelperDRM::setSE_URN(DRMBASE_ACC_FIELDS(Sound, sound_urn), chars, len);
00074     }
00075 
00077     SE_Float get_duration() { DRMBASE_RET_FIELDS(Sound, duration); }
00078 
00080     void set_duration( SE_Float val ) { DRMBASE_SET_FIELDS(Sound, duration, val); }
00081 
00083     SE_Float get_sampling_rate() { DRMBASE_RET_FIELDS(Sound, sampling_rate); }
00084 
00086     void set_sampling_rate( SE_Float val ) { DRMBASE_SET_FIELDS(Sound, sampling_rate, val); }
00087 
00089     SE_Byte_Positive get_bits_per_sample() { DRMBASE_RET_FIELDS(Sound, bits_per_sample); }
00090 
00092     void set_bits_per_sample( SE_Byte_Positive val ) { DRMBASE_SET_FIELDS(Sound, bits_per_sample, val); }
00093 
00095     SE_Byte_Positive get_channel_count() { DRMBASE_RET_FIELDS(Sound, channel_count); }
00096 
00098     void set_channel_count( SE_Byte_Positive val ) { DRMBASE_SET_FIELDS(Sound, channel_count, val); }
00099 
00101     const SE_String& get_method() { DRMBASE_RET_FIELDS(Sound, method); }
00102 
00104     void set_method( const SE_String &val ) {
00105         DRMBASE_ALLOC_FIELDS;
00106         seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Sound, method), val.characters, val.length, val.locale);
00107     }
00108 
00110     void set_method( const SE_Character *chars, SE_Short_Integer_Unsigned len=0, SE_Locale locale=SE_LOCALE_DEFAULT ) {
00111         DRMBASE_ALLOC_FIELDS;
00112         seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Sound, method), chars, len, locale);
00113     }
00114 
00116     virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_SOUND; }
00117 
00118 };
00119 
00120 } // namespace sedris
00121 
00122 #endif // _seDRMSound_h

SEDRIS Transmittal Access C++ API 4.0.0 beta - 14 Jul 2004
Copyright © 2004 SEDRIS Docs by Doxygen 1.3.2