Commit 4b93c50e authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

COMP: MSVC: missing DLL exports

parent 449da6eb
......@@ -42,7 +42,7 @@
namespace ossimplugins
{
class ossimSarSensorModel : public ossimSensorModel
class OSSIM_PLUGINS_DLL ossimSarSensorModel : public ossimSensorModel
{
public:
......
......@@ -11,6 +11,8 @@
#ifndef ossimStringUtilities_h
#define ossimStringUtilities_h
#include "ossimPluginConstants.h"
#include <algorithm>
#include <iterator>
#include <cassert>
......@@ -722,8 +724,8 @@ template <typename T> inline T const& to_with_default(T const& v, T const& /* de
// { return details::to_float<double>(v); }
//@}
int s_printf(char *str, std::size_t size, const char *format, ...);
int vs_printf(char *str, std::size_t size, const char *format, std::va_list ap);
OSSIM_PLUGINS_DLL int s_printf(char *str, std::size_t size, const char *format, ...);
OSSIM_PLUGINS_DLL int vs_printf(char *str, std::size_t size, const char *format, std::va_list ap);
template <std::size_t size>
inline
......
......@@ -17,7 +17,7 @@
namespace ossimplugins
{
class ossimTerraSarXSarSensorModel : public ossimSarSensorModel
class OSSIM_PLUGINS_DLL ossimTerraSarXSarSensorModel : public ossimSarSensorModel
{
public:
......
......@@ -13,6 +13,7 @@
#include "ossimStringUtilities.h"
#include "ossimOperatorUtilities.h"
#include "ossimPluginConstants.h"
#include <cassert>
#include <ostream>
class ossimDate;
......@@ -172,19 +173,19 @@ namespace ossimplugins { namespace time {
using details::DayFrac::diff;
};
ModifiedJulianDate toModifiedJulianDate(string_view const& utcTimeString);
OSSIM_PLUGINS_DLL ModifiedJulianDate toModifiedJulianDate(string_view const& utcTimeString);
inline Duration microseconds(double us) {
return Duration(us / (24L * 60 * 60 * 1000 * 1000));
}
inline Duration seconds(double us) {
return Duration(us / (24L * 60 * 60));
}
std::string to_simple_string(ModifiedJulianDate const& d);
std::string to_simple_string(Duration const& d);
OSSIM_PLUGINS_DLL std::string to_simple_string(ModifiedJulianDate const& d);
OSSIM_PLUGINS_DLL std::string to_simple_string(Duration const& d);
namespace details {
// strptime is not portable, hence this simplified emulation
ossimDate strptime(string_view const& format, string_view const& date);
OSSIM_PLUGINS_DLL ossimDate strptime(string_view const& format, string_view const& date);
} // details namespace
} } // ossimplugins namespace::time
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment