Logo Search packages:      
Sourcecode: jaula version File versions

void JAULA::Value_Array::repr ( std::ostream &  ostr  )  const [virtual]

Represents the instance in a stream.

Parameters:
ostr Stream where the instance is to be represented.
Description
writes the instance content in JSON notation in a stream.

Implements JAULA::Value.

Definition at line 66 of file jaula_value_array.cc.

References data_.

  {
    ostr << "[ ";
    for (dataType::const_iterator it = data_.begin()
      ; (it != data_.end())
      ; it++)
    {
      if (it != data_.begin())
        ostr << ", ";
      ostr << **it;
    }
    ostr << " ]";
  }


Generated by  Doxygen 1.6.0   Back to index