[Ns-developers] using TypeId for Header/Trailer (and helpers)
Tom Henderson
tomh at tomh.org
Thu Mar 20 08:35:20 PDT 2008
>-----Original Message-----
>From: Mathieu Lacage [mailto:mathieu.lacage at sophia.inria.fr]
>Sent: Thursday, March 20, 2008 06:38 AM
>To: 'Tom Henderson'
>Cc: 'ns-developers'
>Subject: Re: [Ns-developers] using TypeId for Header/Trailer (and helpers)
>
>
>On Thu, 2008-03-20 at 06:35 -0700, Tom Henderson wrote:
>
>> I agree that there are several benefits and no perceived downsides, so I
>> would suggest also to merge it. Splitting these features into separate
>> classes and headers does improve readability, as you mention.
>>
>> Should the boolean versions of SetAttribute and GetAttribute have
>> symmetric (FailSafe) names?
>
>The are already 'failsafe' in that they will not crash in case of
>invalid input and will return a bool value.
>
What I meant was that you have SetAttributeFailSafe() but not GetAttributeFailSafe (instead, it is just GetAttribute())-- these function names could be aligned.
More information about the Ns-developers
mailing list