[Ns-developers] [ns3] wrapper classes in the Attributes API
Raj Bhattacharjea
raj.b at gatech.edu
Tue May 20 20:39:15 PDT 2008
I'd like to apologize for the strong wording in the last message in
this thread...it was an overly strong reaction to something that
caught me off guard. No one's code is "an abomination" or an "ugly
hack", and I'm deeply sorry for having said so.
I would like to retract the tone of my message with deepest apologies
to Mathieu and the development team. It'd be great if everyone could
forgive me for flaming. It would be even better if I could completely
wipe my last mail from your memories, and rephrase it in terms of the
following questions/points:
1) It seems to me that the object of the current wrapper API is to
have some way to pass a bunch of different types into the Attributes
system in a consistent way, using the same methods to do so for
various types of Attributes. The wrappers tell the Attributes system
exactly which type of object is being passed in.
2) It also seems that the way in which attribute-helper.h defines
macros is such that they automatically generate class definitions for
wrappers in which a single find and replace on a typename suffices to
differentiate the different classes.
These two issues independently make me think of templates immediately,
and it seems that using templates in both of these cases would work
really well together. This is all I ever intended to say, and I'm am
deeply regretful at letting my typing fingers get ahead of the better
part of my judgement.
--
Raj Bhattacharjea
Georgia Institute of Technology
School of Electrical and Computer Engineering
Systems Analyst
404.894.2955
More information about the Ns-developers
mailing list