]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliFstream.h
New on per RCU data containers
[u/mrichter/AliRoot.git] / RAW / AliFstream.h
index d0b3143105c37530c540bfa7d4ed3ea85382737c..2d6c1dcd5a5deb1a9bc23846158fbb7b8de16344 100644 (file)
@@ -19,20 +19,22 @@ class AliFstream : public TObject {
 public:
   AliFstream();
   AliFstream(const char *fileName);
-  AliFstream(const AliFstream &source);
-  AliFstream& operator= (const AliFstream &source);
   virtual ~AliFstream();
 
-  void   Seekg(UInt_t position);
-  UInt_t Tellg();
+  void   Seekp(UInt_t position);
+  UInt_t Tellp();
   void   WriteBuffer(const char *buffer, UInt_t size, Bool_t force = kFALSE);
 
 private:
 
+  AliFstream(const AliFstream &source);
+  AliFstream &operator =(const AliFstream& source);
+
+  UInt_t Swap(UInt_t x);
+
   fstream *fFile;       // Output file stream
-  UChar_t *fBuffer;     // Pointer to the internal buffer
+  UInt_t  *fBuffer;     // Pointer to the internal buffer
   UInt_t   fBufferSize; // Internal buffer size
-  Bool_t   fSwap;       // Big or little endian
 
   ClassDef(AliFstream,0)
 };