Goby3  3.1.4
2024.02.22
goby::middleware::protobuf::IOError Class Reference

#include <goby/middleware/protobuf/io.pb.h>

Inheritance diagram for goby::middleware::protobuf::IOError:
google::protobuf::Message google::protobuf::MessageLite

Public Types

typedef IOError_ErrorCode ErrorCode
 
- Public Types inherited from google::protobuf::Message
typedef google::protobuf::Reflection Reflection
 

Public Member Functions

 IOError ()
 
virtual ~IOError ()
 
 IOError (const IOError &from)
 
IOErroroperator= (const IOError &from)
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (IOError *other)
 
IOErrorNew () const final
 
IOErrorNew (::google::protobuf::Arena *arena) const final
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void MergeFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const IOError &from)
 
void MergeFrom (const IOError &from)
 
void Clear () final
 
bool IsInitialized () const final
 
size_t ByteSizeLong () const final
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *target) const final
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool has_text () const
 
void clear_text ()
 
const ::std::string & text () const
 
void set_text (const ::std::string &value)
 
void set_text (const char *value)
 
void set_text (const char *value, size_t size)
 
::std::string * mutable_text ()
 
::std::string * release_text ()
 
void set_allocated_text (::std::string *text)
 
bool has_code () const
 
void clear_code ()
 
::goby::middleware::protobuf::IOError_ErrorCode code () const
 
void set_code (::goby::middleware::protobuf::IOError_ErrorCode value)
 
- Public Member Functions inherited from google::protobuf::Message
 Message ()
 
virtual ~Message ()
 
virtual void CopyFrom (const Message &from)
 
virtual void MergeFrom (const Message &from)
 
void CheckInitialized () const
 
void FindInitializationErrors (std::vector< string > *errors) const
 
string InitializationErrorString () const
 
virtual void DiscardUnknownFields ()
 
virtual size_t SpaceUsedLong () const
 
int SpaceUsed () const
 
string DebugString () const
 
string ShortDebugString () const
 
string Utf8DebugString () const
 
void PrintDebugString () const
 
bool ParseFromFileDescriptor (int file_descriptor)
 
bool ParsePartialFromFileDescriptor (int file_descriptor)
 
bool ParseFromIstream (std::istream *input)
 
bool ParsePartialFromIstream (std::istream *input)
 
bool SerializeToFileDescriptor (int file_descriptor) const
 
bool SerializePartialToFileDescriptor (int file_descriptor) const
 
bool SerializeToOstream (std::ostream *output) const
 
bool SerializePartialToOstream (std::ostream *output) const
 
virtual string GetTypeName () const
 
virtual void CheckTypeAndMergeFrom (const MessageLite &other)
 
virtual bool MergePartialFromCodedStream (io::CodedInputStream *input)
 
virtual void SerializeWithCachedSizes (io::CodedOutputStream *output) const
 
const Descriptor * GetDescriptor () const
 
virtual const ReflectionGetReflection () const final
 
- Public Member Functions inherited from google::protobuf::MessageLite
 MessageLite ()
 
virtual ~MessageLite ()
 
virtual ::google::protobuf::ArenaGetArena () const
 
virtual void * GetMaybeArenaPointer () const
 
bool ParseFromCodedStream (io::CodedInputStream *input)
 
bool ParsePartialFromCodedStream (io::CodedInputStream *input)
 
bool ParseFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParsePartialFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParseFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParsePartialFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParseFromString (const string &data)
 
bool ParsePartialFromString (const string &data)
 
bool ParseFromArray (const void *data, int size)
 
bool ParsePartialFromArray (const void *data, int size)
 
bool MergeFromCodedStream (io::CodedInputStream *input)
 
bool SerializeToCodedStream (io::CodedOutputStream *output) const
 
bool SerializePartialToCodedStream (io::CodedOutputStream *output) const
 
bool SerializeToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializePartialToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializeToString (string *output) const
 
bool SerializePartialToString (string *output) const
 
bool SerializeToArray (void *data, int size) const
 
bool SerializePartialToArray (void *data, int size) const
 
string SerializeAsString () const
 
