| 
    rippled
    
   | 
 
Unpack the count and tag fields from the packed atomic integer form. More...

Public Member Functions | |
| RefCountPair (FieldType v) noexcept | |
| RefCountPair (CountType s, CountType w) noexcept | |
| FieldType | combinedValue () const noexcept | 
| Convert back to the packed integer form.   | |
Public Attributes | |
| CountType | strong | 
| CountType | weak | 
| FieldType | partialDestroyStartedBit {0} | 
The partialDestroyStartedBit is set to on when the partial destroy function is started.   | |
| FieldType | partialDestroyFinishedBit {0} | 
The partialDestroyFinishedBit is set to on when the partial destroy function has finished.   | |
Static Public Attributes | |
| static constexpr CountType | maxStrongValue | 
| static constexpr CountType | maxWeakValue | 
| static constexpr CountType | checkStrongMaxValue = maxStrongValue - 32 | 
| Put an extra margin to detect when running up against limits.   | |
| static constexpr CountType | checkWeakMaxValue = maxWeakValue - 32 | 
Unpack the count and tag fields from the packed atomic integer form.
Definition at line 196 of file IntrusiveRefCounts.h.
      
  | 
  noexcept | 
Definition at line 421 of file IntrusiveRefCounts.h.
      
  | 
  noexcept | 
Definition at line 434 of file IntrusiveRefCounts.h.
      
  | 
  noexcept | 
Convert back to the packed integer form.
Definition at line 446 of file IntrusiveRefCounts.h.
| CountType ripple::IntrusiveRefCounts::RefCountPair::strong | 
Definition at line 198 of file IntrusiveRefCounts.h.
| CountType ripple::IntrusiveRefCounts::RefCountPair::weak | 
Definition at line 199 of file IntrusiveRefCounts.h.
| FieldType ripple::IntrusiveRefCounts::RefCountPair::partialDestroyStartedBit {0} | 
The partialDestroyStartedBit is set to on when the partial destroy function is started. 
It is not a boolean; it is a uint32 with all bits zero with the possible exception of the partialDestroyStartedMask bit. This is done so it can be directly masked into the combinedValue. 
Definition at line 206 of file IntrusiveRefCounts.h.
| FieldType ripple::IntrusiveRefCounts::RefCountPair::partialDestroyFinishedBit {0} | 
The partialDestroyFinishedBit is set to on when the partial destroy function has finished. 
Definition at line 210 of file IntrusiveRefCounts.h.
      
  | 
  staticconstexpr | 
Definition at line 218 of file IntrusiveRefCounts.h.
      
  | 
  staticconstexpr | 
Definition at line 220 of file IntrusiveRefCounts.h.
      
  | 
  staticconstexpr | 
Put an extra margin to detect when running up against limits.
This is only used in debug code, and is useful if we reduce the number of bits in the strong and weak counts (to 16 and 14 bits).
Definition at line 226 of file IntrusiveRefCounts.h.
      
  | 
  staticconstexpr | 
Definition at line 227 of file IntrusiveRefCounts.h.