Public Types | Public Member Functions | Public Attributes | List of all members
TestObject Class Reference

Object used to test the CloneCache. More...

Inheritance diagram for TestObject:
Inheritance graph
[legend]

Public Types

using ConstPtr = std::shared_ptr< const TestObject >
 
using Ptr = std::shared_ptr< TestObject >
 

Public Member Functions

TestObject::Ptr clone () const
 
int getRevision () const
 
TestObjectoperator= (const TestObject &)=delete
 
TestObjectoperator= (TestObject &&)=delete
 
 TestObject ()=default
 
 TestObject (const TestObject &)=delete
 
 TestObject (TestObject &&)=delete
 
virtual ~TestObject ()=default
 

Public Attributes

int revision_ { 0 }
 
int val_1 { 0 }
 
int val_2 { 0 }
 

Detailed Description

Object used to test the CloneCache.

Definition at line 12 of file clone_cache_unit.cpp.

Member Typedef Documentation

◆ ConstPtr

using TestObject::ConstPtr = std::shared_ptr<const TestObject>

Definition at line 16 of file clone_cache_unit.cpp.

◆ Ptr

using TestObject::Ptr = std::shared_ptr<TestObject>

Definition at line 15 of file clone_cache_unit.cpp.

Constructor & Destructor Documentation

◆ TestObject() [1/3]

TestObject::TestObject ( )
default

◆ ~TestObject()

virtual TestObject::~TestObject ( )
virtualdefault

◆ TestObject() [2/3]

TestObject::TestObject ( const TestObject )
delete

◆ TestObject() [3/3]

TestObject::TestObject ( TestObject &&  )
delete

Member Function Documentation

◆ clone()

TestObject::Ptr TestObject::clone ( ) const
inline

Definition at line 25 of file clone_cache_unit.cpp.

◆ getRevision()

int TestObject::getRevision ( ) const
inline

Definition at line 34 of file clone_cache_unit.cpp.

◆ operator=() [1/2]

TestObject& TestObject::operator= ( const TestObject )
delete

◆ operator=() [2/2]

TestObject& TestObject::operator= ( TestObject &&  )
delete

Member Data Documentation

◆ revision_

int TestObject::revision_ { 0 }

Definition at line 39 of file clone_cache_unit.cpp.

◆ val_1

int TestObject::val_1 { 0 }

Definition at line 36 of file clone_cache_unit.cpp.

◆ val_2

int TestObject::val_2 { 0 }

Definition at line 37 of file clone_cache_unit.cpp.


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


tesseract_common
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:01:40