mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
GeomIterator is not exposed for use if the library is built dynamically on windows (#1583)
This commit is contained in:
@@ -71,7 +71,7 @@
|
|||||||
namespace IfcGeom {
|
namespace IfcGeom {
|
||||||
|
|
||||||
template <typename P = double, typename PP = P>
|
template <typename P = double, typename PP = P>
|
||||||
class Iterator {
|
class IFC_GEOM_API Iterator {
|
||||||
private:
|
private:
|
||||||
Iterator(const Iterator&); // N/I
|
Iterator(const Iterator&); // N/I
|
||||||
Iterator& operator=(const Iterator&); // N/I
|
Iterator& operator=(const Iterator&); // N/I
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ IteratorFactoryImplementation<P, PP>& iterator_implementations() {
|
|||||||
return impl;
|
return impl;
|
||||||
}
|
}
|
||||||
|
|
||||||
template IteratorFactoryImplementation<float, float>& iterator_implementations<float, float>();
|
template IFC_GEOM_API IteratorFactoryImplementation<float, float>& iterator_implementations<float, float>();
|
||||||
template IteratorFactoryImplementation<float, double>& iterator_implementations<float, double>();
|
template IFC_GEOM_API IteratorFactoryImplementation<float, double>& iterator_implementations<float, double>();
|
||||||
template IteratorFactoryImplementation<double, double>& iterator_implementations<double, double>();
|
template IFC_GEOM_API IteratorFactoryImplementation<double, double>& iterator_implementations<double, double>();
|
||||||
|
|
||||||
#ifdef HAS_SCHEMA_2x3
|
#ifdef HAS_SCHEMA_2x3
|
||||||
template <typename P, typename PP>
|
template <typename P, typename PP>
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ struct get_factory_type<double, double> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
template <typename P, typename PP>
|
template <typename P, typename PP>
|
||||||
class IteratorFactoryImplementation : public std::map<std::string, typename get_factory_type<P, PP>::type> {
|
class IFC_GEOM_API IteratorFactoryImplementation : public std::map<std::string, typename get_factory_type<P, PP>::type> {
|
||||||
public:
|
public:
|
||||||
IteratorFactoryImplementation();
|
IteratorFactoryImplementation();
|
||||||
void bind(const std::string& schema_name, typename get_factory_type<P, PP>::type fn);
|
void bind(const std::string& schema_name, typename get_factory_type<P, PP>::type fn);
|
||||||
|
|||||||
Reference in New Issue
Block a user