- tms
- tms
- .svn
- pristine
- d5
- d579b2ffc99b4d49994e0d7d2e9b7e6403c5bf4d.svn-base
This file ( 737B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
/*******************************************************************************
* BRefData.h Referenced data storage
* T.Barnaby, Beam Ltd, 6/10/94
*******************************************************************************
*/
#ifndef BREFDATA_H
#define BREFDATA_H 1
/// Referenced data storage
class BRefData {
public:
BRefData();
BRefData(int len);
BRefData(const BRefData& refData);
~BRefData();
BRefData* copy();
BRefData* addRef();
int deleteRef();
int refCount(){ return oRefCount; }
char* data(){ return (char*)oData; }
int len(){ return oLen; }
void setLen(int len);
BRefData& operator=(BRefData& refData);
private:
void* oData;
int oLen;
int oSize;
int oRefCount;
};
#endif