Ignore:
Timestamp:
01/20/13 23:14:35 (9 years ago)
Author:
ymipsl
Message:

Add grid mask attribute

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/interface/c_attr/icaxisgroup_attr.cpp

    r369 r415  
    7474   
    7575   
     76  void cxios_set_axisgroup_positive(axisgroup_Ptr axisgroup_hdl, const char * positive, int positive_size) 
     77  { 
     78    std::string positive_str; 
     79    if(!cstr2string(positive, positive_size, positive_str)) return; 
     80     CTimer::get("XIOS").resume(); 
     81    axisgroup_hdl->positive.fromString(positive_str); 
     82    axisgroup_hdl->sendAttributToServer(axisgroup_hdl->positive); 
     83     CTimer::get("XIOS").suspend(); 
     84  } 
     85   
     86  void cxios_get_axisgroup_positive(axisgroup_Ptr axisgroup_hdl, char * positive, int positive_size) 
     87  { 
     88     CTimer::get("XIOS").resume(); 
     89    if(!string_copy(axisgroup_hdl->positive.getStringValue(),positive , positive_size)) 
     90      ERROR("void cxios_get_axisgroup_positive(axisgroup_Ptr axisgroup_hdl, char * positive, int positive_size)", <<"Input string is to short"); 
     91     CTimer::get("XIOS").suspend(); 
     92  } 
     93   
     94   
    7695  void cxios_set_axisgroup_size(axisgroup_Ptr axisgroup_hdl, int size) 
    7796  { 
Note: See TracChangeset for help on using the changeset viewer.