SourceLocation Class Reference 系统
#include <memoryallocationbase.h>
Public Types |
|
| using | SourceLocationMarker = Int |
公共成员函数 |
|
| SourceLocation ()=default | |
| constexpr | SourceLocation (const Char *f, Int l, const Char *objectName=nullptr) |
| const Char * | GetFile () const |
| Int | GetLine () const |
| Bool | HasFrameInfo () const |
| Bool | operator== (const SourceLocation &b) const |
| Bool | operator< (const SourceLocation &b) const |
| MAXON_OPERATOR_COMPARISON ( SourceLocation ) | |
| HashInt | GetHashCode () const |
静态公共成员函数 |
|
| static const SourceLocation & | NullValue () |
Public Attributes |
|
| const Char * | file |
| Int | lineAndFlags |
| const Char * | name |
静态公共属性 |
|
| static const Int | FRAME_INFO_FLAG |
| static const Int | LINE_NUMBER_MASK |
| using SourceLocationMarker = Int |
|
default |
|
constexpr |
| const Char * GetFile | ( | ) | const |
Returns the source file as C string (or a nullptr).
| Int GetLine | ( | ) | const |
Returns the source file line number (or 0).
| Bool HasFrameInfo | ( | ) | const |
|
static |
| Bool operator== | ( | const SourceLocation & | b | ) | const |
| Bool operator< | ( | const SourceLocation & | b | ) | const |
| MAXON_OPERATOR_COMPARISON | ( | SourceLocation | ) |
| HashInt GetHashCode | ( | ) | const |
| const Char * file |
| Int lineAndFlags |
| const Char * name |
|
|