KDevelop API Documentation

ASTRef Struct Reference

#include <ASTRefCount.hpp>

Collaboration diagram for ASTRef:

Collaboration graph
[legend]
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 AST::ref.

Referenced by getRef().

ASTRef::~ASTRef  ) 
 

Definition at line 21 of file ASTRefCount.cpp.

ASTRef::ASTRef const ASTRef  )  [private]
 


Member Function Documentation

bool ASTRef::decrement  )  [inline]
 

Definition at line 31 of file ASTRefCount.hpp.

References count.

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

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

Definition at line 26 of file ASTRefCount.cpp.

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

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

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.

Referenced by decrement().

AST* const ASTRef::ptr
 

Definition at line 21 of file ASTRefCount.hpp.

Referenced by ASTRefCount< BaseAST >::get(), ASTRefCount< BaseAST >::operator T *(), ASTRefCount< BaseAST >::operator->(), and ASTRefCount< BaseAST >::toRefAST().


The documentation for this struct was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:36:51 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003