Logo Search packages:      
Sourcecode: jaula version File versions

void JAULA::Value_Array::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 120 of file jaula_value_array.cc.

References data_.

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

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


Generated by  Doxygen 1.6.0   Back to index