Tesseract 0.28.4
Loading...
Searching...
No Matches
tesseract::common::Profile Class Reference

The Profile class. More...

#include <profile.h>

Inheritance diagram for tesseract::common::Profile:

Public Types

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

Public Member Functions

 Profile (std::size_t key)
std::size_t getKey () const
 Get the hash code associated with the profile.

Static Public Member Functions

template<typename KeyType>
static std::size_t createKey ()

Protected Member Functions

 Profile (const Profile &)=default
Profile & operator= (const Profile &)=default
 Profile (Profile &&)=default
Profile & operator= (Profile &&)=default

Protected Attributes

std::size_t key_ { 0 }

Friends

template<class Archive>
friend void::tesseract::common::serialize (Archive &ar, Profile &obj)

Detailed Description

The Profile class.

Member Function Documentation

◆ getKey()

std::size_t Profile::getKey ( ) const

Get the hash code associated with the profile.

Returns
The profile's hash code