C++ Reference

C++ Reference: Graph

Node

Detailed Description

Definition at line 287 of file flow_problem.pb.h.

Public Types

enum  : int { kIdFieldNumber = 1, kSupplyFieldNumber = 2 }
 

Public Member Functions

 Node ()
 
virtual ~Node ()
 
 Node (const Node &from)
 
 Node (Node &&from) noexcept
 
Nodeoperator= (const Node &from)
 
Nodeoperator= (Node &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
 
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (Node *other)
 
NodeNew () const final
 
NodeNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
 
void CopyFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final
 
void MergeFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final
 
void CopyFrom (const Node &from)
 
void MergeFrom (const Node &from)
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
bool IsInitialized () const final
 
size_t ByteSizeLong () const final
 
const char * _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
 
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize (::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
 
int GetCachedSize () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
bool has_id () const
 
void clear_id ()
 
::PROTOBUF_NAMESPACE_ID::int64 id () const
 
void set_id (::PROTOBUF_NAMESPACE_ID::int64 value)
 
bool has_supply () const
 
void clear_supply ()
 
::PROTOBUF_NAMESPACE_ID::int64 supply () const
 
void set_supply (::PROTOBUF_NAMESPACE_ID::int64 value)
 

Static Public Member Functions

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const Nodedefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const Nodeinternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kIdFieldNumber 
kSupplyFieldNumber 

Definition at line 399 of file flow_problem.pb.h.

Constructor & Destructor Documentation

◆ Node() [1/3]

Node ( )

◆ ~Node()

virtual ~Node ( )
virtual

◆ Node() [2/3]

Node ( const Node from)

◆ Node() [3/3]

Node ( Node &&  from)
inlinenoexcept

Definition at line 294 of file flow_problem.pb.h.

Member Function Documentation

◆ _InternalParse()

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

◆ _InternalSerialize()

::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize ( ::PROTOBUF_NAMESPACE_ID::uint8 *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ( )
final

◆ clear_id()

void clear_id ( )
inline

Definition at line 787 of file flow_problem.pb.h.

◆ clear_supply()

void clear_supply ( )
inline

Definition at line 815 of file flow_problem.pb.h.

◆ CopyFrom() [1/2]

void CopyFrom ( const ::PROTOBUF_NAMESPACE_ID::Message &  from)
final

◆ CopyFrom() [2/2]

void CopyFrom ( const Node from)

◆ default_instance()

static const Node& default_instance ( )
static

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor ( )
inlinestatic

Definition at line 319 of file flow_problem.pb.h.

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

Definition at line 366 of file flow_problem.pb.h.

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor ( )
inlinestatic

Definition at line 322 of file flow_problem.pb.h.

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata ( ) const
final

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection ( )
inlinestatic

Definition at line 325 of file flow_problem.pb.h.

◆ has_id()

bool has_id ( ) const
inline

Definition at line 784 of file flow_problem.pb.h.

◆ has_supply()

bool has_supply ( ) const
inline

Definition at line 812 of file flow_problem.pb.h.

◆ id()

PROTOBUF_NAMESPACE_ID::int64 id ( ) const
inline

Definition at line 794 of file flow_problem.pb.h.

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const Node* internal_default_instance ( )
inlinestatic

Definition at line 331 of file flow_problem.pb.h.

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom() [1/2]

void MergeFrom ( const ::PROTOBUF_NAMESPACE_ID::Message &  from)
final

◆ MergeFrom() [2/2]

void MergeFrom ( const Node from)

◆ mutable_unknown_fields()

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

Definition at line 315 of file flow_problem.pb.h.

◆ New() [1/2]

Node* New ( ) const
inlinefinal

Definition at line 348 of file flow_problem.pb.h.

◆ New() [2/2]

Node* New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena) const
inlinefinal

Definition at line 352 of file flow_problem.pb.h.

◆ operator=() [1/2]

Node& operator= ( const Node from)
inline

Definition at line 299 of file flow_problem.pb.h.

◆ operator=() [2/2]

Node& operator= ( Node &&  from)
inlinenoexcept

Definition at line 303 of file flow_problem.pb.h.

◆ set_id()

void set_id ( ::PROTOBUF_NAMESPACE_ID::int64  value)
inline

Definition at line 802 of file flow_problem.pb.h.

◆ set_supply()

void set_supply ( ::PROTOBUF_NAMESPACE_ID::int64  value)
inline

Definition at line 830 of file flow_problem.pb.h.

◆ supply()

PROTOBUF_NAMESPACE_ID::int64 supply ( ) const
inline

Definition at line 822 of file flow_problem.pb.h.

◆ Swap()

void Swap ( Node other)
inline

Definition at line 341 of file flow_problem.pb.h.

◆ unknown_fields()

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

Definition at line 312 of file flow_problem.pb.h.

Member Data Documentation

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
1

Definition at line 335 of file flow_problem.pb.h.


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