##// END OF EJS Templates
TS fix...
TS fix Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r69:cc26524fb5d1
r86:70d6748a0662
Show More
CoreWrappers.h
41 lines | 1.1 KiB | text/x-c | CLexer
First init from SciQLop Core module...
r0 #pragma once
#include "QtWrappers.h"
New TimeSeries integration WIP...
r62 #include "pywrappers_common.h"
First init from SciQLop Core module...
r0 #include <Data/DataSeriesType.h>
New TimeSeries integration WIP...
r62 #include <Data/DateTimeRange.h>
#include <Variable/Variable2.h>
#include <pybind11/pybind11.h>
#include <sstream>
#include <string>
First init from SciQLop Core module...
r0
New TimeSeries integration WIP...
r62 PYBIND11_MAKE_OPAQUE(std::vector<double>);
First init from SciQLop Core module...
r0
New TimeSeries integration WIP...
r62 std::ostream& operator<<(std::ostream& os, const DateTimeRange& range)
{
os << "=========================" << std::endl
<< "SqpRange:" << std::endl
<< " Start date: " << DateUtils::dateTime(range.m_TStart).toString()
<< std::endl
<< " Stop date: " << DateUtils::dateTime(range.m_TEnd).toString()
<< std::endl;
return os;
}
First init from SciQLop Core module...
r0
Switched to new TS impl, but quite broken!...
r67 std::ostream& operator<<(std::ostream& os, Variable2& variable)
First init from SciQLop Core module...
r0 {
New TimeSeries integration WIP...
r62 os << "=========================" << std::endl
<< "Variable:" << std::endl
<< " Name: " << variable.name() << std::endl
<< " range: " << std::endl
<< variable.range() << std::endl;
return os;
First init from SciQLop Core module...
r0 }
New TimeSeries integration WIP...
r62 std::ostream& operator<<(std::ostream& os,
const VectorTimeSerie::raw_value_type& value)
First init from SciQLop Core module...
r0 {
New TimeSeries integration WIP...
r62 os << "[" << value.x << ", " << value.y << ", " << value.z << "]"
<< std::endl;
return os;
First init from SciQLop Core module...
r0 }