hamigaki.png (2451 bytes)

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

Concept SeekableDevice

SeekableDevice

Refinement of

Associated types

  • category

    boost::iostreams::category_of<D>::type

    フィルタまたはデバイスのカテゴリ

Notation

D
A type playing the role of seekable-device-type in the SeekableDevice concept.
dev
Object of type D
off
Object of type boost::iostreams::stream_offset
way
Object of type std::ios_base::seekdir

Type expressions

Category tag

category must be derived from boost::iostreams::device_tag.

categoryboost::iostreams::input_seekableまたはboost::iostreams::output_seekableから派生していなければならない。

Valid expressions

Name Expression Type Semantics

Seek

dev.seek(off, way)

std::streampos

waystd::ios_base::begならばデバイスの先頭から、std::ios_base::curならば現在位置から、std::ios_base::endならば末尾から、off文字目にヘッドを移動する。

See also

    製作著作 © 2006 Takeshi Mouri
    製作著作 © 2002, 2003 Trustees of Indiana University.
    製作著作 © 2001, 2002 University of Notre Dame.

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