KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
spear::RCObject Class Referenceabstract

#include <RCIPtr.h>

Inheritance diagram for spear::RCObject:
spear::BankEdge spear::Edge spear::Lexem spear::Lexicon spear::Model spear::Pattern spear::StringMapEntry< T > spear::Tokenizer spear::Trainer spear::Tree

Public Member Functions

void addReference ()
 
void removeReference ()
 

Public Attributes

unsigned short refCount
 

Protected Member Functions

 RCObject ()
 
 RCObject (const RCObject &rhs)
 
RCObjectoperator= (const RCObject &rhs)
 
virtual ~RCObject ()=0
 

Detailed Description

Base class for reference-counted objects

Constructor & Destructor Documentation

spear::RCObject::RCObject ( )
inlineprotected
spear::RCObject::RCObject ( const RCObject rhs)
inlineprotected
spear::RCObject::~RCObject ( )
inlineprotectedpure virtual

Member Function Documentation

void spear::RCObject::addReference ( )
inline
RCObject & spear::RCObject::operator= ( const RCObject rhs)
inlineprotected
void spear::RCObject::removeReference ( )
inline

Member Data Documentation

unsigned short spear::RCObject::refCount

The documentation for this class was generated from the following file: