LatNet Builder Manual
2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
|
This class is a simple implementation of the LatTestWriter
abstract class to write in plain text format on the stream.
More...
#include <LatTestWriterRes.h>
Inherits LatticeTester::LatTestWriter< Int >.
Public Member Functions | |
LatTestWriterRes (const char *fileName, unsigned int margins=5) | |
Constructor. More... | |
LatTestWriterRes (std::ostream *stream, unsigned int margins=5) | |
Same as above, except that the writer is opened to write directly into stream . | |
void | beginTabbedSection () |
Defined in Writer . | |
void | endTabbedSection () |
Defined in Writer . | |
void | addTab () |
Defined in Writer . | |
void | removeTab () |
Defined in Writer . | |
void | clearTab () |
Defined in Writer . | |
void | newLine () |
Defined in Writer . | |
void | newParagraph () |
Defined in Writer . | |
void | writeMathString (const std::string) |
Defined in Writer . | |
void | writeStandOutMathString (const std::string) |
Defined in Writer . | |
Public Member Functions inherited from LatticeTester::LatTestWriter< Int > | |
LatTestWriter (const char *fileName) | |
Constructor that opens a Writer to write in the file filename . More... | |
LatTestWriter (std::ostream *stream) | |
Constructor that opens a Writer to write directly in an ostream . More... | |
virtual | ~LatTestWriter () |
Destructor. | |
virtual void | writeBool (const bool &value) |
Writes a bool on the stream. | |
virtual void | writeInt (const int &value) |
Writes an int on the stream. | |
virtual void | writeString (const std::string &value) |
Writes a string on the stream. | |
virtual void | writeDouble (const double &value) |
Writes a double on the stream. | |
virtual void | writeIntScal (const Int &value) |
Writes a IntScal on the stream. | |
virtual void | writeMMat (const IntMat &A) |
Writes a IntMat on the stream. | |
virtual std::ostream & | getStream () |
Returns the stream on which this object writes. More... | |
Additional Inherited Members | |
Protected Attributes inherited from LatticeTester::LatTestWriter< Int > | |
std::ostream * | m_stream |
The stream in which the writings are done. | |
This class is a simple implementation of the LatTestWriter
abstract class to write in plain text format on the stream.
LatticeTester::LatTestWriterRes< Int >::LatTestWriterRes | ( | const char * | fileName, |
unsigned int | margins = 5 |
||
) |
Constructor.
Opens the writer to write in file fileName
. margins
is the number of white spaces that will be used as a margin inside a table’s cell when printing a table.