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

seDRMVariable.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 _seDRMVariable_h
00019 #define _seDRMVariable_h
00020 
00021 #include "seDRMExpression.h"
00022 
00023 namespace sedris {
00024 
00030 class seDRMVariable : public seDRMExpression
00031 {
00032 public:
00033 
00035     seDRMVariable() {}
00036 
00038     seDRMVariable( const seObject &other ) : seDRMExpression(other) {}
00039 
00041     const SE_Property_Code& get_meaning() { DRMBASE_RET_FIELDS(Variable, meaning); }
00042 
00044     void set_meaning( const SE_Property_Code &val ) {
00045         DRMBASE_ALLOC_FIELDS;
00046         DRMBASE_ACC_FIELDS(Variable, meaning) = val;
00047     }
00048 
00050     EDCS_Unit_Code get_value_unit() { DRMBASE_RET_FIELDS(Variable, value_unit); }
00051 
00053     void set_value_unit( EDCS_Unit_Code val ) { DRMBASE_SET_FIELDS(Variable, value_unit, val); }
00054 
00056     EDCS_Scale_Code get_value_scale() { DRMBASE_RET_FIELDS(Variable, value_scale); }
00057 
00059     void set_value_scale( EDCS_Scale_Code val ) { DRMBASE_SET_FIELDS(Variable, value_scale, val); }
00060 
00062     EDCS_Attribute_Value_Type get_value_type() { DRMBASE_RET_FIELDS(Variable, value_type); }
00063 
00065     void set_value_type( EDCS_Attribute_Value_Type val ) { DRMBASE_SET_FIELDS(Variable, value_type, val); }
00066 
00068     const SE_String& get_description() { DRMBASE_RET_FIELDS(Variable, description); }
00069 
00071     void set_description( const SE_String &val ) {
00072         DRMBASE_ALLOC_FIELDS;
00073         seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Variable, description), val.characters, val.length, val.locale);
00074     }
00075 
00077     void set_description( const SE_Character *chars, SE_Short_Integer_Unsigned len=0, SE_Locale locale=SE_LOCALE_DEFAULT ) {
00078         DRMBASE_ALLOC_FIELDS;
00079         seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Variable, description), chars, len, locale);
00080     }
00081 
00083     const SE_String& get_runtime_label() { DRMBASE_RET_FIELDS(Variable, runtime_label); }
00084 
00086     void set_runtime_label( const SE_String &val ) {
00087         DRMBASE_ALLOC_FIELDS;
00088         seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Variable, runtime_label), val.characters, val.length, val.locale);
00089     }
00090 
00092     void set_runtime_label( const SE_Character *chars, SE_Short_Integer_Unsigned len=0, SE_Locale locale=SE_LOCALE_DEFAULT ) {
00093         DRMBASE_ALLOC_FIELDS;
00094         seHelperDRM::setSE_String(DRMBASE_ACC_FIELDS(Variable, runtime_label), chars, len, locale);
00095     }
00096 
00098     virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_VARIABLE; }
00099 
00100 };
00101 
00102 } // namespace sedris
00103 
00104 #endif // _seDRMVariable_h

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