Lolly 1.4.27
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
abstract_struct Struct Reference

Structure representing an abstract object with a reference count. More...

#include <classdef.hpp>

Inheritance diagram for abstract_struct:
Inheritance graph
[legend]
Collaboration diagram for abstract_struct:
Collaboration graph
[legend]

Public Member Functions

 abstract_struct ()
 Default constructor for the abstract object. Sets the reference count to 0.
 
virtual ~abstract_struct ()
 Virtual destructor for the abstract object. Decrements the reference count.
 

Public Attributes

int ref_count
 The reference count for the abstract object.
 

Detailed Description

Structure representing an abstract object with a reference count.

Definition at line 49 of file classdef.hpp.

Constructor & Destructor Documentation

◆ abstract_struct()

abstract_struct::abstract_struct ( )
inline

Default constructor for the abstract object. Sets the reference count to 0.

Definition at line 56 of file classdef.hpp.

#define TM_DEBUG(x)
Debugging macro used to disable debugging output.
Definition classdef.hpp:13
int abstract_count
Global variable holding the number of abstract structures currently active.
int ref_count
The reference count for the abstract object.
Definition classdef.hpp:50

◆ ~abstract_struct()

virtual abstract_struct::~abstract_struct ( )
inlinevirtual

Virtual destructor for the abstract object. Decrements the reference count.

Definition at line 62 of file classdef.hpp.

Member Data Documentation

◆ ref_count

int abstract_struct::ref_count

The reference count for the abstract object.

Definition at line 50 of file classdef.hpp.


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