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

#include "onnx.proto3.pb.h"

Inheritance diagram for onnx::TensorShapeProto_Dimension:
Collaboration diagram for onnx::TensorShapeProto_Dimension:

Classes

class  _Internal
 
struct  Impl_
 

Public Types

enum  : int {
  kDenotationFieldNumber = 3 ,
  kDimValueFieldNumber = 1 ,
  kDimParamFieldNumber = 2
}
 
enum  ValueCase {
  kDimValue = 1 ,
  kDimParam = 2 ,
  VALUE_NOT_SET = 0
}
 

Public Member Functions

 TensorShapeProto_Dimension ()
 
PROTOBUF_CONSTEXPR TensorShapeProto_Dimension (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 TensorShapeProto_Dimension (const TensorShapeProto_Dimension &from)
 
 TensorShapeProto_Dimension (TensorShapeProto_Dimension &&from) noexcept
 
 ~TensorShapeProto_Dimension () 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
 
size_t ByteSizeLong () const final
 
void CheckTypeAndMergeFrom (const ::PROTOBUF_NAMESPACE_ID::MessageLite &from) final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_denotation ()
 
void clear_dim_param ()
 
void clear_dim_value ()
 
void clear_value ()
 
void CopyFrom (const TensorShapeProto_Dimension &from)
 
const std::string & denotation () const
 
const std::string & dim_param () const
 
int64_t dim_value () const
 
int GetCachedSize () const final
 
std::string GetTypeName () const final
 
bool has_dim_param () const
 
bool has_dim_value () const
 
bool IsInitialized () const final
 
void MergeFrom (const TensorShapeProto_Dimension &from)
 
std::string * mutable_denotation ()
 
std::string * mutable_dim_param ()
 
TensorShapeProto_DimensionNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
TensorShapeProto_Dimensionoperator= (const TensorShapeProto_Dimension &from)
 
TensorShapeProto_Dimensionoperator= (TensorShapeProto_Dimension &&from) noexcept
 
PROTOBUF_NODISCARD std::string * release_denotation ()
 
PROTOBUF_NODISCARD std::string * release_dim_param ()
 
void set_allocated_denotation (std::string *denotation)
 
void set_allocated_dim_param (std::string *dim_param)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_denotation (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_denotation (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_dim_param (ArgT0 &&arg0, ArgT... args)
 
void set_dim_value (int64_t value)
 
void Swap (TensorShapeProto_Dimension *other)
 
void UnsafeArenaSwap (TensorShapeProto_Dimension *other)
 
ValueCase value_case () const
 

Static Public Member Functions

static const TensorShapeProto_Dimensiondefault_instance ()
 
static const TensorShapeProto_Dimensioninternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 

Protected Member Functions

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

Private Types

typedef void DestructorSkippable_
 
typedef void InternalArenaConstructable_
 

Private Member Functions

const std::string & _internal_denotation () const
 
const std::string & _internal_dim_param () const
 
int64_t _internal_dim_value () const
 
bool _internal_has_dim_param () const
 
bool _internal_has_dim_value () const
 
std::string * _internal_mutable_denotation ()
 
std::string * _internal_mutable_dim_param ()
 
PROTOBUF_ALWAYS_INLINE void _internal_set_denotation (const std::string &value)
 
PROTOBUF_ALWAYS_INLINE void _internal_set_dim_param (const std::string &value)
 
void _internal_set_dim_value (int64_t value)
 
void clear_has_value ()
 
bool has_value () const
 
void InternalSwap (TensorShapeProto_Dimension *other)
 
void set_has_dim_param ()
 
void set_has_dim_value ()
 
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 (TensorShapeProto_Dimension &a, TensorShapeProto_Dimension &b)
 

Member Typedef Documentation

◆ DestructorSkippable_

◆ InternalArenaConstructable_

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kDenotationFieldNumber 
kDimValueFieldNumber 
kDimParamFieldNumber 

◆ ValueCase

Enumerator
kDimValue 
kDimParam 
VALUE_NOT_SET 

Constructor & Destructor Documentation

◆ TensorShapeProto_Dimension() [1/5]

onnx::TensorShapeProto_Dimension::TensorShapeProto_Dimension ( )
inline

◆ ~TensorShapeProto_Dimension()

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

◆ TensorShapeProto_Dimension() [2/5]

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

◆ TensorShapeProto_Dimension() [3/5]

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

◆ TensorShapeProto_Dimension() [4/5]

onnx::TensorShapeProto_Dimension::TensorShapeProto_Dimension ( TensorShapeProto_Dimension &&  from)
inlinenoexcept

◆ TensorShapeProto_Dimension() [5/5]

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

Member Function Documentation

◆ _internal_denotation()

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

◆ _internal_dim_param()

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

◆ _internal_dim_value()

int64_t onnx::TensorShapeProto_Dimension::_internal_dim_value ( ) const
inlineprivate
Here is the caller graph for this function:

◆ _internal_has_dim_param()

bool onnx::TensorShapeProto_Dimension::_internal_has_dim_param ( ) const
inlineprivate
Here is the caller graph for this function:

◆ _internal_has_dim_value()

bool onnx::TensorShapeProto_Dimension::_internal_has_dim_value ( ) const
inlineprivate
Here is the caller graph for this function:

◆ _internal_mutable_denotation()

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

◆ _internal_mutable_dim_param()

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

◆ _internal_set_denotation()

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

◆ _internal_set_dim_param()

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

◆ _internal_set_dim_value()

void onnx::TensorShapeProto_Dimension::_internal_set_dim_value ( int64_t  value)
inlineprivate
Here is the caller graph for this function:

◆ _InternalParse()

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

◆ _InternalSerialize()

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

◆ ByteSizeLong()

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

◆ CheckTypeAndMergeFrom()

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

◆ Clear()

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

◆ clear_denotation()

void onnx::TensorShapeProto_Dimension::clear_denotation ( )
inline

◆ clear_dim_param()

void onnx::TensorShapeProto_Dimension::clear_dim_param ( )
inline

◆ clear_dim_value()

void onnx::TensorShapeProto_Dimension::clear_dim_value ( )
inline

◆ clear_has_value()

void onnx::TensorShapeProto_Dimension::clear_has_value ( )
inlineprivate
Here is the caller graph for this function:

◆ clear_value()

void onnx::TensorShapeProto_Dimension::clear_value ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CopyFrom()

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

◆ default_instance()

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

◆ denotation()

const std::string & onnx::TensorShapeProto_Dimension::denotation ( ) const
inline

◆ dim_param()

const std::string & onnx::TensorShapeProto_Dimension::dim_param ( ) const
inline

◆ dim_value()

int64_t onnx::TensorShapeProto_Dimension::dim_value ( ) const
inline

◆ FullMessageName()

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

◆ GetCachedSize()

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

◆ GetTypeName()

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

◆ has_dim_param()

bool onnx::TensorShapeProto_Dimension::has_dim_param ( ) const
inline

◆ has_dim_value()

bool onnx::TensorShapeProto_Dimension::has_dim_value ( ) const
inline

◆ has_value()

bool onnx::TensorShapeProto_Dimension::has_value ( ) const
inlineprivate
Here is the caller graph for this function:

◆ internal_default_instance()

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

◆ InternalSwap()

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

◆ IsInitialized()

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

◆ MergeFrom()

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

◆ mutable_denotation()

std::string * onnx::TensorShapeProto_Dimension::mutable_denotation ( )
inline

◆ mutable_dim_param()

std::string * onnx::TensorShapeProto_Dimension::mutable_dim_param ( )
inline

◆ New()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ release_denotation()

std::string * onnx::TensorShapeProto_Dimension::release_denotation ( )
inline

◆ release_dim_param()

std::string * onnx::TensorShapeProto_Dimension::release_dim_param ( )
inline

◆ set_allocated_denotation()

void onnx::TensorShapeProto_Dimension::set_allocated_denotation ( std::string *  denotation)
inline

◆ set_allocated_dim_param()

void onnx::TensorShapeProto_Dimension::set_allocated_dim_param ( std::string *  dim_param)
inline

◆ set_denotation() [1/2]

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

◆ set_denotation() [2/2]

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

◆ set_dim_param()

template<typename ArgT0 , typename... ArgT>
void onnx::TensorShapeProto_Dimension::set_dim_param ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

◆ set_dim_value()

void onnx::TensorShapeProto_Dimension::set_dim_value ( int64_t  value)
inline

◆ set_has_dim_param()

void onnx::TensorShapeProto_Dimension::set_has_dim_param ( )
inlineprivate

◆ set_has_dim_value()

void onnx::TensorShapeProto_Dimension::set_has_dim_value ( )
inlineprivate

◆ SetCachedSize()

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

◆ SharedCtor()

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

◆ SharedDtor()

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

◆ Swap()

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

◆ UnsafeArenaSwap()

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

◆ value_case()

TensorShapeProto_Dimension::ValueCase onnx::TensorShapeProto_Dimension::value_case ( ) const
inline
Here is the caller graph for this function:

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 ( TensorShapeProto_Dimension a,
TensorShapeProto_Dimension b 
)
friend

Member Data Documentation

◆ [union]

◆ _impl_

Impl_ onnx::TensorShapeProto_Dimension::_impl_

◆ kIndexInFileMessages

constexpr int onnx::TensorShapeProto_Dimension::kIndexInFileMessages
staticconstexpr
Initial value:
=
17

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