Commit Graph

37 Commits

Author SHA1 Message Date
Sebastien Vincent
9f16bba32e Fix some doxygen warnings revealed by WARN_NO_PARAMDOC=YES in doc/doxygen.conf. 2009-09-18 22:18:06 +02:00
Mathieu Lacage
d90fd1db17 add StaticCast to mirror DynamicCast and ConstCast 2009-07-07 13:03:21 +02:00
Nicola Baldo
22545849a4 bug 534: non-const Ptr<T>::operator * () returns const reference 2009-04-16 13:28:51 +02:00
Mathieu Lacage
0f8139fc10 bug 382: templated DynamicCast 2008-10-20 08:40:32 +02:00
Mathieu Lacage
eb566b82d3 bug 350: operator > missing. 2008-10-16 12:17:00 +02:00
Tom Henderson
dfb9b7360a Doxygen organization 2008-05-29 23:24:10 -07:00
Mathieu Lacage
4ff40c4a07 get rid of Attribute class. Use AttributeValue subclasses directly. 2008-04-17 13:42:25 -07:00
Mathieu Lacage
d1d683ee21 remove 'All rigts reserved' keyword per tom's suggestion 2008-03-31 14:56:41 -07:00
Craig Dowell
60b6fb3d39 merge in packet.bundle 2007-10-29 12:48:01 -07:00
Gustavo J. A. M. Carneiro
fab9df7825 Use 'const Ptr<T>' rather than 'Ptr<T> const' 2007-10-08 14:13:58 +01:00
Gustavo J. A. M. Carneiro
ffdc440926 Add operator < to Ptr smart pointers, to make them behave well with STL containers. 2007-10-05 19:13:36 +01:00
Mathieu Lacage
46fe0fbc29 Simplify and optimize Create template function. Add Ptr::operator * 2007-10-01 14:07:53 +02:00
Mathieu Lacage
64a8418674 optmize slightly Ptr<T>::Acquire 2007-07-27 17:49:04 +02:00
Mathieu Lacage
9d5184bae4 add an extra constructor to use when the Create template cannot be used 2007-07-27 15:37:05 +02:00
Mathieu Lacage
9033830375 fix optimized build 2007-07-26 08:18:11 +02:00
Mathieu Lacage
b53716bd7f add operator << (std::ostream)for Ptr<T> 2007-07-23 15:23:14 +02:00
Mathieu Lacage
ea7652677d rename traits to handle Ptr<> object pointers 2007-07-19 13:53:14 +02:00
Mathieu Lacage
01f37ccb65 rename MakeNewObject to Create 2007-06-04 16:32:37 +02:00
Mathieu Lacage
25c6350a88 fix bug 24 2007-05-24 16:08:03 +02:00
Mathieu Lacage
01d21b3ea2 add tests and fix leak 2007-05-24 15:37:00 +02:00
Mathieu Lacage
911daba417 fix bug 23 2007-05-24 14:53:10 +02:00
Gustavo J. A. M. Carneiro
2dc08498c4 Correct the Ptr (T *ptr) documentation. 2007-05-19 14:37:06 +01:00
Mathieu Lacage
447de493d3 beautify the dox output 2007-05-17 14:07:22 +02:00
Mathieu Lacage
2d8ed8d400 add small comment 2007-05-11 09:55:51 +02:00
Mathieu Lacage
24d19e29c0 rename Ptr::Get and Ptr::Peek to GetPointer and PeekPointer 2007-05-11 09:46:01 +02:00
Mathieu Lacage
d82a6d11f9 add MakeNewObject template with more arguments 2007-05-11 08:59:11 +02:00
Mathieu Lacage
0e1388a2fd add MakeNewObject template function and fix operator == (T1,T2) 2007-05-11 08:35:41 +02:00
Mathieu Lacage
349f970d82 remove leaks and rework the Ptr class to work with a new refcount mechanism 2007-05-10 18:33:52 +02:00
Mathieu Lacage
a82cf78743 remove ptr::Remove, make ptr::Peek share the same signature as ptr::Get 2007-05-09 19:48:33 +02:00
Raj Bhattacharjea
ecfcfa977d Node* -> Ptr<Node> 2007-05-09 13:26:21 -04:00
Raj Bhattacharjea
4e32c8f56e Ptr changed to use Object's refcounts 2007-05-08 11:44:04 -04:00
Mathieu Lacage
363c64c04f fix optimized build warning 2007-04-19 10:28:10 +02:00
Gustavo J. A. M. Carneiro
a5d4a39e6d Fix Ptr<T>::m_count memory leak in some places. 2007-04-13 15:52:27 +01:00
Mathieu Lacage
d9318db068 convert use of <cassert> to "ns3/assert.h" 2007-02-16 09:56:21 +01:00
Mathieu Lacage
041fcd1752 add ns3::Ptr<T>::operator * with a few tests 2007-01-31 20:14:23 +01:00
Mathieu Lacage
735a076eb3 more tests, fix bugs uncovered by tests 2006-12-18 14:25:33 +01:00
Mathieu Lacage
4c0c225a19 initial go at smart pointer implementation 2006-12-18 13:17:08 +01:00