Scarab  v2.11.1
Project 8 C++ Utility Library
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
TranslationUnitSaveError Class Reference
Inheritance diagram for TranslationUnitSaveError:
Inheritance graph

Public Member Functions

def __init__ (self, enumeration, message)
 

Public Attributes

 save_error
 

Static Public Attributes

int ERROR_UNKNOWN = 1
 
int ERROR_TRANSLATION_ERRORS = 2
 
int ERROR_INVALID_TU = 3
 

Detailed Description

Represents an error that occurred when saving a TranslationUnit.

Each error has associated with it an enumerated value, accessible under
e.save_error. Consumers can compare the value with one of the ERROR_
constants in this class.

Definition at line 90 of file cindex.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  enumeration,
  message 
)

Definition at line 109 of file cindex.py.

Member Data Documentation

◆ ERROR_INVALID_TU

int ERROR_INVALID_TU = 3
static

Definition at line 107 of file cindex.py.

◆ ERROR_TRANSLATION_ERRORS

int ERROR_TRANSLATION_ERRORS = 2
static

Definition at line 104 of file cindex.py.

◆ ERROR_UNKNOWN

int ERROR_UNKNOWN = 1
static

Definition at line 100 of file cindex.py.

◆ save_error

save_error

Definition at line 117 of file cindex.py.


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