#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 82 of file DataContext.hpp.
◆ ToStringInfo() [1/2]
geos::dataRepository::DataContext::ToStringInfo::ToStringInfo |
( |
string const & |
targetName, |
|
|
string const & |
filePath, |
|
|
size_t |
line |
|
) |
| |
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 const & |
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 106 of file DataContext.hpp.
The documentation for this struct was generated from the following file: