DATRW++ library: seismic data I/O with multiple formats

◆ write() [7/15]

void datrw::binary::obinstream::write ( const std::string &  v)

Definition at line 101 of file obinstream.cc.

References Mos, and write().

102  {
103  unsigned int length=v.length();
104  this->write(length);
105  Mos.write(reinterpret_cast<const char *>(v.c_str()),
106  length*sizeof(char));
107  } // void obinstream::write(const std::string& v)
void write(const char &v)
Definition: obinstream.cc:59
std::ostream & Mos
Definition: obinstream.h:77
Here is the call graph for this function: