Changeset 445 for XIOS/trunk/src/interface/c_attr/icaxis_attr.cpp
- Timestamp:
- 06/19/13 10:09:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/c_attr/icaxis_attr.cpp
r432 r445 30 30 { 31 31 CTimer::get("XIOS").resume(); 32 if(!string_copy(axis_hdl->long_name.get Value(),long_name , long_name_size))32 if(!string_copy(axis_hdl->long_name.getInheritedValue(),long_name , long_name_size)) 33 33 ERROR("void cxios_get_axis_long_name(axis_Ptr axis_hdl, char * long_name, int long_name_size)", <<"Input string is to short"); 34 34 CTimer::get("XIOS").suspend(); … … 38 38 { 39 39 CTimer::get("XIOS").resume(); 40 return !axis_hdl->long_name.isEmpty();40 return axis_hdl->long_name.hasInheritedValue(); 41 41 CTimer::get("XIOS").suspend(); 42 42 } … … 57 57 { 58 58 CTimer::get("XIOS").resume(); 59 if(!string_copy(axis_hdl->name.get Value(),name , name_size))59 if(!string_copy(axis_hdl->name.getInheritedValue(),name , name_size)) 60 60 ERROR("void cxios_get_axis_name(axis_Ptr axis_hdl, char * name, int name_size)", <<"Input string is to short"); 61 61 CTimer::get("XIOS").suspend(); … … 65 65 { 66 66 CTimer::get("XIOS").resume(); 67 return !axis_hdl->name.isEmpty();67 return axis_hdl->name.hasInheritedValue(); 68 68 CTimer::get("XIOS").suspend(); 69 69 } … … 84 84 { 85 85 CTimer::get("XIOS").resume(); 86 if(!string_copy(axis_hdl->positive.get StringValue(),positive , positive_size))86 if(!string_copy(axis_hdl->positive.getInheritedStringValue(),positive , positive_size)) 87 87 ERROR("void cxios_get_axis_positive(axis_Ptr axis_hdl, char * positive, int positive_size)", <<"Input string is to short"); 88 88 CTimer::get("XIOS").suspend(); … … 92 92 { 93 93 CTimer::get("XIOS").resume(); 94 return !axis_hdl->positive.isEmpty();94 return axis_hdl->positive.hasInheritedValue(); 95 95 CTimer::get("XIOS").suspend(); 96 96 } … … 108 108 void cxios_get_axis_size(axis_Ptr axis_hdl, int* size) 109 109 { 110 *size = axis_hdl->size.get Value();110 *size = axis_hdl->size.getInheritedValue(); 111 111 } 112 112 … … 114 114 { 115 115 CTimer::get("XIOS").resume(); 116 return !axis_hdl->size.isEmpty();116 return axis_hdl->size.hasInheritedValue(); 117 117 CTimer::get("XIOS").suspend(); 118 118 } … … 133 133 { 134 134 CTimer::get("XIOS").resume(); 135 if(!string_copy(axis_hdl->standard_name.get Value(),standard_name , standard_name_size))135 if(!string_copy(axis_hdl->standard_name.getInheritedValue(),standard_name , standard_name_size)) 136 136 ERROR("void cxios_get_axis_standard_name(axis_Ptr axis_hdl, char * standard_name, int standard_name_size)", <<"Input string is to short"); 137 137 CTimer::get("XIOS").suspend(); … … 141 141 { 142 142 CTimer::get("XIOS").resume(); 143 return !axis_hdl->standard_name.isEmpty();143 return axis_hdl->standard_name.hasInheritedValue(); 144 144 CTimer::get("XIOS").suspend(); 145 145 } … … 160 160 { 161 161 CTimer::get("XIOS").resume(); 162 if(!string_copy(axis_hdl->unit.get Value(),unit , unit_size))162 if(!string_copy(axis_hdl->unit.getInheritedValue(),unit , unit_size)) 163 163 ERROR("void cxios_get_axis_unit(axis_Ptr axis_hdl, char * unit, int unit_size)", <<"Input string is to short"); 164 164 CTimer::get("XIOS").suspend(); … … 168 168 { 169 169 CTimer::get("XIOS").resume(); 170 return !axis_hdl->unit.isEmpty();170 return axis_hdl->unit.hasInheritedValue(); 171 171 CTimer::get("XIOS").suspend(); 172 172 } … … 187 187 CTimer::get("XIOS").resume(); 188 188 CArray<double,1> tmp(value,shape(extent1),neverDeleteData) ; 189 tmp=axis_hdl->value ;189 tmp=axis_hdl->value.getInheritedValue() ; 190 190 CTimer::get("XIOS").suspend(); 191 191 } … … 194 194 { 195 195 CTimer::get("XIOS").resume(); 196 return !axis_hdl->value.isEmpty();196 return axis_hdl->value.hasInheritedValue(); 197 197 CTimer::get("XIOS").suspend(); 198 198 } … … 210 210 void cxios_get_axis_zoom_begin(axis_Ptr axis_hdl, int* zoom_begin) 211 211 { 212 *zoom_begin = axis_hdl->zoom_begin.get Value();212 *zoom_begin = axis_hdl->zoom_begin.getInheritedValue(); 213 213 } 214 214 … … 216 216 { 217 217 CTimer::get("XIOS").resume(); 218 return !axis_hdl->zoom_begin.isEmpty();218 return axis_hdl->zoom_begin.hasInheritedValue(); 219 219 CTimer::get("XIOS").suspend(); 220 220 } … … 232 232 void cxios_get_axis_zoom_end(axis_Ptr axis_hdl, int* zoom_end) 233 233 { 234 *zoom_end = axis_hdl->zoom_end.get Value();234 *zoom_end = axis_hdl->zoom_end.getInheritedValue(); 235 235 } 236 236 … … 238 238 { 239 239 CTimer::get("XIOS").resume(); 240 return !axis_hdl->zoom_end.isEmpty();240 return axis_hdl->zoom_end.hasInheritedValue(); 241 241 CTimer::get("XIOS").suspend(); 242 242 } … … 254 254 void cxios_get_axis_zoom_size(axis_Ptr axis_hdl, int* zoom_size) 255 255 { 256 *zoom_size = axis_hdl->zoom_size.get Value();256 *zoom_size = axis_hdl->zoom_size.getInheritedValue(); 257 257 } 258 258 … … 260 260 { 261 261 CTimer::get("XIOS").resume(); 262 return !axis_hdl->zoom_size.isEmpty();262 return axis_hdl->zoom_size.hasInheritedValue(); 263 263 CTimer::get("XIOS").suspend(); 264 264 }
Note: See TracChangeset
for help on using the changeset viewer.