CTextIO.hpp

Go to the documentation of this file.
00001 #ifndef __CTextIO__
00002 #define __CTextIO__
00003 
00004 //  ===========================================================================
00005 
00006 #include "../Basics/CSystemString.hpp"
00007 #include "../Collections/CollectionTypedef.h"
00008 
00009 //  ===========================================================================
00010 
00011 using Exponent::Collections::TStringCountedPointerArray;
00012 using Exponent::Basics::CSystemString;
00013 
00014 //  ===========================================================================
00015 
00016 namespace Exponent
00017 {
00018     namespace IO
00019     {
00039         class CTextIO
00040         {
00041         public:
00042 
00043 //  ===========================================================================
00044 
00052             static bool readFile(const CSystemString &path, CString &string, const CString &endOfLineCharacter = "\n");
00053 
00060             static bool readFile(const CSystemString &path, TStringCountedPointerArray &array);
00061 
00068             static bool writeFile(const CSystemString &path, const CString &string);
00069 
00076             static bool writeFile(const CSystemString &path, TStringCountedPointerArray &array);
00077 
00078 //  ===========================================================================
00079 
00080         };
00081     }
00082 }
00083 #endif  // End of CTextIO.hpp

Infinity API - CTextIO.hpp Source File generated on 7 Mar 2007