#include <doubleptr.h>
Definition at line 40 of file doubleptr.h.
◆ DoublePtr() [1/2]
tesseract::DoublePtr::DoublePtr |
( |
| ) |
|
|
inline |
Definition at line 42 of file doubleptr.h.
42 : other_end_(
nullptr) {}
◆ DoublePtr() [2/2]
tesseract::DoublePtr::DoublePtr |
( |
const DoublePtr & |
src | ) |
|
|
inline |
Definition at line 46 of file doubleptr.h.
47 other_end_ = src.other_end_;
48 if (other_end_ !=
nullptr) {
49 other_end_->other_end_ =
this;
◆ Connect()
void tesseract::DoublePtr::Connect |
( |
DoublePtr * |
other | ) |
|
|
inline |
Definition at line 66 of file doubleptr.h.
69 other->other_end_ =
this;
◆ Disconnect()
void tesseract::DoublePtr::Disconnect |
( |
| ) |
|
|
inline |
Definition at line 73 of file doubleptr.h.
74 if (other_end_ !=
nullptr) {
75 other_end_->other_end_ =
nullptr;
◆ operator=()
void tesseract::DoublePtr::operator= |
( |
const DoublePtr & |
src | ) |
|
|
inline |
Definition at line 56 of file doubleptr.h.
58 other_end_ = src.other_end_;
59 if (other_end_ !=
nullptr) {
60 other_end_->other_end_ =
this;
◆ OtherEnd()
DoublePtr* tesseract::DoublePtr::OtherEnd |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: