Logo Search packages:      
Sourcecode: jaula version File versions

void JAULA::Value_Object::clear ( void   )  [virtual]

Empties the contents of an instance.

Description
Erases the contained array.
Note:
As the array is destroyed by the process, any references to it or to any of its elements will be void.

Implements JAULA::Value_Complex.

Definition at line 122 of file jaula_value_object.cc.

References data_.

Referenced by set(), and ~Value_Object().

  {
    for (dataType::const_iterator it = data_.begin(); (it != data_.end()); it++)
      delete it->second;
    data_.clear();
  }


Generated by  Doxygen 1.6.0   Back to index