Skip to content

datatypes/shared_pointer_conversions.hpp

Namespaces

Name
moirai

Classes

Name
struct moirai::known_conversions< TimeSeriesProvider< double > >

Source code

#pragma once

#include "datatypes/setup_exports.h"
#include "moirai/reference_handle.hpp"

namespace moirai
{
    template<> struct known_conversions<TimeSeriesProvider<double>>
    {
        static TimeSeriesProvider<double>* dyn_cast(void* p, const typeinfo& tinfo)
        {
            return as_type<TimeSeriesLibrary>(p, tinfo);
        }
    };
}

Updated on 2022-08-21 at 18:10:33 +1000