// CodeGear C++Builder
// Copyright (c) 1995, 2020 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'QImport3ValueTable.pas' rev: 34.00 (Windows)

#ifndef Qimport3valuetableHPP
#define Qimport3valuetableHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <System.Classes.hpp>
#include <System.SysUtils.hpp>
#include <Winapi.Windows.hpp>
#include <QImport3StrTypes.hpp>
#include <QImport3Common.hpp>
#include <QImport3StrIDs.hpp>

//-- user supplied -----------------------------------------------------------

namespace Qimport3valuetable
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TQImport3ValueTable;
//-- type declarations -------------------------------------------------------
class PASCALIMPLEMENTATION TQImport3ValueTable : public System::TObject
{
	typedef System::TObject inherited;
	
	
private:
	typedef System::DynamicArray<int> _TQImport3ValueTable__1;
	
	
private:
	_TQImport3ValueTable__1 FColumns;
	System::Classes::TStream* FPositionStream;
	System::Classes::TStream* FValueStream;
	void __fastcall StreamFree(System::Classes::TStream* AStream);
	__int64 __fastcall CalcStreamPosition(int AColumnIndex, int ARowIndex);
	
protected:
	int __fastcall GetColumnCount();
	void __fastcall SetColumnCount(int ANewLength);
	int __fastcall GetRowCount(int AColumnIndex);
	void __fastcall SetRowCount(int AColumnIndex, int ANewLength);
	System::WideString __fastcall GetCells(int AColumnIndex, int ARowIndex);
	void __fastcall SetCells(int AColumnIndex, int ARowIndex, const System::WideString AValue);
	
public:
	__fastcall TQImport3ValueTable(System::Classes::TStream* APositionStream, System::Classes::TStream* AValueStream);
	__fastcall virtual ~TQImport3ValueTable();
	void __fastcall Clear();
	__property int ColumnCount = {read=GetColumnCount, write=SetColumnCount, nodefault};
	__property int RowCount[int AColumnIndex] = {read=GetRowCount, write=SetRowCount};
	__property System::WideString Cells[int AColumnIndex][int ARowIndex] = {read=GetCells, write=SetCells/*, default*/};
};


//-- var, const, procedure ---------------------------------------------------
}	/* namespace Qimport3valuetable */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_QIMPORT3VALUETABLE)
using namespace Qimport3valuetable;
#endif
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Qimport3valuetableHPP
