longstrreader.h at tip Вы: nobody
Вход

File sqlite1c/SQL_DBF/longstrreader.h from the latest check-in


// longstrreader.h
#pragma once

struct LongStrReader
{
	static LongStrReader& get()
	{
		static LongStrReader reader;
		return reader;
	}
	void ReadStr(LPCSTR pRecordBufer, DWORD mdCharID, CString& val);

private:
	LongStrReader() : store(pDataDict->GetTable("1SBLOB"), NULL)
	{
		store.SetOrderIndex(store.pTable->GetIndex(0));
		pReadBuf = ((CTableEx*)store.pTable)->recordBuffer();
	}
	CStoreObj store;
	LPCSTR pReadBuf;
};