00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef __IVF_ARCHIVE_OUTPUT_H__
00025 #define __IVF_ARCHIVE_OUTPUT_H__
00026
00027 #include <Inventor/SoOutput.h>
00028
00029 class CArchive ;
00030 class CFile ;
00031 class SoDEPRECATED CIvfArchiveOutput : public SoOutput {
00054 public:
00058 CIvfArchiveOutput() ;
00059
00063 CIvfArchiveOutput(CArchive *ar) ;
00064
00068 virtual ~CIvfArchiveOutput() ;
00069
00073 CArchive *getArchive() {return m_pAr;} ;
00074
00078 virtual void closeFile() ;
00082 virtual void flushFile() ;
00083
00087 virtual void write(char c);
00091 virtual void write(const char *s);
00095 virtual void write(const SbString &s);
00099 virtual void write(const SbName &n);
00103 virtual void write(int i);
00104 virtual void write(unsigned int i);
00108 virtual void write(short s);
00109 virtual void write(unsigned short s);
00113 virtual void write(float f);
00117 virtual void write(double d);
00121 virtual void writeBinaryArray(int32_t *l, int length);
00125 virtual void writeBinaryArray(float *f, int length);
00129 virtual void writeBinaryArray(double *d, int length);
00130
00131 private:
00132 CArchive *m_pAr ;
00133 CFile *m_pFile ;
00134
00135
00136 } ;
00137
00138 #endif
00139
00140