TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
google::protobuf::DescriptorPool::ErrorCollector Class Referenceabstract

#include <descriptor.h>

Public Types

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

Public Member Functions

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

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ErrorCollector)
 

Member Enumeration Documentation

Enumerator
NAME 
NUMBER 
TYPE 
EXTENDEE 
DEFAULT_VALUE 
INPUT_TYPE 
OUTPUT_TYPE 
OPTION_NAME 
OPTION_VALUE 
OTHER 
1257  {
1258  NAME, // the symbol name, or the package name for files
1259  NUMBER, // field or extension range number
1260  TYPE, // field type
1261  EXTENDEE, // field extendee
1262  DEFAULT_VALUE, // field default value
1263  INPUT_TYPE, // method input type
1264  OUTPUT_TYPE, // method output type
1265  OPTION_NAME, // name in assignment
1266  OPTION_VALUE, // value in option assignment
1267  OTHER // some other problem
1268  };

Constructor & Destructor Documentation

google::protobuf::DescriptorPool::ErrorCollector::ErrorCollector ( )
inline
1251 {}
virtual google::protobuf::DescriptorPool::ErrorCollector::~ErrorCollector ( )
virtual

Member Function Documentation

virtual void google::protobuf::DescriptorPool::ErrorCollector::AddError ( const string &  filename,
const string &  element_name,
const Message descriptor,
ErrorLocation  location,
const string &  message 
)
pure virtual
virtual void google::protobuf::DescriptorPool::ErrorCollector::AddWarning ( const string &  ,
const string &  ,
const Message ,
ErrorLocation  ,
const string &   
)
inlinevirtual
1288  {}
google::protobuf::DescriptorPool::ErrorCollector::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ErrorCollector  )
private

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