Overload List
| # | Signature | Description |
|---|---|---|
| 1 | virtual void WriteValues(DewStream *Dst, TPrecision Precision, TRounding Rounding = TRounding::rnTrunc, TEndianness Endian = MtxSystemEndianness); | |
| 2 | virtual void WriteValues(DewStream *Dst); | Writes the header information for the calling vector to a stream. |
Overload 1: virtual void WriteValues(DewStream *Dst, TPrecision Precision, TRounding Rounding = TRounding::rnTrunc, TEndianness Endian = MtxSystemEndianness);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | DewStream * | |
| 2 | Precision | TPrecision | |
| 3 | Rounding = TRounding::rnTrunc | TRounding | |
| 4 | Endian = MtxSystemEndianness | TEndianness |
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler
Overload 2: virtual void WriteValues(DewStream *Dst);
Writes the header information for the calling vector to a stream.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | DewStream * |
Examples
#include "MtxVec.h"
#include "Units.MtxVec.h"
using namespace Dew;
using namespace Dew::Math;
using namespace Dew::Math::Units::MtxVec;
void Example()
{
TVec* b;
FileStream* AStream;
CreateIt(b);
b->SetIt(false, DewArray<double>{0, 0, 1, 3, 2});
AStream = new FileStream("test.Vec", FileMode::Create);
b->WriteHeader(AStream); // Write info for b
b->WriteValues(AStream); // Write values of b
delete AStream;
FreeIt(b);
}
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler