Documentation for microsoft::quantum::ILogger::Location
Class that holds the location of where the incident happened.
microsoft::quantum::ILogger::Location
Class that holds the location of where the incident happened.
#include <Logging/ILogger.hpp>
Inherits from microsoft::quantum::SourceLocation
Public Functions
Name | |
---|---|
Location() =default | |
Location(SourceLocation const & source) | |
Location(String v_name, int64_t v_line, int64_t v_column, String llvm_hint ="", String frontend_hint ="") | |
Location(Location const & source) =default | |
Location & | operator=(Location const & source) =default |
String & | llvmHint() |
String const & | llvmHint() const |
void | setLlvmHint(String const & v) |
String & | frontendHint() |
String const & | frontendHint() const |
void | setFrontendHint(String const & v) |
Additional inherited members
Public Types inherited from microsoft::quantum::SourceLocation
Name | |
---|---|
enum | @0 { InvalidPosition} |
using llvm::StringRef | StringRef |
Public Functions inherited from microsoft::quantum::SourceLocation
Name | |
---|---|
SourceLocation() =default | |
SourceLocation(String v_name, int64_t v_line, int64_t v_column) | |
operator bool() const | |
String & | name() |
String const & | name() const |
void | setName(String const & name) |
int64_t & | line() |
int64_t const & | line() const |
void | setLine(int64_t line) |
int64_t & | column() |
int64_t const & | column() const |
void | setColumn(int64_t column) |
SourceLocation | invalidPosition() |
Public Functions Documentation
function Location
Location() =default
function Location
inline explicit Location(
SourceLocation const & source
)
function Location
inline Location(
String v_name,
int64_t v_line,
int64_t v_column,
String llvm_hint ="",
String frontend_hint =""
)
function Location
Location(
Location const & source
) =default
function operator=
Location & operator=(
Location const & source
) =default
function llvmHint
inline String & llvmHint()
function llvmHint
inline String const & llvmHint() const
function setLlvmHint
inline void setLlvmHint(
String const & v
)
function frontendHint
inline String & frontendHint()
function frontendHint
inline String const & frontendHint() const
function setFrontendHint
inline void setFrontendHint(
String const & v
)
Updated on 1 August 2023 at 16:25:10 UTC