|
GEOS
|
#include <DataContext.hpp>

Classes | |
| struct | ToStringInfo |
Public Member Functions | |
| DataContext (string_view targetName) | |
| Construct a new DataContext object. More... | |
| virtual | ~DataContext () |
| Destroy the DataContext object. | |
| virtual string | toString () const =0 |
| virtual ErrorLogger::ErrorContext | getContextInfo () const =0 |
| Returns contextual information, including the file name and the line number. More... | |
| operator ErrorLogger::ErrorContext () const | |
| Conversion operator to ErrorLogger::ErrorContext. More... | |
| string | getTargetName () const |
Protected Member Functions | |
| virtual ToStringInfo | getToStringInfo () const =0 |
| This method exposes the raw data of a DataContext, in order to access and format it (notably in toString() implementations that need to access other DataContext instances). More... | |
Protected Attributes | |
| string const | m_targetName |
Friends | |
| class | GroupContext |
| class | WrapperContext |
| std::ostream & | operator<< (std::ostream &os, const DataContext &ctx) |
| Insert contextual information in the provided stream. | |
DataContext is an abstract class storing contextual information on an object:
Definition at line 43 of file DataContext.hpp.
| geos::dataRepository::DataContext::DataContext | ( | string_view | targetName | ) |
Construct a new DataContext object.
| targetName | the target object name |
|
pure virtual |
Returns contextual information, including the file name and the line number.
Implemented in geos::dataRepository::DataFileContext.
|
inline |
Definition at line 81 of file DataContext.hpp.
|
protectedpure virtual |
This method exposes the raw data of a DataContext, in order to access and format it (notably in toString() implementations that need to access other DataContext instances).
|
inlineexplicit |
Conversion operator to ErrorLogger::ErrorContext.
Definition at line 74 of file DataContext.hpp.
|
pure virtual |
Implemented in geos::dataRepository::DataFileContext.
|
protected |
Definition at line 94 of file DataContext.hpp.