Panda3D
Loading...
Searching...
No Matches
textEncoder.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "dtoolbase.h"
#include "unicodeLatinMap.h"
#include <ctype.h>
#include "textEncoder.I"

Go to the source code of this file.

Classes

class  TextEncoder
 This class can be used to convert text between multiple representations, e.g. More...
 

Functions

std::ostream & operator<< (std::ostream &out, const std::wstring &str)
 Uses the current default encoding to output the wstring.
 
std::ostream & operator<< (std::ostream &out, TextEncoder::Encoding encoding)
 
std::istream & operator>> (std::istream &in, TextEncoder::Encoding &encoding)
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2003-03-26

Definition in file textEncoder.h.

Function Documentation

◆ operator<<() [1/2]

std::ostream & operator<< ( std::ostream & out,
const std::wstring & str )
inline

Uses the current default encoding to output the wstring.

Definition at line 497 of file textEncoder.I.

References TextEncoder::get_text, and TextEncoder::set_wtext().

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream & out,
TextEncoder::Encoding encoding )

Definition at line 374 of file textEncoder.cxx.

◆ operator>>()

std::istream & operator>> ( std::istream & in,
TextEncoder::Encoding & encoding )

Definition at line 394 of file textEncoder.cxx.