home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ssvpar.zip
/
SSLEXIRF.HPP
< prev
next >
Wrap
Text File
|
1994-07-31
|
1KB
|
47 lines
/*---------------------------------------------------------------------------
Copyright (c) 1994 SandStone Software Inc.
All rights reserved
----------------------------------------------------------------------------*/
#if !defined( SSLEXIRF)
# define SSLEXIRF
# include<sslex.hpp>
# include<irefcnt.hpp>
class SSLexLexemeIRef : public SSLexLexeme, public IRefCounted
{
public:
SSConstr SSLexLexemeIRef( SSLexConsumer&, SSUnsigned32,
SSLexMark&);
void addRef( void);
void refFree( void);
void removeRef( void);
};
SSInline SSLexLexemeIRef::SSLexLexemeIRef( SSLexConsumer& qConsumer,
SSUnsigned32 qulToken, SSLexMark& qMark) :
SSLexLexeme( qConsumer, qulToken, qMark)
{
}
SSInline void SSLexLexemeIRef::addRef( void)
{
refInc();
}
SSInline void SSLexLexemeIRef::removeRef( void)
{
refDec();
}
SSInline void SSLexLexemeIRef::refFree( void)
{
delete this;
}
typedef IReference< SSLexLexemeIRef> SSLexLexemeIRefRef;
#endif