Logo Search packages:      
Sourcecode: jaula version File versions

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

Establishes the contents of the instance.

data map of values to assign to the instance
The destination object 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_object.cc.

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

    for (dataType::const_iterator it = data.begin(); (it != data.end()); it++)
      data_.insert(dataType::value_type(it->first, duplicate(*(it->second))));

Generated by  Doxygen 1.6.0   Back to index