.TH "std::fpos< _StateT >" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::fpos< _StateT > \- Class representing stream positions\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBfpos\fP (\fBconst\fP \fBfpos\fP &)=\fBdefault\fP" .br .ti -1c .RI "\fBfpos\fP (\fBstreamoff\fP \fB__off\fP)" .br .RI "Construct position from offset\&. " .ti -1c .RI "\fBoperator streamoff\fP () \fBconst\fP" .br .RI "Convert to streamoff\&. " .ti -1c .RI "\fBfpos\fP \fBoperator+\fP (\fBstreamoff\fP \fB__off\fP) \fBconst\fP" .br .RI "Add position and offset\&. " .ti -1c .RI "\fBfpos\fP & \fBoperator+=\fP (\fBstreamoff\fP \fB__off\fP)" .br .RI "Add offset to this position\&. " .ti -1c .RI "\fBstreamoff\fP \fBoperator\-\fP (\fBconst\fP \fBfpos\fP &__other) \fBconst\fP" .br .RI "Subtract position to return offset\&. " .ti -1c .RI "\fBfpos\fP \fBoperator\-\fP (\fBstreamoff\fP \fB__off\fP) \fBconst\fP" .br .RI "Subtract offset from position\&. " .ti -1c .RI "\fBfpos\fP & \fBoperator\-=\fP (\fBstreamoff\fP \fB__off\fP)" .br .RI "Subtract offset from this position\&. " .ti -1c .RI "\fBfpos\fP & \fBoperator=\fP (\fBconst\fP \fBfpos\fP &)=\fBdefault\fP" .br .ti -1c .RI "_StateT \fBstate\fP () \fBconst\fP" .br .RI "Return the last set value of \fIst\fP\&. " .ti -1c .RI "\fBvoid\fP \fBstate\fP (_StateT \fB__st\fP)" .br .RI "Remember the value of \fIst\fP\&. " .in -1c .SH "Detailed Description" .PP .SS "template<\fBtypename\fP _StateT> .br class std::fpos< _StateT >"Class representing stream positions\&. The standard places no requirements upon the template parameter StateT\&. In this implementation StateT must be DefaultConstructible, CopyConstructible and Assignable\&. The standard only requires that fpos should contain a member of type StateT\&. In this implementation it also contains an offset stored as a signed integer\&. .PP \fBParameters\fP .RS 4 \fIStateT\fP Type passed to and returned from state()\&. .RE .PP .SH "Constructor & Destructor Documentation" .PP .SS "template<\fBtypename\fP _StateT > \fBstd::fpos\fP< _StateT >::fpos (\fBstreamoff\fP __off)\fC [inline]\fP" .PP Construct position from offset\&. .SH "Member Function Documentation" .PP .SS "template<\fBtypename\fP _StateT > \fBstd::fpos\fP< _StateT >::operator \fBstreamoff\fP () const\fC [inline]\fP" .PP Convert to streamoff\&. .SS "template<\fBtypename\fP _StateT > \fBfpos\fP \fBstd::fpos\fP< _StateT >::operator+ (\fBstreamoff\fP __off) const\fC [inline]\fP" .PP Add position and offset\&. .SS "template<\fBtypename\fP _StateT > \fBfpos\fP & \fBstd::fpos\fP< _StateT >::operator+= (\fBstreamoff\fP __off)\fC [inline]\fP" .PP Add offset to this position\&. .SS "template<\fBtypename\fP _StateT > \fBstreamoff\fP \fBstd::fpos\fP< _StateT >::operator\- (\fBconst\fP \fBfpos\fP< _StateT > & __other) const\fC [inline]\fP" .PP Subtract position to return offset\&. .SS "template<\fBtypename\fP _StateT > \fBfpos\fP \fBstd::fpos\fP< _StateT >::operator\- (\fBstreamoff\fP __off) const\fC [inline]\fP" .PP Subtract offset from position\&. .SS "template<\fBtypename\fP _StateT > \fBfpos\fP & \fBstd::fpos\fP< _StateT >::operator\-= (\fBstreamoff\fP __off)\fC [inline]\fP" .PP Subtract offset from this position\&. .SS "template<\fBtypename\fP _StateT > _StateT \fBstd::fpos\fP< _StateT >::state () const\fC [inline]\fP" .PP Return the last set value of \fIst\fP\&. .SS "template<\fBtypename\fP _StateT > \fBvoid\fP \fBstd::fpos\fP< _StateT >::state (_StateT __st)\fC [inline]\fP" .PP Remember the value of \fIst\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.