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

« back to all changes in this revision

Viewing changes to yo/polymorphism/protectedinput.yo

  • Committer: Package Import Robot
  • Author(s): Frank B. Brokken
  • Date: 2011-09-12 16:08:05 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: package-import@ubuntu.com-20110912160805-r9dq68beojgzuien
Tags: 9.0.2-1
New upstream release (editorial changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        derived classes. It must return a guaranteed lower bound on the number
54
54
        of characters that can be read from the device before tt(uflow) or
55
55
        tt(underflow) returns endOfFile(). By default 0 is returned (meaning
56
 
        no or some characters will be returned before the latter two functions
 
56
        no or some characters are returned before the latter two functions
57
57
        return endOfFile()). When a positive value is returned then the next
58
 
        call of tt(u(nder)flow) will not return endOfFile().)
 
58
        call of tt(u(nder)flow) does not return endOfFile().)
59
59
    ithtq(uflow)
60
60
        (virtual int uflow())
61
61
       (This member function may be overridden by derived classes to reload an
114
114
        implementation is to call tt(sbumpc) for every single character
115
115
        meaning that by default this member (eventually) calls tt(underflow)
116
116
        for every single character. The function returns the actual number of
117
 
        characters read or endOfFile(). If endOfFile() is returned the
118
 
        tt(streambuf) will stop reading the device.)
 
117
        characters read or endOfFile(). Once endOfFile() is returned the
 
118
        tt(streambuf) stops reading the device.)
119
119
    )