Class Hierarchy   Class Index   Method Index  

CHMostreamOperatorStd.h

00001 #ifndef __CHM_IOSTREAM_STD_H__
00002 #define __CHM_IOSTREAM_STD_H__
00003 
00009 #include <iostream>
00010 using namespace std;
00011 
00012 #include <CHM/CHMdateTime.h>
00013 #include <CHM/CHMengineClass.h>
00014 #include <CHM/CHMerrorClass.h>
00015 #include <CHM/CHMstring.h>
00016 #include <CHM/CHMtableClass.h>
00017 
00018 ostream& operator<<(ostream& Stream, const CHMstring& String)
00019 {
00020    return Stream << String.c_str();
00021 }
00022 
00023 ostream& operator<<(ostream& Stream, const CHMdateTime& DateTime)
00024 {
00025    return Stream << DateTime.Dump();
00026 }
00027 
00028 ostream& operator<<(ostream& Stream, const CHMengine& Engine)
00029 {
00030    return Stream << Engine.Dump();
00031 }
00032 
00033 ostream& operator<<(ostream& Stream, const CHMerror& Error)
00034 {
00035    return Stream << Error.Dump();
00036 }
00037 
00038 ostream& operator<<(ostream& Stream, const CHMtable& Table)
00039 {
00040    return Stream << Table.Dump();
00041 }
00042 
00043 #endif