Cpp-standard-library-cpp-ios-seekdir

提供:Dev Guides
移動先:案内検索

C ++-ios_base seekdir

説明

これは、ストリームシーク操作のシーク方向を表す列挙型です。

このタイプの可能な値は、以下に示すように、次のメンバー定数のいずれかです-

member constant seeking relative to
beg beginning of sequence.
cur current position within sequence.
end end of sequence.
これらの定数は、ios_baseクラスでパブリックメンバーとして定義されます。 そのため、ios_baseのメンバー(ios_base
begなど)として名前で直接参照するか、継承クラスまたはインスタンス化されたオブジェクト(ios :: endやcin.curなど)を使用して直接参照できます。