#include <doubleptr.h>
Definition at line 41 of file doubleptr.h.
◆ DoublePtr() [1/2]
tesseract::DoublePtr::DoublePtr |
( |
| ) |
|
|
inline |
Definition at line 43 of file doubleptr.h.
43 : other_end_(
nullptr) {}
◆ DoublePtr() [2/2]
tesseract::DoublePtr::DoublePtr |
( |
DoublePtr & |
src | ) |
|
|
inline |
Definition at line 47 of file doubleptr.h.
48 other_end_ = src.other_end_;
49 if (other_end_ !=
nullptr) {
50 other_end_->other_end_ =
this;
51 src.other_end_ =
nullptr;
◆ Connect()
void tesseract::DoublePtr::Connect |
( |
DoublePtr * |
other | ) |
|
|
inline |
Definition at line 67 of file doubleptr.h.
70 other->other_end_ =
this;
◆ Disconnect()
void tesseract::DoublePtr::Disconnect |
( |
| ) |
|
|
inline |
Definition at line 74 of file doubleptr.h.
75 if (other_end_ !=
nullptr) {
76 other_end_->other_end_ =
nullptr;
◆ operator=()
void tesseract::DoublePtr::operator= |
( |
DoublePtr & |
src | ) |
|
|
inline |
Definition at line 57 of file doubleptr.h.
59 other_end_ = src.other_end_;
60 if (other_end_ !=
nullptr) {
61 other_end_->other_end_ =
this;
62 src.other_end_ =
nullptr;
◆ OtherEnd()
DoublePtr* tesseract::DoublePtr::OtherEnd |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: