cplusplus.com cplusplus.com
cplusplus.com   C++ : Reference : IOstream Library : streambuf : pubimbue
- -
C++
Information
Documentation
Reference
Articles
Sourcecode
Forum
Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
IOstream Library
manipulators
classes:
· filebuf
· fstream
· ifstream
· ios
· iostream
· ios_base
· istream
· istringstream
· ofstream
· ostream
· ostringstream
· streambuf
· stringbuf
· stringstream
objects:
· cerr
· cin
· clog
· cout
types:
· fpos
· streamoff
· streampos
· streamsize
streambuf
· streambuf::streambuf
· streambuf::~streambuf
public members:
· streambuf::getloc
· streambuf::in_avail
· streambuf::pubimbue
· streambuf::pubseekoff
· streambuf::pubseekpos
· streambuf::pubsetbuf
· streambuf::pubsync
· streambuf::sbumpc
· streambuf::sgetc
· streambuf::sgetn
· streambuf::snextc
· streambuf::sputbackc
· streambuf::sputc
· streambuf::sputn
· streambuf::sungetc
protected members:
· streambuf::eback
· streambuf::egptr
· streambuf::epptr
· streambuf::gbump
· streambuf::gptr
· streambuf::pbase
· streambuf::pbump
· streambuf::pptr
· streambuf::setg
· streambuf::setp
virtual prot. members:
· streambuf::imbue
· streambuf::overflow
· streambuf::pbackfail
· streambuf::seekoff
· streambuf::seekpos
· streambuf::setbuf
· streambuf::showmanyc
· streambuf::sync
· streambuf::uflow
· streambuf::underflow
· streambuf::xsgetn
· streambuf::xsputn

-

streambuf::pubimbue public member function
locale pubimbue ( const locale & loc );

Imbue locale

Associates the locale object loc to the stream buffer by calling the virtual member function imbue.

A locale object contains culture-specific information on how to interpret certain input and output operations.

Parameters

loc
locale object to be imbued (associated) as the new locale for the stream buffer.

Return Value

The locale object associated to the stream buffer before the call.

Basic template member declaration

( basic_streambuf<charT,traits> )
locale pubimbue (const locale & loc);

See also

streambuf::getloc Get current locale (public member function)

© The C++ Resources Network, 2000-2007 - All rights reserved
Spotted an error? - contact us