string SerializePartialAsString () const
 
bool AppendToString (string *output) const
 
bool AppendPartialToString (string *output) const
 
int ByteSize () const
 
virtual uint8 * SerializeWithCachedSizesToArray (uint8 *target) const
 
virtual uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, uint8 *target) const
 

Static Public Member Functions

static const ::google::protobuf::Descriptor * descriptor ()
 
static const IOErrordefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const IOErrorinternal_default_instance ()
 
static bool ErrorCode_IsValid (int value)
 
static const ::google::protobuf::EnumDescriptor * ErrorCode_descriptor ()
 
static const ::std::string & ErrorCode_Name (ErrorCode value)
 
static bool ErrorCode_Parse (const ::std::string &name, ErrorCode *value)
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const ErrorCode IO__INIT_FAILURE
 
static const ErrorCode IO__READ_FAILURE
 
static const ErrorCode IO__WRITE_FAILURE
 
static const ErrorCode IO__DATA_TIMEOUT
 
static const ErrorCode ErrorCode_MIN
 
static const ErrorCode ErrorCode_MAX
 
static const int ErrorCode_ARRAYSIZE
 
static const int kTextFieldNumber = 2
 
static const int kCodeFieldNumber = 1
 

Friends

struct ::protobuf_goby_2fmiddleware_2fprotobuf_2fio_2eproto::TableStruct
 
void swap (IOError &a, IOError &b)
 

Additional Inherited Members

- Static Protected Member Functions inherited from google::protobuf::MessageLite
template<typename T >
::google::protobuf::internal::RepeatedPtrFieldBase * CastToBase (::google::protobuf::RepeatedPtrField< T > *repeated)
 
template<typename T >
static const ::google::protobuf::internal::RepeatedPtrFieldBase & CastToBase (const ::google::protobuf::RepeatedPtrField< T > &repeated)
 
template<typename T >
static T * CreateMaybeMessage (Arena *arena)
 

Detailed Description

Definition at line 1367 of file io.pb.h.

Member Typedef Documentation

◆ ErrorCode

Constructor & Destructor Documentation

◆ IOError() [1/2]

goby::middleware::protobuf::IOError::IOError ( )

◆ ~IOError()

virtual goby::middleware::protobuf::IOError::~IOError ( )
virtual

◆ IOError() [2/2]

goby::middleware::protobuf::IOError::IOError ( const IOError from)

Member Function Documentation

◆ ByteSizeLong()

size_t goby::middleware::protobuf::IOError::ByteSizeLong ( ) const
finalvirtual

Reimplemented from google::protobuf::Message.

◆ Clear()

void goby::middleware::protobuf::IOError::Clear ( )
finalvirtual

Reimplemented from google::protobuf::Message.

◆ clear_code()

void goby::middleware::protobuf::IOError::clear_code ( )
inline

Definition at line 2678 of file io.pb.h.

◆ clear_text()

void goby::middleware::protobuf::IOError::clear_text ( )
inline

Definition at line 2703 of file io.pb.h.

◆ code()

goby::middleware::protobuf::IOError_ErrorCode goby::middleware::protobuf::IOError::code ( ) const
inline

Definition at line 2682 of file io.pb.h.

◆ CopyFrom() [1/2]

void goby::middleware::protobuf::IOError::CopyFrom ( const ::google::protobuf::Message from)
final

◆ CopyFrom() [2/2]

void goby::middleware::protobuf::IOError::CopyFrom ( const IOError from)

◆ default_instance()

static const IOError& goby::middleware::protobuf::IOError::default_instance ( )
static

◆ descriptor()

static const ::google::protobuf::Descriptor* goby::middleware::protobuf::IOError::descriptor ( )
static

◆ ErrorCode_descriptor()

static const ::google::protobuf::EnumDescriptor* goby::middleware::protobuf::IOError::ErrorCode_descriptor ( )
inlinestatic

Definition at line 1478 of file io.pb.h.

◆ ErrorCode_IsValid()

static bool goby::middleware::protobuf::IOError::ErrorCode_IsValid ( int  value)
inlinestatic

