libycxx

class

std::ios_base

Header
<ios>
Scope
std
cppreference
std::ios_base

Synopsis

class ios_base;

Member types

NameDeclaration
Initclass · nestedclass Init
failureclass · nestedclass failure
event_callbacktype alias · member type= void(*)(event, ios_base&, int)
eventenumerationenum event
fmtflagsenumerationenum fmtflags
iostateenumerationenum iostate
openmodeenumerationenum openmode
seekdirenumerationenum seekdir

Member functions

NameDeclaration
ios_baseconstructorios_base(const ios_base& other)
~ios_basedestructor~ios_base()
operator=operatorios_base& operator=(const ios_base& other)
flagsmember function · 2 overloadsfmtflags flags() const +1 more
getlocmember functionlocale getloc() const
imbuemember functionlocale imbue(const locale& loc)
iwordmember functionlong& iword(int idx)
precisionmember function · 2 overloadsstreamsize precision() const +1 more
pwordmember functionvoid*& pword(int idx)
register_callbackmember functionvoid register_callback(event_callback fn, int idx)
setfmember function · 2 overloadsfmtflags setf(fmtflags fmtfl) +1 more
unsetfmember functionvoid unsetf(fmtflags mask)
widthmember function · 2 overloadsstreamsize width() const +1 more

Static member functions

NameDeclaration
sync_with_stdiostatic member functionbool sync_with_stdio(bool sync)
xallocstatic member functionint xalloc()

Static data members

NameDeclaration
adjustfieldstatic data memberfmtflags
appstatic data memberopenmode
atestatic data memberopenmode
badbitstatic data memberiostate
basefieldstatic data memberfmtflags
begstatic data memberseekdir
binarystatic data memberopenmode
boolalphastatic data memberfmtflags
curstatic data memberseekdir
decstatic data memberfmtflags
endstatic data memberseekdir
eofbitstatic data memberiostate
failbitstatic data memberiostate
fixedstatic data memberfmtflags
floatfieldstatic data memberfmtflags
goodbitstatic data memberiostate
hexstatic data memberfmtflags
instatic data memberopenmode
internalstatic data memberfmtflags
leftstatic data memberfmtflags
noreplacestatic data memberopenmode
octstatic data memberfmtflags
outstatic data memberopenmode
rightstatic data memberfmtflags
scientificstatic data memberfmtflags
showbasestatic data memberfmtflags
showpointstatic data memberfmtflags
showposstatic data memberfmtflags
skipwsstatic data memberfmtflags
truncstatic data memberopenmode
unitbufstatic data memberfmtflags
uppercasestatic data memberfmtflags

Protected Member functions

NameDeclaration
ios_baseconstructorios_base()

Derived classes