]> OCCT Git - occt-copy.git/commitdiff
Add Standard_EXPORT definition
authornds <nds@opencascade.com>
Fri, 19 Oct 2018 04:35:15 +0000 (07:35 +0300)
committernds <nds@opencascade.com>
Fri, 19 Oct 2018 04:35:15 +0000 (07:35 +0300)
src/Select3D/Select3D_SensitiveCircle.hxx
src/Select3D/Select3D_SensitiveGroup.hxx
src/Select3D/Select3D_SensitivePoly.hxx
src/Select3D/Select3D_SensitiveTriangulation.hxx
src/ViewerTest/ViewerTest_CmdParser.hxx

index 12ca661577bdade7716e312ebd87b0749d4f8278..0d3445463beb3004c27c45adb26be5030feac56b 100644 (file)
@@ -93,7 +93,7 @@ protected:
 
   //! Calculates distance from the 3d projection of used-picked screen point
   //! to center of the geometry
-  virtual Standard_Real distanceToCOG (SelectBasics_SelectingVolumeManager& theMgr) Standard_OVERRIDE;
+  Standard_EXPORT virtual Standard_Real distanceToCOG (SelectBasics_SelectingVolumeManager& theMgr) Standard_OVERRIDE;
 
 private:
 
index 58e64a383c33a02aa7c50f771e01cd5b2c3f326e..27540f4cb44c94cde7ca4b253ff679863dd639c7 100644 (file)
@@ -143,21 +143,21 @@ public:
   //! Returns the length of vector of sensitive entities
   Standard_EXPORT virtual Standard_Integer Size() const Standard_OVERRIDE;
 
-private:
+protected:
 
   //! Checks whether the entity with index theIdx overlaps the current selecting volume
-  virtual Standard_Boolean overlapsElement (SelectBasics_PickResult& thePickResult,
-                                            SelectBasics_SelectingVolumeManager& theMgr,
-                                            Standard_Integer theElemIdx,
-                                            Standard_Boolean theIsFullInside) Standard_OVERRIDE;
+  Standard_EXPORT virtual Standard_Boolean overlapsElement (SelectBasics_PickResult& thePickResult,
+                                                            SelectBasics_SelectingVolumeManager& theMgr,
+                                                            Standard_Integer theElemIdx,
+                                                            Standard_Boolean theIsFullInside) Standard_OVERRIDE;
 
   //! Checks whether the entity with index theIdx is inside the current selecting volume
-  virtual Standard_Boolean elementIsInside (SelectBasics_SelectingVolumeManager& theMgr,
-                                            Standard_Integer theElemIdx,
-                                            Standard_Boolean theIsFullInside) Standard_OVERRIDE;
+  Standard_EXPORT virtual Standard_Boolean elementIsInside (SelectBasics_SelectingVolumeManager& theMgr,
+                                                            Standard_Integer theElemIdx,
+                                                            Standard_Boolean theIsFullInside) Standard_OVERRIDE;
 
   //! Calculates distance from the 3d projection of used-picked screen point to center of the geometry
-  virtual Standard_Real distanceToCOG (SelectBasics_SelectingVolumeManager& theMgr) Standard_OVERRIDE;
+  Standard_EXPORT virtual Standard_Real distanceToCOG (SelectBasics_SelectingVolumeManager& theMgr) Standard_OVERRIDE;
 
 private:
 
index 8f600c8405180cc7c6456b2c437ea584f9cb0f19..2658bc98a494fe0b2159bcd6e66e28e10d2a8695 100644 (file)
@@ -92,22 +92,22 @@ public:
   Standard_EXPORT virtual void Swap (const Standard_Integer theIdx1,
                                      const Standard_Integer theIdx2) Standard_OVERRIDE;
 
-private:
+protected:
 
   //! Checks whether the segment with index theIdx overlaps the current selecting volume
-  virtual Standard_Boolean overlapsElement (SelectBasics_PickResult& thePickResult,
+  Standard_EXPORT virtual Standard_Boolean overlapsElement (SelectBasics_PickResult& thePickResult,
                                             SelectBasics_SelectingVolumeManager& theMgr,
                                             Standard_Integer theElemIdx,
                                             Standard_Boolean theIsFullInside) Standard_OVERRIDE;
 
   //! Checks whether the entity with index theIdx is inside the current selecting volume
-  virtual Standard_Boolean elementIsInside (SelectBasics_SelectingVolumeManager& theMgr,
+  Standard_EXPORT virtual Standard_Boolean elementIsInside (SelectBasics_SelectingVolumeManager& theMgr,
                                             Standard_Integer theElemIdx,
                                             Standard_Boolean theIsFullInside) Standard_OVERRIDE;
 
   //! Calculates distance from the 3d projection of used-picked screen point
   //! to center of the geometry
-  virtual Standard_Real distanceToCOG (SelectBasics_SelectingVolumeManager& theMgr) Standard_OVERRIDE;
+  Standard_EXPORT virtual Standard_Real distanceToCOG (SelectBasics_SelectingVolumeManager& theMgr) Standard_OVERRIDE;
 
 protected:
 
index b7228f0e21c4d0eaeee399133d5ad667eb7065aa..2317c240bec5815cc1e9c20058cdb17ace7b4461 100644 (file)
@@ -102,18 +102,18 @@ protected:
 private:
 
   //! Checks whether the element with index theIdx overlaps the current selecting volume
-  virtual Standard_Boolean overlapsElement (SelectBasics_PickResult& thePickResult,
-                                            SelectBasics_SelectingVolumeManager& theMgr,
-                                            Standard_Integer theElemIdx,
-                                            Standard_Boolean theIsFullInside) Standard_OVERRIDE;
+  Standard_EXPORT virtual Standard_Boolean overlapsElement (SelectBasics_PickResult& thePickResult,
+                                                            SelectBasics_SelectingVolumeManager& theMgr,
+                                                            Standard_Integer theElemIdx,
+                                                            Standard_Boolean theIsFullInside) Standard_OVERRIDE;
 
   //! Calculates distance from the 3d projection of used-picked screen point to center of the geometry
-  virtual Standard_Real distanceToCOG (SelectBasics_SelectingVolumeManager& theMgr) Standard_OVERRIDE;
+  Standard_EXPORT virtual Standard_Real distanceToCOG (SelectBasics_SelectingVolumeManager& theMgr) Standard_OVERRIDE;
 
   //! Checks whether the entity with index theIdx is inside the current selecting volume
-  virtual Standard_Boolean elementIsInside (SelectBasics_SelectingVolumeManager& theMgr,
-                                            Standard_Integer theElemIdx,
-                                            Standard_Boolean theIsFullInside) Standard_OVERRIDE;
+  Standard_EXPORT virtual Standard_Boolean elementIsInside (SelectBasics_SelectingVolumeManager& theMgr,
+                                                            Standard_Integer theElemIdx,
+                                                            Standard_Boolean theIsFullInside) Standard_OVERRIDE;
 
 private:
 
index 22487ca4121a1d3124b038e6baeda09de0d4f019..03e45bc521ccccff83187b088faf404f8298eb05 100644 (file)
@@ -31,7 +31,7 @@ class ViewerTest_CmdParser
 public:
 
   //! Initializes default option.
-  ViewerTest_CmdParser();
+  Standard_EXPORT ViewerTest_CmdParser();
 
   //! Sets description for command.
   void AddDescription (const std::string& theDescription)
@@ -40,47 +40,47 @@ public:
   }
 
   //! Adds option to available option list. Several names may be provided if separated with '|'.
-  void AddOption (const std::string& theOptionNames, const std::string& theOptionDescription = "");
+  Standard_EXPORT void AddOption (const std::string& theOptionNames, const std::string& theOptionDescription = "");
 
   //! Prints help message based on provided command and options descriptions.
-  void Help();
+  Standard_EXPORT void Help();
 
   //! Parses argument list; assignes local arguments to each option.
-  void Parse (Standard_Integer  theArgsNb,
-              const char**      theArgVec);
+  Standard_EXPORT void Parse (Standard_Integer  theArgsNb,
+                              const char**      theArgVec);
 
   //! Checks if option was set with given minimal argument number.
   //! Prints error message if isFatal flag was set.
-  Standard_Boolean HasOption (const std::string& theOptionName,
-                              Standard_Integer theMandatoryArgsNb = 0,
-                              Standard_Boolean isFatal = Standard_False);
+  Standard_EXPORT Standard_Boolean HasOption (const std::string& theOptionName,
+                                              Standard_Integer theMandatoryArgsNb = 0,
+                                              Standard_Boolean isFatal = Standard_False);
 
   //! Accesses local argument of option 'theOptionName' with index 'theArgumentIndex'.
-  std::string Arg (const std::string& theOptionName, Standard_Integer theArgumentIndex);
+  Standard_EXPORT std::string Arg (const std::string& theOptionName, Standard_Integer theArgumentIndex);
 
   // Interprets arguments of option 'theOptionName' as float vector starting with index 'theArgumentIndex'.
-  Graphic3d_Vec3 ArgVec3f (const std::string& theOptionName, const Standard_Integer theArgumentIndex = 0);
+  Standard_EXPORT Graphic3d_Vec3 ArgVec3f (const std::string& theOptionName, const Standard_Integer theArgumentIndex = 0);
 
   // Interprets arguments of option 'theOptionName' as double vector starting with index 'theArgumentIndex'.
-  Graphic3d_Vec3d ArgVec3d (const std::string& theOptionName, const Standard_Integer theArgumentIndex = 0);
+  Standard_EXPORT Graphic3d_Vec3d ArgVec3d (const std::string& theOptionName, const Standard_Integer theArgumentIndex = 0);
 
   // Interprets arguments of option 'theOptionName' as gp vector starting with index 'theArgumentIndex'.
-  gp_Vec ArgVec (const std::string& theOptionName, const Standard_Integer theArgumentIndex = 0);
+  Standard_EXPORT gp_Vec ArgVec (const std::string& theOptionName, const Standard_Integer theArgumentIndex = 0);
 
   // Interprets arguments of option 'theOptionName' as gp vector starting with index 'theArgumentIndex'.
-  gp_Pnt ArgPnt (const std::string& theOptionName, const Standard_Integer theArgumentIndex = 0);
+  Standard_EXPORT gp_Pnt ArgPnt (const std::string& theOptionName, const Standard_Integer theArgumentIndex = 0);
 
   // Interprets arguments of option 'theOptionName' as double at index 'theArgumentIndex'.
-  Standard_Real ArgDouble (const std::string& theOptionName, const Standard_Integer theArgumentIndex = 0);
+  Standard_EXPORT Standard_Real ArgDouble (const std::string& theOptionName, const Standard_Integer theArgumentIndex = 0);
 
   // Interprets arguments of option 'theOptionName' as float at index 'theArgumentIndex'.
-  Standard_ShortReal ArgFloat (const std::string& theOptionName, const Standard_Integer theArgumentIndex = 0);
+  Standard_EXPORT Standard_ShortReal ArgFloat (const std::string& theOptionName, const Standard_Integer theArgumentIndex = 0);
 
   // Interprets arguments of option 'theOptionName' as integer at index 'theArgumentIndex'.
-  Standard_Integer ArgInt (const std::string& theOptionName, const Standard_Integer theArgumentIndex = 0);
+  Standard_EXPORT Standard_Integer ArgInt (const std::string& theOptionName, const Standard_Integer theArgumentIndex = 0);
 
   // Interprets arguments of option 'theOptionName' as boolean at index 'theArgumentIndex'.
-  Standard_Boolean ArgBool (const std::string& theOptionName, const Standard_Integer theArgumentIndex = 0);
+  Standard_EXPORT Standard_Boolean ArgBool (const std::string& theOptionName, const Standard_Integer theArgumentIndex = 0);
 
 private: