Commit 9b07ad5a authored by Ben Boeckel's avatar Ben Boeckel
Browse files

smtkMesh: add export symbol to friend declarations

Windows is fairly strict here.
parent f0b4c67b
......@@ -35,12 +35,12 @@ namespace mesh {
//a new MeshSet using Collection::createMesh.
class SMTKCORE_EXPORT CellSet
{
friend CellSet set_intersect( const CellSet& a, const CellSet& b);
friend CellSet set_difference( const CellSet& a, const CellSet& b);
friend CellSet set_union( const CellSet& a, const CellSet& b );
friend CellSet point_intersect( const CellSet& a, const CellSet& b, ContainmentType t);
friend CellSet point_difference( const CellSet& a, const CellSet& b, ContainmentType t);
friend void for_each( const CellSet& a, CellForEach& filter);
friend SMTKCORE_EXPORT CellSet set_intersect( const CellSet& a, const CellSet& b);
friend SMTKCORE_EXPORT CellSet set_difference( const CellSet& a, const CellSet& b);
friend SMTKCORE_EXPORT CellSet set_union( const CellSet& a, const CellSet& b );
friend SMTKCORE_EXPORT CellSet point_intersect( const CellSet& a, const CellSet& b, ContainmentType t);
friend SMTKCORE_EXPORT CellSet point_difference( const CellSet& a, const CellSet& b, ContainmentType t);
friend SMTKCORE_EXPORT void for_each( const CellSet& a, CellForEach& filter);
friend class Collection; //required for creation of new meshes, deletion of cells
public:
......
......@@ -89,7 +89,7 @@ public:
private:
friend void extractTessellation( const smtk::mesh::CellSet&, const smtk::mesh::PointSet& , PreAllocatedTessellation& );
friend SMTKCORE_EXPORT void extractTessellation( const smtk::mesh::CellSet&, const smtk::mesh::PointSet& , PreAllocatedTessellation& );
boost::int64_t* m_connectivity;
boost::int64_t* m_cellLocations;
unsigned char* m_cellTypes;
......
......@@ -35,10 +35,10 @@ typedef std::set<smtk::mesh::MeshSet> MeshSets;
//and a vector/range of mesh entities
class SMTKCORE_EXPORT MeshSet
{
friend MeshSet set_intersect( const MeshSet& a, const MeshSet& b);
friend MeshSet set_difference( const MeshSet& a, const MeshSet& b);
friend MeshSet set_union( const MeshSet& a, const MeshSet& b );
friend void for_each( const MeshSet& a, MeshForEach& filter);
friend SMTKCORE_EXPORT MeshSet set_intersect( const MeshSet& a, const MeshSet& b);
friend SMTKCORE_EXPORT MeshSet set_difference( const MeshSet& a, const MeshSet& b);
friend SMTKCORE_EXPORT MeshSet set_union( const MeshSet& a, const MeshSet& b );
friend SMTKCORE_EXPORT void for_each( const MeshSet& a, MeshForEach& filter);
friend class Collection; //required for deletion of meshes
public:
//default constructor generates an invalid MeshSet
......
......@@ -22,10 +22,10 @@ namespace mesh {
class SMTKCORE_EXPORT PointSet
{
friend PointSet set_intersect( const PointSet& a, const PointSet& b);
friend PointSet set_difference( const PointSet& a, const PointSet& b);
friend PointSet set_union( const PointSet& a, const PointSet& b );
friend void for_each( const PointSet& a, PointForEach& filter);
friend SMTKCORE_EXPORT PointSet set_intersect( const PointSet& a, const PointSet& b);
friend SMTKCORE_EXPORT PointSet set_difference( const PointSet& a, const PointSet& b);
friend SMTKCORE_EXPORT PointSet set_union( const PointSet& a, const PointSet& b );
friend SMTKCORE_EXPORT void for_each( const PointSet& a, PointForEach& filter);
public:
PointSet(const smtk::mesh::CollectionPtr& parent,
const smtk::mesh::HandleRange& points);
......
Markdown is supported
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