OR-Tools  9.3
SourceLocation

Detailed Description

Definition at line 39 of file source_location.h.

Public Member Functions

constexpr SourceLocation ()
 
constexpr std::uint_least32_t line () const
 
constexpr const char * file_name () const
 

Static Public Member Functions

static constexpr SourceLocation DoNotInvokeDirectly (std::uint_least32_t line, const char *file_name)
 
static constexpr SourceLocation current ()
 

Constructor & Destructor Documentation

◆ SourceLocation()

constexpr SourceLocation ( )
inlineconstexpr

Definition at line 48 of file source_location.h.

Member Function Documentation

◆ current()

static constexpr SourceLocation current ( )
inlinestaticconstexpr

Definition at line 83 of file source_location.h.

◆ DoNotInvokeDirectly()

static constexpr SourceLocation DoNotInvokeDirectly ( std::uint_least32_t  line,
const char *  file_name 
)
inlinestaticconstexpr

Definition at line 52 of file source_location.h.

◆ file_name()

constexpr const char * file_name ( ) const
inlineconstexpr

Definition at line 91 of file source_location.h.

◆ line()

constexpr std::uint_least32_t line ( ) const
inlineconstexpr

Definition at line 88 of file source_location.h.


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