Click on the banner to return to the class reference home page.

fpos

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Synopsis

#include <rw/iotraits>
template<class stateT = mbstate_t>
class fpos

Description

The template class fpos<stateT> is used by the iostream classes to maintain positioning information. It maintains three kinds of information: the absolute position, the conversion state and the validity of the stored position. Streams instantiated on tiny characters use streampos as their positioning type, whereas streams instantiated on wide characters use wstreampos, but both are defined as fpos<mbstate_t>.

Interface

template <class stateT = mbstate_t> 
class fpos {

 public:
          
  typedef stateT  state_type;

  fpos(long off = 0);
  fpos(state_type);                  

  state_type   state(state_type); 
  state_type   state () const;

};

Types

state_type

Public Constructors

fpos(long off =0);
fpos(state_type st);

Public Member Functions

state_type 
state() const;
state_type 
state(state_type st);

Valid Operations

In the following,

Valid operations:

See Also

iosfwd(3C++), char_traits(3C++)

Working Paper for Draft Proposed International Standard for Information Systems--Programming Language C++, Section 27.4.

Amendment 1 to the C Standard.

Standards Conformance

ANSI X3J16/ISO WG21 Joint C++ Committee


©Copyright 1996, Rogue Wave Software, Inc.