+
This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.
Naming Conventions For AIDA Wrapper Packages HOWTO |
Author: Jakub Moscicki et al.
Last update: 19 Aug 2002
project-name AIDA category-name foundation-package-name
Examples:Anaphe_AIDA_Histogram_HTL - this package comes from Anaphe project, implements AIDA of Histogram interfaces using HTL as a foundation library.
Anaphe_AIDA_Fitting_FML
Anaphe_AIDA_Plotting_Qplotter
If the wrapper library has a native implementation (not based on any foundation library with the same functionality) then _native should be used as the last component in the name:Anaphe_AIDA_Function_native
$CVSROOT/.../AIDA_Histogram_HTL
$CVSROOT/.../AIDA_Fitting_FML
$CVSROOT/.../AIDA_Plotting_Qplotter
libAnaphe_AIDA_Histogram_HTL.so
libAnaphe_AIDA_Fitting_FML.so
libAnaphe_AIDA_Plotting_Qplotter.so
namespace Anaphe // project name { namespace AIDA_Fitting_FML { class AIDA_Fitter : virtual public AIDA::IFitter { ... }; }; };As you can see above the name of wrapper class should be the same as the name of AIDA interface, dropping initial capital I and adding AIDA_ prefix.
namespace AIDA { namespace Dev { class IDevHistogram1D : virtual public AIDA::IHistogram1D { ... }; }; };As you can see above the name of developer level class should be the same as the name of AIDA interface, inserting Dev right after the starting I prefix.