#include <DataContext.hpp>
This struct exposes the raw data of a DataContext instance that toString() need in order to format it. This struct lifetime depends on that of the source DataContext. The DataContext is considered constant.
Definition at line 83 of file DataContext.hpp.
◆ ToStringInfo() [1/2]
Construct a new ToStringInfo object from a DataContext that has input file info.
- Parameters
-
targetName | the target name |
filePath | the input file path where the target is declared. |
line | the line in the file where the target is declared. |
◆ ToStringInfo() [2/2]
geos::dataRepository::DataContext::ToStringInfo::ToStringInfo |
( |
string_view |
targetName | ) |
|
Construct a new ToStringInfo object from a DataContext that has no input file info.
- Parameters
-
targetName | the target name. |
◆ hasInputFileInfo()
bool geos::dataRepository::DataContext::ToStringInfo::hasInputFileInfo |
( |
| ) |
const |
|
inline |
- Returns
- true if a location has been found to declare the target in an input file.
Definition at line 107 of file DataContext.hpp.
The documentation for this struct was generated from the following file: