Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
tesseract_common::Profile Class Reference

The Profile class. More...

#include <profile.h>

Public Types

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

Public Member Functions

std::size_t getKey () const
 Get the hash code associated with the profile. More...
 
 Profile ()=default
 
 Profile (std::size_t key)
 
virtual ~Profile ()=default
 

Protected Member Functions

Profileoperator= (const Profile &)=default
 
Profileoperator= (Profile &&)=default
 
 Profile (const Profile &)=default
 
 Profile (Profile &&)=default
 

Protected Attributes

std::size_t key_ { 0 }
 

Private Member Functions

template<class Archive >
void serialize (Archive &, const unsigned int)
 

Friends

class boost::serialization::access
 
struct tesseract_common::Serialization
 

Detailed Description

The Profile class.

Definition at line 39 of file profile.h.

Member Typedef Documentation

◆ ConstPtr

using tesseract_common::Profile::ConstPtr = std::shared_ptr<const Profile>

Definition at line 43 of file profile.h.

◆ Ptr

using tesseract_common::Profile::Ptr = std::shared_ptr<Profile>

Definition at line 42 of file profile.h.

Constructor & Destructor Documentation

◆ Profile() [1/4]

tesseract_common::Profile::Profile ( )
default

◆ Profile() [2/4]

Profile::Profile ( std::size_t  key)

Definition at line 34 of file profile.cpp.

◆ ~Profile()

virtual tesseract_common::Profile::~Profile ( )
virtualdefault

◆ Profile() [3/4]

tesseract_common::Profile::Profile ( const Profile )
protecteddefault

◆ Profile() [4/4]

tesseract_common::Profile::Profile ( Profile &&  )
protecteddefault

Member Function Documentation

◆ getKey()

std::size_t Profile::getKey ( ) const

Get the hash code associated with the profile.

Returns
The profile's hash code

Definition at line 36 of file profile.cpp.

◆ operator=() [1/2]

Profile& tesseract_common::Profile::operator= ( const Profile )
protecteddefault

◆ operator=() [2/2]

Profile& tesseract_common::Profile::operator= ( Profile &&  )
protecteddefault

◆ serialize()

template<class Archive >
void Profile::serialize ( Archive &  ar,
const unsigned int   
)
private

Definition at line 39 of file profile.cpp.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 64 of file profile.h.

◆ tesseract_common::Serialization

friend struct tesseract_common::Serialization
friend

Definition at line 65 of file profile.h.

Member Data Documentation

◆ key_

std::size_t tesseract_common::Profile::key_ { 0 }
protected

Definition at line 61 of file profile.h.


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


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