source: dev/trunk/abdev/BasicCompiler_Common/include/DataTable.h@ 232

Last change on this file since 232 was 184, checked in by dai_9181, 17 years ago
File size: 432 bytes
RevLine 
[184]1#pragma once
2
3//DataTable.cpp
4class DataTable{
5 void *pdata;
6 int size;
7
8public:
9 DataTable();
10 ~DataTable();
11 void Init();
12
13 int AddBinary( const void *pdata, int size );
14 int Add( _int64 i64data );
15 int Add( int i32data );
16 int Add( double dbl );
17 int Add( float flt );
18 int AddString( const char *str, int length );
19 int AddString( const char *str );
20
21 const void *GetPtr() const;
22 int GetSize() const;
23};
Note: See TracBrowser for help on using the repository browser.