Logo Search packages:      
Sourcecode: jaula version File versions

void JAULA::Value_Array::set ( dataType const &  data  ) 

Establishes the contents of the instance.

Parameters:
data Array to assign to the instance
Note:
The destination array is destroyed during the asignment process so, any references to it or to its former elements will be void.

Definition at line 90 of file jaula_value_array.cc.

References clear(), data_, and JAULA::Value::duplicate().

  {
    clear();
    for (dataType::const_iterator it = data.begin(); (it != data.end()); it++)
      data_.push_back(duplicate(*(*it)));
  }


Generated by  Doxygen 1.6.0   Back to index