Are underscores significant to THtml?

From: Nick West (n.west1@physics.oxford.ac.uk)
Date: Tue Dec 01 1998 - 09:44:59 MET


Dear roottalk,

I need some help with THtml. Although it works just fine for most of our MINOS
code, it does crazy things with the index for one category of classes.  The
members of the category all have the prefix REROOT_ and THtml creates the
index:-

    REROOT_REROOT_Index.html

but fails to fill it, claiming that it knows nothing of any of its classes. 
Looking at the code of THtml, it seems clear that it is the underscore that is
the problem and that THtml is making assumptions about its presence in the name.
Now I know that underscore is deprecated (Taligent Name conventions) but haven't
found anywhere in the THtml or the coding style documents that this is a
prohibition.  If my analysis is wrong, can anyone suggest what I am doing wrong?
If my analysis is right are there any other rules that the unwary can
transgress?  In particular some of our code draws on earlier STL supported work
and we have followed designs from both ATLAS and ALICE which has influenced our
choice of names.  Naming conventions are without doubt essential but, they are
also arbitrary.  For example, using m_Variable rather than fVariable for data
members and Variable() instead of GetVariable() for getters.  So whilst it is
true that ROOT is a framework rather than a library, how far does it go in
dictating a naming convention and what happens when trying to integrate software
that has been developed outside of ROOT that conflicts with this convention?

Cheers,

Nick West.



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:40 MET