Darknet/YOLO v5.0-117-g31c55275-dirty
Object Detection Framework
 
Loading...
Searching...
No Matches
onnx::DeviceConfigurationProto Class Referencefinal

#include "onnx.proto3.pb.h"

Inheritance diagram for onnx::DeviceConfigurationProto:
Collaboration diagram for onnx::DeviceConfigurationProto:

Classes

class  _Internal
 
struct  Impl_
 

Public Types

enum  : int {
  kDeviceFieldNumber = 3 ,
  kNameFieldNumber = 1 ,
  kNumDevicesFieldNumber = 2
}
 

Public Member Functions

 DeviceConfigurationProto ()
 
PROTOBUF_CONSTEXPR DeviceConfigurationProto (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 DeviceConfigurationProto (const DeviceConfigurationProto &from)
 
 DeviceConfigurationProto (DeviceConfigurationProto &&from) noexcept
 
 ~DeviceConfigurationProto () override
 
const char * _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
 
uint8_t * _InternalSerialize (uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
 
std::string * add_device ()
 
void add_device (const char *value)
 
void add_device (const char *value, size_t size)
 
void add_device (const std::string &value)
 
void add_device (std::string &&value)
 
size_t ByteSizeLong () const final
 
void CheckTypeAndMergeFrom (const ::PROTOBUF_NAMESPACE_ID::MessageLite &from) final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_device ()
 
void clear_name ()
 
void clear_num_devices ()
 
void CopyFrom (const DeviceConfigurationProto &from)
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & device () const
 
const std::string & device (int index) const
 
int device_size () const
 
int GetCachedSize () const final
 
std::string GetTypeName () const final
 
bool IsInitialized () const final
 
void MergeFrom (const DeviceConfigurationProto &from)
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_device ()
 
std::string * mutable_device (int index)
 
std::string * mutable_name ()
 
const std::string & name () const
 
DeviceConfigurationProtoNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
int32_t num_devices () const
 
DeviceConfigurationProtooperator= (const DeviceConfigurationProto &from)
 
DeviceConfigurationProtooperator= (DeviceConfigurationProto &&from) noexcept
 
PROTOBUF_NODISCARD std::string * release_name ()
 
void set_allocated_name (std::string *name)
 
void set_device (int index, const char *value)
 
void set_device (int index, const char *value, size_t size)
 
void set_device (int index, const std::string &value)
 
void set_device (int index, std::string &&value)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_name (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_name (ArgT0 &&arg0, ArgT... args)
 
void set_num_devices (int32_t value)
 
void Swap (DeviceConfigurationProto *other)
 
void UnsafeArenaSwap (DeviceConfigurationProto *other)
 

Static Public Member Functions

static const DeviceConfigurationProtodefault_instance ()
 
static const DeviceConfigurationProtointernal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 

Protected Member Functions

 DeviceConfigurationProto (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
 

Private Types

typedef void DestructorSkippable_
 
typedef void InternalArenaConstructable_
 

Private Member Functions

std::string * _internal_add_device ()
 
const std::string & _internal_device (int index) const
 
int _internal_device_size () const
 
std::string * _internal_mutable_name ()
 
const std::string & _internal_name () const
 
int32_t _internal_num_devices () const
 
PROTOBUF_ALWAYS_INLINE void _internal_set_name (const std::string &value)
 
void _internal_set_num_devices (int32_t value)
 
void InternalSwap (DeviceConfigurationProto *other)
 
void SetCachedSize (int size) const
 
void SharedCtor (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned)
 
void SharedDtor ()
 

Static Private Member Functions

::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName ()
 

Private Attributes

union { 
 
   Impl_   _impl_ 
 
};  
 

Friends

template<typename T >
class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
 
class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
 
struct ::TableStruct_onnx_2eproto3
 
void swap (DeviceConfigurationProto &a, DeviceConfigurationProto &b)
 

Member Typedef Documentation

◆ DestructorSkippable_

◆ InternalArenaConstructable_

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kDeviceFieldNumber 
kNameFieldNumber 
kNumDevicesFieldNumber 

Constructor & Destructor Documentation

◆ DeviceConfigurationProto() [1/5]

onnx::DeviceConfigurationProto::DeviceConfigurationProto ( )
inline

◆ ~DeviceConfigurationProto()

onnx::DeviceConfigurationProto::~DeviceConfigurationProto ( )
override
Here is the call graph for this function:

◆ DeviceConfigurationProto() [2/5]

PROTOBUF_CONSTEXPR onnx::DeviceConfigurationProto::DeviceConfigurationProto ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized  )
explicit

◆ DeviceConfigurationProto() [3/5]

onnx::DeviceConfigurationProto::DeviceConfigurationProto ( const DeviceConfigurationProto from)
Here is the call graph for this function:

◆ DeviceConfigurationProto() [4/5]

onnx::DeviceConfigurationProto::DeviceConfigurationProto ( DeviceConfigurationProto &&  from)
inlinenoexcept

◆ DeviceConfigurationProto() [5/5]

onnx::DeviceConfigurationProto::DeviceConfigurationProto ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned = false 
)
explicitprotected
Here is the call graph for this function:

Member Function Documentation

◆ _internal_add_device()

std::string * onnx::DeviceConfigurationProto::_internal_add_device ( )
inlineprivate
Here is the caller graph for this function:

◆ _internal_device()

const std::string & onnx::DeviceConfigurationProto::_internal_device ( int  index) const
inlineprivate
Here is the caller graph for this function:

◆ _internal_device_size()

int onnx::DeviceConfigurationProto::_internal_device_size ( ) const
inlineprivate
Here is the caller graph for this function:

◆ _internal_mutable_name()

std::string * onnx::DeviceConfigurationProto::_internal_mutable_name ( )
inlineprivate
Here is the caller graph for this function:

◆ _internal_name()

const std::string & onnx::DeviceConfigurationProto::_internal_name ( ) const
inlineprivate
Here is the caller graph for this function:

◆ _internal_num_devices()

int32_t onnx::DeviceConfigurationProto::_internal_num_devices ( ) const
inlineprivate
Here is the caller graph for this function:

◆ _internal_set_name()

void onnx::DeviceConfigurationProto::_internal_set_name ( const std::string &  value)
inlineprivate
Here is the caller graph for this function:

◆ _internal_set_num_devices()

void onnx::DeviceConfigurationProto::_internal_set_num_devices ( int32_t  value)
inlineprivate
Here is the caller graph for this function:

◆ _InternalParse()

const char * onnx::DeviceConfigurationProto::_InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final
Here is the call graph for this function:

◆ _InternalSerialize()

uint8_t * onnx::DeviceConfigurationProto::_InternalSerialize ( uint8_t *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final
Here is the call graph for this function:

◆ add_device() [1/5]

std::string * onnx::DeviceConfigurationProto::add_device ( )
inline

◆ add_device() [2/5]

void onnx::DeviceConfigurationProto::add_device ( const char *  value)
inline

◆ add_device() [3/5]

void onnx::DeviceConfigurationProto::add_device ( const char *  value,
size_t  size 
)
inline

◆ add_device() [4/5]

void onnx::DeviceConfigurationProto::add_device ( const std::string &  value)
inline

◆ add_device() [5/5]

void onnx::DeviceConfigurationProto::add_device ( std::string &&  value)
inline

◆ ByteSizeLong()

size_t onnx::DeviceConfigurationProto::ByteSizeLong ( ) const
final
Here is the call graph for this function:

◆ CheckTypeAndMergeFrom()

void onnx::DeviceConfigurationProto::CheckTypeAndMergeFrom ( const ::PROTOBUF_NAMESPACE_ID::MessageLite &  from)
final
Here is the call graph for this function:

◆ Clear()

void onnx::DeviceConfigurationProto::Clear ( )
final
Here is the caller graph for this function:

◆ clear_device()

void onnx::DeviceConfigurationProto::clear_device ( )
inline

◆ clear_name()

void onnx::DeviceConfigurationProto::clear_name ( )
inline

◆ clear_num_devices()

void onnx::DeviceConfigurationProto::clear_num_devices ( )
inline

◆ CopyFrom()

void onnx::DeviceConfigurationProto::CopyFrom ( const DeviceConfigurationProto from)
Here is the call graph for this function:

◆ default_instance()

static const DeviceConfigurationProto & onnx::DeviceConfigurationProto::default_instance ( )
inlinestatic

◆ device() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & onnx::DeviceConfigurationProto::device ( ) const
inline

◆ device() [2/2]

const std::string & onnx::DeviceConfigurationProto::device ( int  index) const
inline

◆ device_size()

int onnx::DeviceConfigurationProto::device_size ( ) const
inline

◆ FullMessageName()

::PROTOBUF_NAMESPACE_ID::StringPiece onnx::DeviceConfigurationProto::FullMessageName ( )
inlinestaticprivate

◆ GetCachedSize()

int onnx::DeviceConfigurationProto::GetCachedSize ( ) const
inlinefinal

◆ GetTypeName()

std::string onnx::DeviceConfigurationProto::GetTypeName ( ) const
final

◆ internal_default_instance()

static const DeviceConfigurationProto * onnx::DeviceConfigurationProto::internal_default_instance ( )
inlinestatic

◆ InternalSwap()

void onnx::DeviceConfigurationProto::InternalSwap ( DeviceConfigurationProto other)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsInitialized()

bool onnx::DeviceConfigurationProto::IsInitialized ( ) const
final

◆ MergeFrom()

void onnx::DeviceConfigurationProto::MergeFrom ( const DeviceConfigurationProto from)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mutable_device() [1/2]

PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * onnx::DeviceConfigurationProto::mutable_device ( )
inline

◆ mutable_device() [2/2]

std::string * onnx::DeviceConfigurationProto::mutable_device ( int  index)
inline

◆ mutable_name()

std::string * onnx::DeviceConfigurationProto::mutable_name ( )
inline

◆ name()

const std::string & onnx::DeviceConfigurationProto::name ( ) const
inline

◆ New()

DeviceConfigurationProto * onnx::DeviceConfigurationProto::New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena = nullptr) const
inlinefinal

◆ num_devices()

int32_t onnx::DeviceConfigurationProto::num_devices ( ) const
inline

◆ operator=() [1/2]

DeviceConfigurationProto & onnx::DeviceConfigurationProto::operator= ( const DeviceConfigurationProto from)
inline

◆ operator=() [2/2]

DeviceConfigurationProto & onnx::DeviceConfigurationProto::operator= ( DeviceConfigurationProto &&  from)
inlinenoexcept

◆ release_name()

std::string * onnx::DeviceConfigurationProto::release_name ( )
inline

◆ set_allocated_name()

void onnx::DeviceConfigurationProto::set_allocated_name ( std::string *  name)
inline

◆ set_device() [1/4]

void onnx::DeviceConfigurationProto::set_device ( int  index,
const char *  value 
)
inline

◆ set_device() [2/4]

void onnx::DeviceConfigurationProto::set_device ( int  index,
const char *  value,
size_t  size 
)
inline

◆ set_device() [3/4]

void onnx::DeviceConfigurationProto::set_device ( int  index,
const std::string &  value 
)
inline

◆ set_device() [4/4]

void onnx::DeviceConfigurationProto::set_device ( int  index,
std::string &&  value 
)
inline

◆ set_name() [1/2]

template<typename ArgT0 = const std::string&, typename... ArgT>
void onnx::DeviceConfigurationProto::set_name ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_name() [2/2]

template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void onnx::DeviceConfigurationProto::set_name ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

◆ set_num_devices()

void onnx::DeviceConfigurationProto::set_num_devices ( int32_t  value)
inline

◆ SetCachedSize()

void onnx::DeviceConfigurationProto::SetCachedSize ( int  size) const
private
Here is the caller graph for this function:

◆ SharedCtor()

void onnx::DeviceConfigurationProto::SharedCtor ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned 
)
inlineprivate
Here is the caller graph for this function:

◆ SharedDtor()

void onnx::DeviceConfigurationProto::SharedDtor ( )
inlineprivate
Here is the caller graph for this function:

◆ Swap()

void onnx::DeviceConfigurationProto::Swap ( DeviceConfigurationProto other)
inline

◆ UnsafeArenaSwap()

void onnx::DeviceConfigurationProto::UnsafeArenaSwap ( DeviceConfigurationProto other)
inline

Friends And Related Symbol Documentation

◆ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper

template<typename T >
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
friend

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
friend

◆ ::TableStruct_onnx_2eproto3

friend struct ::TableStruct_onnx_2eproto3
friend

◆ swap

void swap ( DeviceConfigurationProto a,
DeviceConfigurationProto b 
)
friend

Member Data Documentation

◆ [union]

◆ _impl_

Impl_ onnx::DeviceConfigurationProto::_impl_

◆ kIndexInFileMessages

constexpr int onnx::DeviceConfigurationProto::kIndexInFileMessages
staticconstexpr
Initial value:
=
10

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