Commit Graph

27 Commits

Author SHA1 Message Date
Mathieu Lacage
e96365a4bc rewrite the buffer code extensively 2007-09-10 16:45:52 +02:00
Mathieu Lacage
1e865deaaf add Buffer::m_zeroAreaStart 2007-09-10 08:54:11 +02:00
Mathieu Lacage
a0e8906575 make Buffer::m_end really represent the end of the data rather than its size 2007-09-09 21:16:05 +02:00
Mathieu Lacage
f13dc2777d Buffer::m_size -> Buffer::m_end 2007-09-09 10:38:22 +02:00
Mathieu Lacage
1e448915d1 get rid of GetIndex 2007-09-07 19:47:06 +02:00
Mathieu Lacage
a9124f0a4a re-implement all Iterator::Write and Iterator::Read methods 2007-09-07 19:39:47 +02:00
Mathieu Lacage
6ced31f8b5 add a m_dataStart member in Buffer::Iterator 2007-09-07 18:45:00 +02:00
Mathieu Lacage
ee35d8ada2 move inline code from header to .cc file prior to rework of Buffer 2007-09-07 08:34:46 +02:00
Mathieu Lacage
fd8b0ba57d an euclidian distance is always positive 2007-09-06 11:18:35 +02:00
Mathieu Lacage
6e956f6cc3 add Buffer::CreateFullCopy and make TransformInto private 2007-08-04 09:31:52 +02:00
Mathieu Lacage
56d6ee9a1c fix bug 57 2007-07-23 13:58:53 +02:00
Gustavo J. A. M. Carneiro
b239441ff9 Buffer::Iterator::Write (buffer, size) should have a uint32_t parameter, not
uint16_t, else integer overflow may occur.  Fixes bug #54.
2007-07-19 12:48:22 +01:00
Mathieu Lacage
4c92dfe914 add more asserts, make TransformIntoRealBuffer public for Packet class 2007-06-01 15:23:07 +02:00
Mathieu Lacage
438e58cc1c add test and fix buggy assert 2007-06-01 12:42:29 +02:00
Mathieu Lacage
d9318db068 convert use of <cassert> to "ns3/assert.h" 2007-02-16 09:56:21 +01:00
Mathieu Lacage
0fade9d7af fix coding style 2006-11-01 13:11:30 +01:00
Mathieu Lacage
df7747bbe6 fix coding style 2006-10-21 11:35:02 +02:00
Mathieu Lacage
90df8d054b change emacs mode to new NS3 elisp mode 2006-10-20 14:17:03 +02:00
Mathieu Lacage
7f8eb2c50b fix coding style 2006-10-06 13:37:25 +02:00
Mathieu Lacage
9f93b7fb53 fix emacs tab mode (reported by george) 2006-10-02 14:34:53 +02:00
Mathieu Lacage
1a510b4a26 replace pointers with references 2006-09-08 18:45:48 +02:00
Mathieu Lacage
fede074f3a add comment on implementation location 2006-09-06 15:20:25 +02:00
Mathieu Lacage
f935fe02bd change indent to be 4 spaces 2006-09-05 13:18:11 +02:00
Mathieu Lacage
e57dd3faa5 variable/method/function coding style update 2006-09-05 13:13:39 +02:00
Mathieu Lacage
778ca40af3 member variables coding style change 2006-09-05 12:54:53 +02:00
Mathieu Lacage
28c0b86278 change yans namespace to ns3 2006-08-29 17:55:34 +02:00
Mathieu Lacage
5c90e561b4 import from yans 2006-08-29 17:42:13 +02:00