Mantid
Loading...
Searching...
No Matches
Macros | Functions
FilteredTimeSeriesProperty.cpp File Reference
#include "MantidKernel/FilteredTimeSeriesProperty.h"
#include "MantidPythonInterface/core/GetPointer.h"
#include "MantidPythonInterface/core/Policies/RemoveConst.h"
#include <boost/python/class.hpp>
#include <boost/python/implicit.hpp>
#include <boost/python/register_ptr_to_python.hpp>
#include <boost/python/return_value_policy.hpp>

Go to the source code of this file.

Macros

#define EXPORT_FILTEREDTIMESERIES_PROP(TYPE, Prefix)
 Macro to reduce copy-and-paste. More...
 

Functions

void export_FilteredTimeSeriesProperty ()
 

Macro Definition Documentation

◆ EXPORT_FILTEREDTIMESERIES_PROP

#define EXPORT_FILTEREDTIMESERIES_PROP (   TYPE,
  Prefix 
)
Value:
register_ptr_to_python<FilteredTimeSeriesProperty<TYPE> *>(); \
\
class_<FilteredTimeSeriesProperty<TYPE>, bases<TimeSeriesProperty<TYPE>>, boost::noncopyable>( \
#Prefix "FilteredTimeSeriesProperty", no_init) \
.def(init<TimeSeriesProperty<TYPE> *, const TimeSeriesProperty<bool> &>( \
"Constructor", (arg("self"), arg("source"), arg("filter")))) \
.def("unfiltered", &FilteredTimeSeriesProperty<TYPE>::unfiltered, (arg("self")), \
return_value_policy<RemoveConst>(), "Returns a time series containing the unfiltered data");

Macro to reduce copy-and-paste.

Definition at line 29 of file FilteredTimeSeriesProperty.cpp.

Function Documentation

◆ export_FilteredTimeSeriesProperty()

void export_FilteredTimeSeriesProperty ( )

Definition at line 40 of file FilteredTimeSeriesProperty.cpp.

References EXPORT_FILTEREDTIMESERIES_PROP.