Spectra
Public Member Functions | List of all members
fileLocation Class Reference

#include <fileLocation.h>

Public Member Functions

 fileLocation (int line, int column, const std::string &fileName)
 
const std::string & getFileName () const
 
std::string printLocation () const
 
int getLine () const
 
int getColumn () const
 

Detailed Description

Created: 25. 2. 2019 by Petra Sečkařová (xseck.nosp@m.a02@.nosp@m.stud..nosp@m.fit..nosp@m.vutbr.nosp@m..cz). Filename: fileLocation.h

Description: Declaration of class representing a location in a file, given by line, column and filename.

Constructor & Destructor Documentation

◆ fileLocation()

fileLocation::fileLocation ( int  line,
int  column,
const std::string &  fileName 
)

Created: 25. 2. 2019 by Petra Sečkařová (xseck.nosp@m.a02@.nosp@m.stud..nosp@m.fit..nosp@m.vutbr.nosp@m..cz). Filename: fileLocation.cpp

Description: Implementation of methods for a class representing a location in a file.


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