xapian-core  1.4.19
Public Member Functions | Private Attributes | List of all members
B Class Reference
+ Inheritance diagram for B:
+ Collaboration diagram for B:

Public Member Functions

 B (int x_, bool &alive_)
 
 ~B ()
 
int get_x () const
 
Brelease ()
 
- Public Member Functions inherited from Xapian::Internal::opt_intrusive_base
 opt_intrusive_base (const opt_intrusive_base &)
 
opt_intrusive_baseoperator= (const opt_intrusive_base &)
 
 opt_intrusive_base ()
 Construct object which is initially not reference counted. More...
 
virtual ~opt_intrusive_base ()
 
void ref () const
 
void unref () const
 

Private Attributes

int x = 0
 
bool & alive
 

Additional Inherited Members

- Public Attributes inherited from Xapian::Internal::opt_intrusive_base
unsigned _refs
 Reference count. More...
 
- Protected Member Functions inherited from Xapian::Internal::opt_intrusive_base
void release () const
 Start reference counting. More...
 

Detailed Description

Definition at line 682 of file unittest.cc.

Constructor & Destructor Documentation

◆ B()

B::B ( int  x_,
bool &  alive_ 
)
inline

Definition at line 686 of file unittest.cc.

◆ ~B()

B::~B ( )
inline

Definition at line 690 of file unittest.cc.

Member Function Documentation

◆ get_x()

int B::get_x ( ) const
inline

Definition at line 694 of file unittest.cc.

Referenced by test_movesupport1().

◆ release()

B* B::release ( )
inline

Definition at line 698 of file unittest.cc.

Referenced by test_movesupport1().

Member Data Documentation

◆ alive

bool& B::alive
private

Definition at line 684 of file unittest.cc.

◆ x

int B::x = 0
private

Definition at line 683 of file unittest.cc.


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