#include "tMemManager.h"
#include "tString.h"
#include "tLinkedList.h"
#include "tError.h"
Go to the source code of this file.
Classes | |
class | tLanguage |
class | tOutput |
class | tOutputItemBase |
class | tOutputItem< T > |
class | tLocale |
Functions | |
template<class T> | |
tOutput & | operator<< (tOutput &o, const T &e) |
tOutput & | operator<< (tOutput &o, const char *locale) |
tOutput & | operator<< (tOutput &o, char *locale) |
std::ostream & | operator<< (std::ostream &s, const tOutput &o) |
tString & | operator<< (tString &s, const tOutput &o) |
std::ostream & | operator<< (std::ostream &s, const tLocaleItem &o) |
tString & | operator<< (tString &s, const tLocaleItem &o) |
tString& operator<< | ( | tString & | s, | |
const tLocaleItem & | o | |||
) |
std::ostream& operator<< | ( | std::ostream & | s, | |
const tLocaleItem & | o | |||
) |
std::ostream& operator<< | ( | std::ostream & | s, | |
const tOutput & | o | |||
) |
Definition at line 739 of file tLocale.cpp.
References tLocale::Find(), and tNEW.
00739 { 00740 int len = strlen(locale); 00741 if (len == 0) 00742 return o; 00743 if (len == 1 && locale[0] == ' ') 00744 tNEW(tOutputItemSpace)(o); 00745 else if (locale[0] == '$') 00746 tNEW(tOutputItemLocale)(o, tLocale::Find(locale+1)); 00747 else 00748 tNEW(tOutputItem<tString>)(o, tString(locale)); 00749 00750 return o; 00751 }
Definition at line 195 of file tLocale.h.
References tNEW.
00196 { 00197 tNEW(tOutputItem<T>)(o, e); 00198 return o; 00199 }