01.03.2011 - as a initial commit
This commit is contained in:
3
pifile.h
3
pifile.h
@@ -1,9 +1,9 @@
|
||||
#ifndef PIFILE_H
|
||||
#define PIFILE_H
|
||||
|
||||
#include <fstream>
|
||||
#include "piincludes.h"
|
||||
#include "pistring.h"
|
||||
#include <fstream>
|
||||
|
||||
using std::fstream;
|
||||
|
||||
@@ -52,6 +52,7 @@ public:
|
||||
PIFile & operator <<(const char & v) {stream.write(&v, 1); return *this;}
|
||||
//PIFile & operator <<(const string & v) {stream.write(v.c_str(), v.size()); return *this;}
|
||||
PIFile & operator <<(const PIString & v) {stream.write(v.data(), v.size()); return *this;}
|
||||
PIFile & operator <<(const PIByteArray & v) {stream.write((char * )v.data(), v.size()); return *this;}
|
||||
PIFile & operator <<(const short & v) {stream << v; return *this;}
|
||||
PIFile & operator <<(const int & v) {stream << v; return *this;}
|
||||
PIFile & operator <<(const long & v) {stream << v; return *this;}
|
||||
|
||||
Reference in New Issue
Block a user