Write in a text file.
More...
#include <filewriter.h>
Write in a text file.
The FileWriter provides the tools which allow to write content in a text file.
- Author
- David Carmona-Moreno
- Version
- 1.0
- Date
- 2016/01/11 14:00:00
- Bug:
- Not known bugs
Contacts: nikol.nosp@m.aos..nosp@m.arvan.nosp@m.itop.nosp@m.oulos.nosp@m.@epf.nosp@m.l.ch and david.nosp@m..car.nosp@m.mona-.nosp@m.more.nosp@m.no@ep.nosp@m.fl.c.nosp@m.h
Created on: Mon Jan 12 14:00:00 2016
The constructor of the FileWriter class.
- Parameters
-
cfa_1 | The text file in which we want to write all the rectangle informations |
void FileWriter::changeLine |
( |
| ) |
|
|
virtual |
Goes to the next line.
- Note
is the change line operation in Windows. The developer has to change it according to his Operating System.
- Returns
- void
Returns the file we are writing in.
- Returns
- The file we are writing in
void FileWriter::writeComment |
( |
QString |
comment | ) |
|
|
virtual |
Writes the user's comment.
- Parameters
-
comment | The user's comment |
- Returns
- void
void FileWriter::writeFilePoint |
( |
int |
pointx, |
|
|
int |
pointy |
|
) |
| |
|
virtual |
Writes the Top-Left coordinates.
- Parameters
-
x | The x Top-Left coordinate |
y | The y Top-Left coordinate |
- Returns
- void
void FileWriter::writeFileRectangleGeo |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
virtual |
Writes the rectangle height and width.
- Parameters
-
width | The rectangle width |
height | The rectangle height |
- Returns
- void
void FileWriter::writeFileRectangleId |
( |
int |
id | ) |
|
|
virtual |
Writes the ID.
- Parameters
-
- Returns
- void
void FileWriter::writeImageName |
( |
QString |
line | ) |
|
|
virtual |
Writes image filepath.
- Parameters
-
- Returns
- void
void FileWriter::writeLineNumber |
( |
QString |
line | ) |
|
|
virtual |
Writes the line number.
- Parameters
-
- Returns
- void
void FileWriter::writeWordNumber |
( |
QString |
word | ) |
|
|
virtual |
Writes the word number.
- Parameters
-
- Returns
- void
The documentation for this class was generated from the following files:
- /media/david/4A52443C52442F4F/Users/David/Desktop/Projet EPFL/Ground_Truthing_20_10_2015/filewriter.h
- /media/david/4A52443C52442F4F/Users/David/Desktop/Projet EPFL/Ground_Truthing_20_10_2015/filewriter.cpp