nmessage.cpp

00001 // LICENSE: (Please see the file COPYING for details)
00002 //
00003 // NUS - Nemesis Utilities System: A C++ application development framework 
00004 // Copyright (C) 2006, 2007 Otavio Rodolfo Piske
00005 //
00006 //  This file is part of NUS
00007 //
00008 //  This library is free software; you can redistribute it and/or
00009 //  modify it under the terms of the GNU Lesser General Public
00010 //  License as published by the Free Software Foundation version 2.1
00011 //  of the License.
00012 //
00013 //  This library is distributed in the hope that it will be useful,
00014 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016 //  Lesser General Public License for more details.
00017 //
00018 //  You should have received a copy of the GNU Lesser General Public
00019 //  License along with this library; if not, write to the Free Software
00020 //  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00021 //
00022 #include "nmessage.h"
00023 
00024 NMessage::NMessage(void)
00025       : NBaseOutput()
00026 {
00027 
00028 }
00029 
00030 
00031 NMessage::~NMessage(void) {
00032       printf("\n");
00033 }
00034 
00035 
00036 NMessage NMessage::print(void) { 
00037       NMessage ret;
00038       
00039       return ret;
00040 }
00041 
00042 
00043 NMessage &NMessage::operator<<(nint32 val) {
00044       NBaseOutput::print(val);
00045       return *this;
00046 }
00047 
00048 
00049 NMessage &NMessage::operator<<(nuint32 val) {
00050       NBaseOutput::print(val);
00051       return *this;
00052 }
00053 
00054 
00055 NMessage &NMessage::operator<<(nint64 val) {
00056       NBaseOutput::print(val);
00057       return *this;
00058 }
00059 
00060 
00061 NMessage &NMessage::operator<<(nuint64 val) {
00062       NBaseOutput::print(val);
00063       return *this;
00064 }
00065 
00066 
00067 NMessage &NMessage::operator<<(double d) {
00068       NBaseOutput::print(d);
00069       return *this;
00070 }
00071 
00072 
00073 NMessage &NMessage::operator<<(char c) {
00074       NBaseOutput::print(c);
00075       return *this;
00076 }
00077 
00078 NMessage &NMessage::operator<<(const NString &str) {
00079       NBaseOutput::print(str);
00080       return *this;
00081 }
00082 
00083 
00084 NMessage &NMessage::operator<<(const void *ptr) {
00085       NBaseOutput::print(ptr);
00086       return *this;
00087 }
00088 
00089 
00090 NMessage &NMessage::operator<<(const char *str) {
00091       NBaseOutput::print(str);
00092       return *this;
00093 }

Generated on Wed Mar 5 23:10:35 2008 for NemesisUtilitiesSystem by  doxygen 1.5.4