Cppcheck
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
SourceLocation Struct Reference

#include <sourcelocation.h>

Public Member Functions

std::uint_least32_t line () const
 
std::uint_least32_t column () const
 
const char * file_name () const
 
const char * function_name () const
 

Static Public Member Functions

static SourceLocation current ()
 

Public Attributes

std::uint_least32_t m_line = 0
 
std::uint_least32_t m_column = 0
 
const char * m_file_name = ""
 
const char * m_function_name = ""
 

Detailed Description

Definition at line 60 of file sourcelocation.h.

Member Function Documentation

◆ column()

std::uint_least32_t SourceLocation::column ( ) const
inline

Definition at line 86 of file sourcelocation.h.

References m_column.

◆ current()

static SourceLocation SourceLocation::current ( )
inlinestatic

Definition at line 75 of file sourcelocation.h.

◆ file_name()

const char* SourceLocation::file_name ( ) const
inline

Definition at line 89 of file sourcelocation.h.

References m_file_name.

Referenced by ValueType::setDebugPath(), and setSourceLocation().

◆ function_name()

const char* SourceLocation::function_name ( ) const
inline

Definition at line 92 of file sourcelocation.h.

References m_function_name.

Referenced by ValueType::setDebugPath(), and setSourceLocation().

◆ line()

std::uint_least32_t SourceLocation::line ( ) const
inline

Definition at line 83 of file sourcelocation.h.

References m_line.

Referenced by ValueType::setDebugPath(), and setSourceLocation().

Member Data Documentation

◆ m_column

std::uint_least32_t SourceLocation::m_column = 0

Definition at line 80 of file sourcelocation.h.

Referenced by column().

◆ m_file_name

const char* SourceLocation::m_file_name = ""

Definition at line 81 of file sourcelocation.h.

Referenced by file_name().

◆ m_function_name

const char* SourceLocation::m_function_name = ""

Definition at line 82 of file sourcelocation.h.

Referenced by function_name().

◆ m_line

std::uint_least32_t SourceLocation::m_line = 0

Definition at line 79 of file sourcelocation.h.

Referenced by line().


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