Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Hide ugly things from the doc
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 17 Oct 2018 16:09:14 +0000 (18:09 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 17 Oct 2018 16:09:14 +0000 (18:09 +0200)
include/simgrid/s4u/Host.hpp
include/simgrid/s4u/Link.hpp

index 9153fbe..ac19803 100644 (file)
@@ -220,12 +220,14 @@ private:
   std::unordered_map<std::string, Storage*>* mounts_ = nullptr; // caching
 
 public:
+#ifndef DOXYGEN
   /** DO NOT USE DIRECTLY (@todo: these should be protected, once our code is clean) */
   surf::Cpu* pimpl_cpu = nullptr;
   // TODO, this could be a unique_ptr
   surf::HostImpl* pimpl_ = nullptr;
   /** DO NOT USE DIRECTLY (@todo: these should be protected, once our code is clean) */
   kernel::routing::NetPoint* pimpl_netpoint = nullptr;
+#endif
 };
 }
 } // namespace simgrid::s4u
index bd4a84b..b8eced3 100644 (file)
@@ -95,6 +95,7 @@ public:
   static simgrid::xbt::signal<void(kernel::resource::NetworkAction*, kernel::resource::Action::State)>
       on_communication_state_change;
 
+#ifndef DOXYGEN
   // Deprecated methods
   /** @deprecated */
   XBT_ATTRIB_DEPRECATED_v323("Please use Link::by_name()") static Link* byName(const char* name) { return by_name(name); }
@@ -134,6 +135,7 @@ public:
   XBT_ATTRIB_DEPRECATED_v323("Please use Link::get_bandwidth_trace()") void setBandwidthTrace(tmgr_trace_t trace) {set_bandwidth_trace(trace);}
   /** @deprecated */
   XBT_ATTRIB_DEPRECATED_v323("Please use Link::get_latency_trace()") void setLatencyTrace(tmgr_trace_t trace) {set_latency_trace(trace);}
+#endif
 };
 }
 }