mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-16 07:48:44 +01:00
mentioned that seek[gp] calls seekpos (polym/protectedbuffer.yo)
This commit is contained in:
parent
42ad103347
commit
163456a2ff
1 changed files with 8 additions and 6 deletions
|
@ -11,17 +11,19 @@ Several protected members are related to buffer management and positioning:
|
|||
reset the next pointer for input or output to a new relative
|
||||
position (using
|
||||
hi(cur)hi(beg)tt(ios::beg, ios::cur) or hi(end)tt(ios::end)). The
|
||||
default implementation indicates failure by returning -1. The function
|
||||
default implementation indicates failure by returning -1. This function
|
||||
is called when tt(tellg) or tt(tellp) are called. When derived class
|
||||
supports seeking, then it should also define this function to handle
|
||||
repositioning requests. It is called by ti(pubseekoff). The
|
||||
new position or an invalid position (i.e., -1) is returned.)
|
||||
new position or (by default) an invalid position (i.e., -1) is
|
||||
returned.)
|
||||
ithtq(seekpos)(virtual ios::pos_type seekpos(ios::pos_type offset,
|
||||
ios::openmode mode = ios::in | ios::out))
|
||||
(This member function may be overridden by derived classes to
|
||||
reset the next pointer for input or output to a new absolute
|
||||
position (i.e, relative to tt(ios::beg)). The default implementation
|
||||
indicates failure by returning -1.)
|
||||
(This member function may be overridden by derived classes to reset the
|
||||
next pointer for input or output to a new absolute position (i.e,
|
||||
relative to tt(ios::beg)). This function is called when tt(seekg) or
|
||||
tt(seekp) are called. The new position or (by default) an invalid
|
||||
position (i.e., -1) is returned.)
|
||||
ithtq(sync)
|
||||
(virtual int sync())
|
||||
(This member function may be overridden by derived classes to flush the
|
||||
|
|
Loading…
Reference in a new issue