Class template basic_ovectorstreamboost::interprocess::basic_ovectorstream Synopsistemplate<typename CharVector, typename CharTraits> class basic_ovectorstream { public: // types typedef CharVector vector_type; typedef std::basic_ios< typename CharVector::value_type, CharTraits >::char_type char_type; typedef std::basic_ios< char_type, CharTraits >::int_type int_type; typedef std::basic_ios< char_type, CharTraits >::pos_type pos_type; typedef std::basic_ios< char_type, CharTraits >::off_type off_type; typedef std::basic_ios< char_type, CharTraits >::traits_type traits_type; // construct/copy/destruct basic_ovectorstream(std::ios_base::openmode = std::ios_base::out); template<typename VectorParameter> basic_ovectorstream(const VectorParameter &, std::ios_base::openmode = std::ios_base::out); ~basic_ovectorstream(); // public member functions basic_vectorbuf< CharVector, CharTraits > * rdbuf() const; void swap_vector(vector_type &) ; const vector_type & vector() const; void reserve(typename vector_type::size_type) ; }; DescriptionA basic_ostream class that holds a character vector specified by CharVector template parameter as its formatting buffer. The vector must have contiguous storage, like std::vector, boost::interprocess::vector or boost::interprocess::basic_string
|