Definition at line 1468 of file io.pb.h.

◆ ErrorCode_Name()

static const ::std::string& goby::middleware::protobuf::IOError::ErrorCode_Name ( ErrorCode  value)
inlinestatic

Definition at line 1481 of file io.pb.h.

◆ ErrorCode_Parse()

static bool goby::middleware::protobuf::IOError::ErrorCode_Parse ( const ::std::string &  name,
ErrorCode value 
)
inlinestatic

Definition at line 1484 of file io.pb.h.

◆ GetCachedSize()

int goby::middleware::protobuf::IOError::GetCachedSize ( ) const
inlinefinalvirtual

Implements google::protobuf::MessageLite.

Definition at line 1439 of file io.pb.h.

◆ GetMetadata()

::google::protobuf::Metadata goby::middleware::protobuf::IOError::GetMetadata ( ) const
finalvirtual

◆ has_code()

bool goby::middleware::protobuf::IOError::has_code ( ) const
inline

Definition at line 2669 of file io.pb.h.

◆ has_text()

bool goby::middleware::protobuf::IOError::has_text ( ) const
inline

Definition at line 2694 of file io.pb.h.

◆ InitAsDefaultInstance()

static void goby::middleware::protobuf::IOError::InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const IOError* goby::middleware::protobuf::IOError::internal_default_instance ( )
inlinestatic

Definition at line 1404 of file io.pb.h.

◆ InternalSerializeWithCachedSizesToArray()

::google::protobuf::uint8* goby::middleware::protobuf::IOError::InternalSerializeWithCachedSizesToArray ( bool  deterministic,
::google::protobuf::uint8 *  target 
) const
final

◆ IsInitialized()

bool goby::middleware::protobuf::IOError::IsInitialized ( ) const
finalvirtual

Reimplemented from google::protobuf::Message.

◆ MergeFrom() [1/2]

void goby::middleware::protobuf::IOError::MergeFrom ( const ::google::protobuf::Message from)
final

◆ MergeFrom() [2/2]

void goby::middleware::protobuf::IOError::MergeFrom ( const IOError from)

◆ MergePartialFromCodedStream()

bool goby::middleware::protobuf::IOError::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)
final

◆ mutable_text()

std::string * goby::middleware::protobuf::IOError::mutable_text ( )
inline

Definition at line 2736 of file io.pb.h.

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet* goby::middleware::protobuf::IOError::mutable_unknown_fields ( )
inline

Definition at line 1396 of file io.pb.h.

◆ New() [1/2]

IOError* goby::middleware::protobuf::IOError::New ( ) const
inlinefinalvirtual

Implements google::protobuf::Message.

Definition at line 1418 of file io.pb.h.

◆ New() [2/2]

IOError* goby::middleware::protobuf::IOError::New ( ::google::protobuf::Arena arena) const
inlinefinalvirtual

Reimplemented from google::protobuf::Message.

Definition at line 1422 of file io.pb.h.

◆ operator=()

IOError& goby::middleware::protobuf::IOError::operator= ( const IOError from)
inline

Definition at line 1374 of file io.pb.h.

◆ release_text()

std::string * goby::middleware::protobuf::IOError::release_text ( )
inline

Definition at line 2741 of file io.pb.h.

◆ SerializeWithCachedSizes()

void goby::middleware::protobuf::IOError::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const
final

◆ set_allocated_text()

void goby::middleware::protobuf::IOError::set_allocated_text ( ::std::string *  text)
inline

Definition at line 2749 of file io.pb.h.

◆ set_code()

void goby::middleware::protobuf::IOError::set_code ( ::goby::middleware::protobuf::IOError_ErrorCode  value)
inline

Definition at line 2686 of file io.pb.h.

◆ set_text() [1/3]

void goby::middleware::protobuf::IOError::set_text ( const ::std::string &  value)
inline

Definition at line 2711 of file io.pb.h.

◆ set_text() [2/3]

void goby::middleware::protobuf::IOError::set_text ( const char value)
inline

Definition at line 2724 of file io.pb.h.

◆ set_text() [3/3]

