|
Bugzilla – Full Text Bug Listing |
| Summary: | Commit 77c498aed31f breaks attribute accessibility | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Peter Barnes <pdbarnes> |
| Component: | core | Assignee: | Peter Barnes <pdbarnes> |
| Status: | PATCH WANTED --- | ||
| Severity: | normal | CC: | ns-bugs, tomh |
| Priority: | P5 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Peter Barnes
2015-04-01 13:13:44 UTC
IIRC, the patch was a big hammer to fix a minor documentation annoyance: the default value for Ptr<X> printed in the API docs would be the actual address of the instance created by print-introspected-doxygen.cc. Reading Tom's description, I would vote for supporting attributes and trace sources. The other case (modifying the object) should be supported by moving object state to configurable attributes. Two alternatives come to mind: 1. Hack Ptr<> and/or print-introspected-doxygen to print a null pointer value instead. 2. Hack something to try and print a string representation of the underlying object. +1 on reverting to PointerValue so that we can access attributes (perhaps by handling in doxygen introspection program as suggested) |