Public Types | Public Member Functions | Private Member Functions | List of all members
google::protobuf::DescriptorPool::ErrorCollector Class Referenceabstract

#include <descriptor.h>

Inheritance diagram for google::protobuf::DescriptorPool::ErrorCollector:
Inheritance graph
[legend]

Public Types

enum  ErrorLocation {
  NAME, NUMBER, TYPE, EXTENDEE,
  DEFAULT_VALUE, INPUT_TYPE, OUTPUT_TYPE, OPTION_NAME,
  OPTION_VALUE, IMPORT, OTHER
}
 

Public Member Functions

virtual void AddError (const std::string &filename, const std::string &element_name, const Message *descriptor, ErrorLocation location, const std::string &message)=0
 
virtual void AddWarning (const std::string &, const std::string &, const Message *, ErrorLocation, const std::string &)
 
 ErrorCollector ()
 
virtual ~ErrorCollector ()
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ErrorCollector)
 

Detailed Description

Definition at line 1630 of file src/google/protobuf/descriptor.h.

Member Enumeration Documentation

◆ ErrorLocation

enum google::protobuf::DescriptorPool::ErrorCollector::ErrorLocation
Enumerator
NAME 
NUMBER 
TYPE 
EXTENDEE 
DEFAULT_VALUE 
INPUT_TYPE 
OUTPUT_TYPE 
OPTION_NAME 
OPTION_VALUE 
IMPORT 
OTHER 

Definition at line 1638 of file src/google/protobuf/descriptor.h.

Constructor & Destructor Documentation

◆ ErrorCollector()

google::protobuf::DescriptorPool::ErrorCollector::ErrorCollector ( )
inline

Definition at line 1632 of file src/google/protobuf/descriptor.h.

◆ ~ErrorCollector()

google::protobuf::DescriptorPool::ErrorCollector::~ErrorCollector ( )
virtual

Definition at line 1258 of file src/google/protobuf/descriptor.cc.

Member Function Documentation

◆ AddError()

virtual void google::protobuf::DescriptorPool::ErrorCollector::AddError ( const std::string filename,
const std::string element_name,
const Message descriptor,
ErrorLocation  location,
const std::string message 
)
pure virtual

◆ AddWarning()

virtual void google::protobuf::DescriptorPool::ErrorCollector::AddWarning ( const std::string ,
const std::string ,
const Message ,
ErrorLocation  ,
const std::string  
)
inlinevirtual

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

google::protobuf::DescriptorPool::ErrorCollector::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ErrorCollector  )
private

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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:08