Skip to content

Class mediapipe::Classification

ClassList > mediapipe > Classification

Inherits the following classes: PROTOBUF_NAMESPACE_ID::Message

Classes

Type Name
class _Internal

Public Types

Type Name
enum int Classification

Public Static Attributes

Type Name
const ClassData _class_data_ = /* multi line expression */
constexpr int kIndexInFileMessages = /* multi line expression */

Public Functions

Type Name
size_t ByteSizeLong () const
Classification ()
constexpr Classification (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Classification (const Classification & from)
Classification (Classification && from) noexcept
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ()
void CopyFrom (const Classification & from)
int GetCachedSize () const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const
bool IsInitialized () const
void MergeFrom (const Classification & from)
Classification * New (::PROTOBUF_NAMESPACE_ID::Arena * arena=nullptr) const
void Swap (Classification * other)
void UnsafeArenaSwap (Classification * other)
const char * _InternalParse (const char * ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)
uint8_t * _InternalSerialize (uint8_t * target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const
void clear_display_name ()
void clear_index ()
void clear_label ()
void clear_score ()
const std::string & display_name () const
bool has_display_name () const
bool has_index () const
bool has_label () const
bool has_score () const
int32_t index () const
const std::string & label () const
std::string * mutable_display_name ()
std::string * mutable_label ()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
Classification & operator= (const Classification & from)
Classification & operator= (Classification && from) noexcept
PROTOBUF_NODISCARD std::string * release_display_name ()
PROTOBUF_NODISCARD std::string * release_label ()
float score () const
void set_allocated_display_name (std::string * display_name)
void set_allocated_label (std::string * label)
void set_display_name (ArgT0 && arg0, ArgT... args)
PROTOBUF_ALWAYS_INLINE void set_display_name (ArgT0 && arg0, ArgT... args)
void set_index (int32_t value)
void set_label (ArgT0 && arg0, ArgT... args)
PROTOBUF_ALWAYS_INLINE void set_label (ArgT0 && arg0, ArgT... args)
void set_score (float value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
~Classification () override

Public Static Functions

Type Name
const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
const Classification & default_instance ()
const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
const Classification * internal_default_instance ()

Protected Functions

Type Name
Classification (::PROTOBUF_NAMESPACE_ID::Arena * arena, bool is_message_owned=false)

Public Types Documentation

enum Classification

enum mediapipe::Classification::Classification {
    kLabelFieldNumber = 3,
    kDisplayNameFieldNumber = 4,
    kIndexFieldNumber = 1,
    kScoreFieldNumber = 2
};

Public Static Attributes Documentation

variable _class_data_

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData mediapipe::Classification::_class_data_;

variable kIndexInFileMessages

constexpr int mediapipe::Classification::kIndexInFileMessages;

Public Functions Documentation

function ByteSizeLong

size_t mediapipe::Classification::ByteSizeLong () const

function Classification [1/5]

inline mediapipe::Classification::Classification () 

function Classification [2/5]

explicit constexpr mediapipe::Classification::Classification (
    ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized
) 

function Classification [3/5]

mediapipe::Classification::Classification (
    const Classification & from
) 

function Classification [4/5]

inline mediapipe::Classification::Classification (
    Classification && from
) noexcept

function Clear

PROTOBUF_ATTRIBUTE_REINITIALIZES void mediapipe::Classification::Clear () 

function CopyFrom

void mediapipe::Classification::CopyFrom (
    const Classification & from
) 

function GetCachedSize

inline int mediapipe::Classification::GetCachedSize () const

function GetClassData

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * mediapipe::Classification::GetClassData () const

function GetMetadata

::PROTOBUF_NAMESPACE_ID::Metadata mediapipe::Classification::GetMetadata () const

function IsInitialized

bool mediapipe::Classification::IsInitialized () const

function MergeFrom

void mediapipe::Classification::MergeFrom (
    const Classification & from
) 

function New

inline Classification * mediapipe::Classification::New (
    ::PROTOBUF_NAMESPACE_ID::Arena * arena=nullptr
) const

function Swap

inline void mediapipe::Classification::Swap (
    Classification * other
) 

function UnsafeArenaSwap

inline void mediapipe::Classification::UnsafeArenaSwap (
    Classification * other
) 

function _InternalParse

const char * mediapipe::Classification::_InternalParse (
    const char * ptr,
    ::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx
) 

function _InternalSerialize

uint8_t * mediapipe::Classification::_InternalSerialize (
    uint8_t * target,
    ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream
) const

function clear_display_name

inline void mediapipe::Classification::clear_display_name () 

function clear_index

inline void mediapipe::Classification::clear_index () 

function clear_label

inline void mediapipe::Classification::clear_label () 

function clear_score

inline void mediapipe::Classification::clear_score () 

function display_name

inline const std::string & mediapipe::Classification::display_name () const

function has_display_name

inline bool mediapipe::Classification::has_display_name () const

function has_index

inline bool mediapipe::Classification::has_index () const

function has_label

inline bool mediapipe::Classification::has_label () const

function has_score

inline bool mediapipe::Classification::has_score () const

function index

inline int32_t mediapipe::Classification::index () const

function label

inline const std::string & mediapipe::Classification::label () const

function mutable_display_name

inline std::string * mediapipe::Classification::mutable_display_name () 

function mutable_label

inline std::string * mediapipe::Classification::mutable_label () 

function mutable_unknown_fields

inline inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mediapipe::Classification::mutable_unknown_fields () 

function operator=

inline Classification & mediapipe::Classification::operator= (
    const Classification & from
) 

function operator=

inline Classification & mediapipe::Classification::operator= (
    Classification && from
) noexcept

function release_display_name

inline PROTOBUF_NODISCARD std::string * mediapipe::Classification::release_display_name () 

function release_label

inline PROTOBUF_NODISCARD std::string * mediapipe::Classification::release_label () 

function score

inline float mediapipe::Classification::score () const

function set_allocated_display_name

inline void mediapipe::Classification::set_allocated_display_name (
    std::string * display_name
) 

function set_allocated_label

inline void mediapipe::Classification::set_allocated_label (
    std::string * label
) 

function set_display_name [1/2]

template<typename ArgT0, typename... ArgT>
void mediapipe::Classification::set_display_name (
    ArgT0 && arg0,
    ArgT... args
) 

function set_display_name [2/2]

template<typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE void mediapipe::Classification::set_display_name (
    ArgT0 && arg0,
    ArgT... args
) 

function set_index

inline void mediapipe::Classification::set_index (
    int32_t value
) 

function set_label [1/2]

template<typename ArgT0, typename... ArgT>
void mediapipe::Classification::set_label (
    ArgT0 && arg0,
    ArgT... args
) 

function set_label [2/2]

template<typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE void mediapipe::Classification::set_label (
    ArgT0 && arg0,
    ArgT... args
) 

function set_score

inline void mediapipe::Classification::set_score (
    float value
) 

function unknown_fields

inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & mediapipe::Classification::unknown_fields () const

function ~Classification

mediapipe::Classification::~Classification () override

Public Static Functions Documentation

function GetDescriptor

static inline const ::PROTOBUF_NAMESPACE_ID::Descriptor * mediapipe::Classification::GetDescriptor () 

function GetReflection

static inline const ::PROTOBUF_NAMESPACE_ID::Reflection * mediapipe::Classification::GetReflection () 

function default_instance

static inline const Classification & mediapipe::Classification::default_instance () 

function descriptor

static inline const ::PROTOBUF_NAMESPACE_ID::Descriptor * mediapipe::Classification::descriptor () 

function internal_default_instance

static inline const Classification * mediapipe::Classification::internal_default_instance () 

Protected Functions Documentation

function Classification [5/5]

explicit mediapipe::Classification::Classification (
    ::PROTOBUF_NAMESPACE_ID::Arena * arena,
    bool is_message_owned=false
) 

Friends Documentation

friend InternalHelper

template<typename T>
class mediapipe::Classification::InternalHelper (
    ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
) 

friend AnyMetadata

class mediapipe::Classification::AnyMetadata (
    ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
) 

friend TableStruct_mediapipe_2fframework_2fformats_2fclassification_2eproto

struct mediapipe::Classification::TableStruct_mediapipe_2fframework_2fformats_2fclassification_2eproto (
    ::TableStruct_mediapipe_2fframework_2fformats_2fclassification_2eproto
) 

friend swap

inline void mediapipe::Classification::swap (
    Classification & a,
    Classification & b
) 


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/build/mediapipe/framework/formats/classification.pb.h