aboutsummaryrefslogtreecommitdiff
path: root/src/stable/archivebinary.h
diff options
context:
space:
mode:
authorMike Buland <mbuland@penny-arcade.com>2022-04-20 14:04:47 -0700
committerMike Buland <mbuland@penny-arcade.com>2022-04-20 14:04:47 -0700
commitfd56cdd21a7c9c944ad189cf91ff24d3c2b0f975 (patch)
treef16f7e7f54399ef9c753beb87069eed8122dbccb /src/stable/archivebinary.h
parentd10e6a5ca0905f0ef2836cd98aebfb48e7f1e8a3 (diff)
downloadlibbu++-fd56cdd21a7c9c944ad189cf91ff24d3c2b0f975.tar.gz
libbu++-fd56cdd21a7c9c944ad189cf91ff24d3c2b0f975.tar.bz2
libbu++-fd56cdd21a7c9c944ad189cf91ff24d3c2b0f975.tar.xz
libbu++-fd56cdd21a7c9c944ad189cf91ff24d3c2b0f975.zip
Gradually moving to better archive structure.
It's dragging other new API changes along with it, including use of Blob and Text.
Diffstat (limited to 'src/stable/archivebinary.h')
-rw-r--r--src/stable/archivebinary.h40
1 files changed, 38 insertions, 2 deletions
diff --git a/src/stable/archivebinary.h b/src/stable/archivebinary.h
index 4c12e02..d28e5e7 100644
--- a/src/stable/archivebinary.h
+++ b/src/stable/archivebinary.h
@@ -77,8 +77,44 @@ namespace Bu
77 virtual ~ArchiveBinary(); 77 virtual ~ArchiveBinary();
78 virtual void close(); 78 virtual void close();
79 79
80 virtual void write( const void *pData, size_t iSize ); 80 //virtual void write( const void *pData, size_t iSize );
81 virtual void read( void *pData, size_t iSize ); 81 //virtual void read( void *pData, size_t iSize );
82
83 virtual void write( bool rData );
84 virtual void write( unsigned char rData );
85 virtual void write( char rData );
86 virtual void write( signed char rData );
87 virtual void write( unsigned short rData );
88 virtual void write( signed short rData );
89 virtual void write( unsigned int rData );
90 virtual void write( signed int rData );
91 virtual void write( unsigned long rData );
92 virtual void write( signed long rData );
93 virtual void write( unsigned long long rData );
94 virtual void write( signed long long rData );
95 virtual void write( float rData );
96 virtual void write( double rData );
97 virtual void write( long double rData );
98 virtual void write( const Bu::Blob &rData );
99 virtual void write( const Bu::Text &rData );
100
101 virtual void read( bool &rData );
102 virtual void read( unsigned char &rData );
103 virtual void read( char &rData );
104 virtual void read( signed char &rData );
105 virtual void read( unsigned short &rData );
106 virtual void read( signed short &rData );
107 virtual void read( unsigned int &rData );
108 virtual void read( signed int &rData );
109 virtual void read( unsigned long &rData );
110 virtual void read( signed long &rData );
111 virtual void read( unsigned long long &rData );
112 virtual void read( signed long long &rData );
113 virtual void read( float &rData );
114 virtual void read( double &rData );
115 virtual void read( long double &rData );
116 virtual void read( Bu::Blob &rData );
117 virtual void read( Bu::Text &rData );
82 118
83 /** 119 /**
84 * For storage, get an ID for the pointer to the object you're going to 120 * For storage, get an ID for the pointer to the object you're going to