sisi4s
Loading...
Searching...
No Matches
sisi4s::SourceLocation Class Reference

#include <SourceLocation.hpp>

Collaboration diagram for sisi4s::SourceLocation:

Public Member Functions

 SourceLocation ()
 
 SourceLocation (SourceLocation const &l)
 
 SourceLocation (std::string const &file_, int line_)
 
std::string getLocation () const
 
std::string getFile () const
 
int getLine () const
 

Protected Attributes

std::string file
 
int line
 

Constructor & Destructor Documentation

◆ SourceLocation() [1/3]

sisi4s::SourceLocation::SourceLocation ( )
inline

◆ SourceLocation() [2/3]

sisi4s::SourceLocation::SourceLocation ( SourceLocation const &  l)
inline

◆ SourceLocation() [3/3]

sisi4s::SourceLocation::SourceLocation ( std::string const &  file_,
int  line_ 
)
inline

Member Function Documentation

◆ getFile()

std::string sisi4s::SourceLocation::getFile ( ) const
inline
Here is the caller graph for this function:

◆ getLine()

int sisi4s::SourceLocation::getLine ( ) const
inline
Here is the caller graph for this function:

◆ getLocation()

std::string sisi4s::SourceLocation::getLocation ( ) const
inline

Member Data Documentation

◆ file

std::string sisi4s::SourceLocation::file
protected

◆ line

int sisi4s::SourceLocation::line
protected

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