KDevelop API Documentation

ASTRef Struct Reference

#include <ASTRefCount.hpp>

List of all members.

Public Member Functions

 ASTRef (AST *p)
 ~ASTRef ()
ASTRefincrement ()
bool decrement ()

Static Public Member Functions

ASTRefgetRef (const AST *p)

Public Attributes

AST *const ptr
unsigned int count

Private Member Functions

 ASTRef (const ASTRef &)
ASTRefoperator= (const ASTRef &)


Constructor & Destructor Documentation

ASTRef::ASTRef AST p  ) 
 

Definition at line 14 of file ASTRefCount.cpp.

References ASTRef(), and AST::ref.

Referenced by ASTRef().

ASTRef::~ASTRef  ) 
 

Definition at line 21 of file ASTRefCount.cpp.

References ptr.

ASTRef::ASTRef const ASTRef  )  [private]
 


Member Function Documentation

bool ASTRef::decrement  )  [inline]
 

Definition at line 31 of file ASTRefCount.hpp.

ASTRef * ASTRef::getRef const AST p  )  [static]
 

Definition at line 26 of file ASTRefCount.cpp.

References getRef(), increment(), and AST::ref.

Referenced by getRef().

ASTRef* ASTRef::increment  )  [inline]
 

Definition at line 26 of file ASTRefCount.hpp.

Referenced by getRef(), and ASTRefCount< BaseAST >::operator=().

ASTRef& ASTRef::operator= const ASTRef  )  [private]
 


Member Data Documentation

unsigned int ASTRef::count
 

Definition at line 22 of file ASTRefCount.hpp.

AST* const ASTRef::ptr
 

Definition at line 21 of file ASTRefCount.hpp.

Referenced by ~ASTRef().


The documentation for this struct was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:19 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003