void goby::middleware::protobuf::IOError::set_text ( const char value,
size_t  size 
)
inline

Definition at line 2730 of file io.pb.h.

◆ Swap()

void goby::middleware::protobuf::IOError::Swap ( IOError other)

◆ text()

const ::std::string & goby::middleware::protobuf::IOError::text ( ) const
inline

Definition at line 2707 of file io.pb.h.

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet& goby::middleware::protobuf::IOError::unknown_fields ( ) const
inline

Definition at line 1393 of file io.pb.h.

Friends And Related Function Documentation

◆ ::protobuf_goby_2fmiddleware_2fprotobuf_2fio_2eproto::TableStruct

◆ swap

void swap ( IOError a,
IOError b 
)
friend

Definition at line 1412 of file io.pb.h.

Member Data Documentation

◆ ErrorCode_ARRAYSIZE

const int goby::middleware::protobuf::IOError::ErrorCode_ARRAYSIZE
static
Initial value:

Definition at line 1475 of file io.pb.h.

◆ ErrorCode_MAX

const ErrorCode goby::middleware::protobuf::IOError::ErrorCode_MAX
static
Initial value:

Definition at line 1473 of file io.pb.h.

◆ ErrorCode_MIN

const ErrorCode goby::middleware::protobuf::IOError::ErrorCode_MIN
static
Initial value:

Definition at line 1471 of file io.pb.h.

◆ IO__DATA_TIMEOUT

const ErrorCode goby::middleware::protobuf::IOError::IO__DATA_TIMEOUT
static
Initial value:

Definition at line 1466 of file io.pb.h.

◆ IO__INIT_FAILURE

const ErrorCode goby::middleware::protobuf::IOError::IO__INIT_FAILURE
static
Initial value:

Definition at line 1460 of file io.pb.h.

◆ IO__READ_FAILURE

const ErrorCode goby::middleware::protobuf::IOError::IO__READ_FAILURE
static
Initial value:

Definition at line 1462 of file io.pb.h.

◆ IO__WRITE_FAILURE

const ErrorCode goby::middleware::protobuf::IOError::IO__WRITE_FAILURE
static
Initial value:

Definition at line 1464 of file io.pb.h.

◆ kCodeFieldNumber

const int goby::middleware::protobuf::IOError::kCodeFieldNumber = 1
static

Definition at line 1509 of file io.pb.h.

◆ kIndexInFileMessages

constexpr int goby::middleware::protobuf::IOError::kIndexInFileMessages
staticconstexpr
Initial value:
=
7

Definition at line 1408 of file io.pb.h.

◆ kTextFieldNumber

const int goby::middleware::protobuf::IOError::kTextFieldNumber = 2
static

Definition at line 1494 of file io.pb.h.


The documentation for this class was generated from the following file:
goby::middleware::protobuf::IOError_ErrorCode_IO__READ_FAILURE
@ IOError_ErrorCode_IO__READ_FAILURE
Definition: io.pb.h:168
goby::middleware::protobuf::IOError_ErrorCode_IO__WRITE_FAILURE
@ IOError_ErrorCode_IO__WRITE_FAILURE
Definition: io.pb.h:169
goby::middleware::protobuf::IOError_ErrorCode_ErrorCode_MIN
const IOError_ErrorCode IOError_ErrorCode_ErrorCode_MIN
Definition: io.pb.h:173
goby::middleware::protobuf::IOError_ErrorCode_IO__DATA_TIMEOUT
@ IOError_ErrorCode_IO__DATA_TIMEOUT
Definition: io.pb.h:170
goby::middleware::protobuf::IOError_ErrorCode_ErrorCode_ARRAYSIZE
const int IOError_ErrorCode_ErrorCode_ARRAYSIZE
Definition: io.pb.h:175
goby::middleware::protobuf::IOError_ErrorCode_ErrorCode_MAX
const IOError_ErrorCode IOError_ErrorCode_ErrorCode_MAX
Definition: io.pb.h:174
goby::middleware::protobuf::IOError_ErrorCode_IO__INIT_FAILURE
@ IOError_ErrorCode_IO__INIT_FAILURE
Definition: io.pb.h:167