Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Attributes
TCollection_AVLBaseNode Class Reference

#include <TCollection_AVLBaseNode.hxx>

Inheritance diagram for TCollection_AVLBaseNode:
Inheritance graph
[legend]

Public Member Functions

 TCollection_AVLBaseNode (const TCollection_AVLBaseNodePtr &L, const TCollection_AVLBaseNodePtr &R)
 
void SetChild (const TCollection_AVLBaseNodePtr &theNode, const TCollection_Side theSide)
 
TCollection_AVLBaseNodePtrRight () const
 
TCollection_AVLBaseNodePtrLeft () const
 
Standard_IntegerCount () const
 
- Public Member Functions inherited from MMgt_TShared
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual void ShallowDump (Standard_OStream &) const
 
virtual const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object. More...
 
Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
virtual Handle_Standard_Transient This () const
 Returns a Handle which references this object. Must never be called to objects created in stack. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 

Static Public Member Functions

static Standard_Integer Height (const TCollection_AVLBaseNodePtr &ANode)
 
static Standard_Integer RecursiveExtent (const TCollection_AVLBaseNodePtr &ANode)
 
static Standard_Integer RecursiveTotalExtent (const TCollection_AVLBaseNodePtr &ANode)
 

Protected Attributes

TCollection_AVLBaseNodePtr myLeft
 
TCollection_AVLBaseNodePtr myRight
 
Standard_Integer myCount
 

Constructor & Destructor Documentation

TCollection_AVLBaseNode::TCollection_AVLBaseNode ( const TCollection_AVLBaseNodePtr L,
const TCollection_AVLBaseNodePtr R 
)

Member Function Documentation

Standard_Integer& TCollection_AVLBaseNode::Count ( ) const
static Standard_Integer TCollection_AVLBaseNode::Height ( const TCollection_AVLBaseNodePtr ANode)
static
TCollection_AVLBaseNodePtr& TCollection_AVLBaseNode::Left ( ) const
static Standard_Integer TCollection_AVLBaseNode::RecursiveExtent ( const TCollection_AVLBaseNodePtr ANode)
static
static Standard_Integer TCollection_AVLBaseNode::RecursiveTotalExtent ( const TCollection_AVLBaseNodePtr ANode)
static
TCollection_AVLBaseNodePtr& TCollection_AVLBaseNode::Right ( ) const
void TCollection_AVLBaseNode::SetChild ( const TCollection_AVLBaseNodePtr theNode,
const TCollection_Side  theSide 
)

Field Documentation

Standard_Integer TCollection_AVLBaseNode::myCount
protected
TCollection_AVLBaseNodePtr TCollection_AVLBaseNode::myLeft
protected
TCollection_AVLBaseNodePtr TCollection_AVLBaseNode::myRight
protected

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