~ubuntu-branches/ubuntu/trusty/c++-annotations/trusty

« back to all changes in this revision

Viewing changes to yo/iostreams/istreamseek.yo

  • Committer: Package Import Robot
  • Author(s): Frank B. Brokken
  • Date: 2012-01-20 11:53:17 UTC
  • mfrom: (1.1.18)
  • Revision ID: package-import@ubuntu.com-20120120115317-v4wiq9sttx72fabk
Tags: 9.1.0-1
New upstream release (covering C++11 to a large extend)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
The current position can be obtained and modified using the following members:
7
7
    itemization(
8
 
    ithtq(tellg)(ios::i(pos_type) tellg())
9
 
        (the current (absolute) position in the file where the next
10
 
read-operation to the stream will take place is returned.)
 
8
    ithtq(tellg)(ios::pos_type tellg()) 
 
9
        (hi(pos_type)the stream's current (absolute) position where the
 
10
stream's next read-operation will take place is returned.)
11
11
    ithtq(seekg)
12
12
        (istream &seekg(ios::off_type step, ios::seekdir org))
13
13
        (modifies a stream's actual position. The function expects an
14
14
ti(off_type) tt(step) representing the number of bytes the current stream
15
 
position is moved with respect to tt(org). The tt(step) value
16
 
may be negative, zero or positive.
17
 
 
18
 
    The origin of the step, tt(org) is a value in the
19
 
hi(seekdir)tt(ios::seekdir) enumeration.
20
 
 
 
15
position is moved with respect to tt(org). The tt(step) value may be negative,
 
16
zero or positive.
21
17
 
22
18
    The origin of the step, tt(org) is a value in the
23
19
hi(seekdir)tt(ios::seekdir) enumeration. Its values are: