Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Hide some deprecated symbols from doxygen
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Sat, 10 Jul 2021 09:06:39 +0000 (11:06 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Tue, 13 Jul 2021 23:26:58 +0000 (01:26 +0200)
include/simgrid/s4u/Comm.hpp
include/simgrid/s4u/NetZone.hpp
include/simgrid/s4u/VirtualMachine.hpp

index 0fee089..0ea9de8 100644 (file)
@@ -81,6 +81,7 @@ public:
   /*! take a vector s4u::CommPtr and return the rank of the first finished one (or -1 if none is done). */
   static ssize_t test_any(const std::vector<CommPtr>& comms);
 
+#ifndef DOXYGEN
   XBT_ATTRIB_DEPRECATED_v332("Please use a plain vector for parameter")
   static int wait_any(const std::vector<CommPtr>* comms) { return static_cast<int>(wait_any_for(*comms, -1)); }
   XBT_ATTRIB_DEPRECATED_v332("Please use a plain vector for first parameter")
@@ -89,6 +90,7 @@ public:
   static void wait_all(const std::vector<CommPtr>* comms) { wait_all(*comms); }
   XBT_ATTRIB_DEPRECATED_v332("Please use a plain vector for parameter")
   static int test_any(const std::vector<CommPtr>* comms) { return static_cast<int>(test_any(*comms)); }
+#endif
 
   Comm* start() override;
   Comm* wait_for(double timeout) override;
index 870f85a..d814cf2 100644 (file)
@@ -42,7 +42,6 @@ public:
   /** @brief Retrieves the name of that netzone as a C string */
   const char* get_cname() const;
 
-  XBT_ATTRIB_DEPRECATED_v331("Please use get_parent()") NetZone* get_father() const;
   NetZone* get_parent() const;
   NetZone* set_parent(const NetZone* parent);
 
@@ -59,9 +58,12 @@ public:
   /** @brief Get the netpoint associated to this netzone */
   kernel::routing::NetPoint* get_netpoint();
 
+#ifndef DOXYGEN
+  XBT_ATTRIB_DEPRECATED_v331("Please use get_parent()") NetZone* get_father() const;
   std::vector<NetZone*> get_children() const;
   XBT_ATTRIB_DEPRECATED_v332("Please use set_parent() to manage NetZone's relationship") NetZone* add_child(
       NetZone* new_zone);
+#endif
 
   void extract_xbt_graph(const s_xbt_graph_t* graph, std::map<std::string, xbt_node_t, std::less<>>* nodes,
                          std::map<std::string, xbt_edge_t, std::less<>>* edges);
index ecfeb1e..76e8380 100644 (file)
@@ -42,7 +42,9 @@ public:
     SUSPENDED, /**< Suspend/resume does not involve disk I/O, so we assume there is no transition states. */
     DESTROYED
   );
+#ifndef DOXYGEN
   using state XBT_ATTRIB_DEPRECATED_v332("Please use VirtualMachine::State") = State;
+#endif
 
   vm::VirtualMachineImpl* get_vm_impl() const { return pimpl_vm_; }
   void start();