hamigaki.png

前のページ 上に戻る ホーム 次のページ

Class template concatenation

hamigaki::iostreams::concatenation —

クラステンプレートconcatenationは2つのSourceを受け取り、それらを直列に連結したSourceを形成する。

Synopsis

template<typename Source1, typename Source2> 
class concatenation {
public:
  // types
  typedef boost::iostreams::char_type_of<Source1>::type char_type;

  // construct/copy/destruct
  concatenation(const Source1&, const Source2&);

  // Boost.Iostreams implementation
  std::streamsize read(char_type*, std::streamsize);
  void close();
};

// creation
template<typename Source1, typename Source2> 
  concatenation<Source1, Source2> concatenate(const Source1&, const Source2&);

Description

concatenationはClosableである。

concatenation construct/copy/destruct

  1. concatenation(const Source1& src1, const Source2& src2);

concatenation Boost.Iostreams implementation

  1. std::streamsize read(char_type* s, std::streamsize n);
  2. void close();

concatenation creation

  1. template<typename Source1, typename Source2> 
      concatenation<Source1, Source2> 
      concatenate(const Source1& src1, const Source2& src2);
    Returns: concatenation<Source1, Source2>(src1, src2)
製作著作 © 2006, 2007 Takeshi Mouri

前のページ 上に戻る ホーム 次のページ