CBMC
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
sharing_treet< derivedt, named_subtreest > Class Template Reference

Base class for tree-like data structures with sharing. More...

#include <irep.h>

+ Inheritance diagram for sharing_treet< derivedt, named_subtreest >:
+ Collaboration diagram for sharing_treet< derivedt, named_subtreest >:

Public Types

 
 
 
  Used to refer to this class from derived classes.
 

Public Member Functions

 
 
 
 
 
 
 
 
const dtread () const
 
dtwrite ()
 

Protected Member Functions

void  detach ()
 

Static Protected Member Functions

 
  Does the same as remove_ref, but using an explicit stack instead of recursion.
 

Protected Attributes

dtdata
 

Static Protected Attributes

 

Detailed Description

template<typename derivedt, typename named_subtreest>
class sharing_treet< derivedt, named_subtreest >

Base class for tree-like data structures with sharing.

Definition at line 148 of file irep.h.

Member Typedef Documentation

◆  dt

Definition at line 151 of file irep.h.

◆  named_subt

Definition at line 153 of file irep.h.

◆  subt

Definition at line 152 of file irep.h.

◆  tree_implementationt

Used to refer to this class from derived classes.

Definition at line 156 of file irep.h.

Constructor & Destructor Documentation

◆  sharing_treet() [1/5]

Definition at line 158 of file irep.h.

◆  sharing_treet() [2/5]

named_subt  _named_sub,
subt  _sub 
)
inline

Definition at line 162 of file irep.h.

◆  sharing_treet() [3/5]

Definition at line 168 of file irep.h.

◆  sharing_treet() [4/5]

Definition at line 173 of file irep.h.

◆  sharing_treet() [5/5]

Definition at line 188 of file irep.h.

◆  ~sharing_treet()

Definition at line 226 of file irep.h.

Member Function Documentation

◆  detach()

protected

Definition at line 510 of file irep.h.

◆  nonrecursive_destructor()

void sharing_treet< derivedt, named_subtreest >::nonrecursive_destructor ( dtold_data )
staticprotected

Does the same as remove_ref, but using an explicit stack instead of recursion.

Definition at line 583 of file irep.h.

◆  operator=() [1/2]

Definition at line 196 of file irep.h.

◆  operator=() [2/2]

Definition at line 216 of file irep.h.

◆  read()

inline

Definition at line 240 of file irep.h.

◆  remove_ref()

void sharing_treet< derivedt, named_subtreest >::remove_ref ( dtold_data )
staticprotected

Definition at line 545 of file irep.h.

◆  write()

inline

Definition at line 245 of file irep.h.

Member Data Documentation

◆  data

protected

Definition at line 232 of file irep.h.

◆  empty_d

Definition at line 233 of file irep.h.


The documentation for this class was generated from the following file:
  • /home/runner/work/cbmc/cbmc/src/util/irep.h

AltStyle によって変換されたページ (->オリジナル) /