From: Martin Quinson Date: Wed, 17 Oct 2018 16:09:14 +0000 (+0200) Subject: Hide ugly things from the doc X-Git-Tag: v3_22~875 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8bc9c439c4a1c367ba66c4d6490c9be7349bd430 Hide ugly things from the doc --- diff --git a/include/simgrid/s4u/Host.hpp b/include/simgrid/s4u/Host.hpp index 9153fbe01f..ac19803522 100644 --- a/include/simgrid/s4u/Host.hpp +++ b/include/simgrid/s4u/Host.hpp @@ -220,12 +220,14 @@ private: std::unordered_map* 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 diff --git a/include/simgrid/s4u/Link.hpp b/include/simgrid/s4u/Link.hpp index bd4a84bac9..b8eced3ed7 100644 --- a/include/simgrid/s4u/Link.hpp +++ b/include/simgrid/s4u/Link.hpp @@ -95,6 +95,7 @@ public: static simgrid::xbt::signal 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 }; } }