← Back to team overview

kaliveda-dev team mailing list archive

Re: [KALIVEDA-L] [Bug 740064] [NEW] Errors using example class KVQPSource: this method must be overridden!

 

Le 22/03/2011 10:35, John Frankland a écrit :
> Public bug reported:
>
> When trying to use example analysis class AnalMonQP with example global variable class KVQPSource,
> the following messages appear on execution:
>
> Warning in<KVQPsource::GetNameIndex(const Char_t *name)>: The parameter "E*" does not exist fot the Class KVQPsource.
>   0 returned.
> Warning in<KVQPsource::getvalue_int>: this method must be overridden!
> Warning in<KVQPsource::GetNameIndex(const Char_t *name)>: The parameter "A" does not exist fot the Class KVQPsource.
>   0 returned.
> Warning in<KVQPsource::getvalue_int>: this method must be overridden!
> Warning in<KVQPsource::GetNameIndex(const Char_t *name)>: The parameter "Z" does not exist fot the Class KVQPsource.
>   0 returned.
>
> The polymorphism has been broken since KVVarGlob base classes were
> rewritten.
>


       En fait j'ai essayé de modifier la classe KVQPsource en 
m'inspirant de ce qui est écrit dans KVVarGlob (redéfinir les méthodes 
getvalue_int etc et en prenant exemple sur KVZmax (sans bien comrendre 
toutes les raisons de ce que je faisais !).
Comme cela j'ai réussi à faire une variable globale qui fonctionne et 
qui donne les bonnes valeurs (au moins pour Zqp et Aqp, j'ai vérifié).

  Je vois que tu as modifié la classe, mais je ne regrette pas mon 
travail, cela m'a fait un bon exercice.  Ou trouve-t-on ta nouvelle 
version ?

Je voulais aussi réfléchir à la possibilité de mettre un paramètre dans 
KVQPsource, en choisissant la 1/2 espace, soit l'avant du CM, soit 
l'avant de NN. mais je n'en étais pas encore arrivée là.

          Amicalement

           Marie-France

-- 
You received this bug notification because you are a member of KaliVeda
Development Team, which is subscribed to KaliVeda.
https://bugs.launchpad.net/bugs/740064

Title:
  Errors using example class KVQPSource: this method must be overridden!

Status in KaliVeda data analysis framework:
  Fix Committed
Status in KaliVeda 1.8 series:
  Fix Committed

Bug description:
  When trying to use example analysis class AnalMonQP with example global variable class KVQPSource,
  the following messages appear on execution:

  Warning in <KVQPsource::GetNameIndex(const Char_t *name)>: The parameter "E*" does not exist fot the Class KVQPsource.
   0 returned.
  Warning in <KVQPsource::getvalue_int>: this method must be overridden!
  Warning in <KVQPsource::GetNameIndex(const Char_t *name)>: The parameter "A" does not exist fot the Class KVQPsource.
   0 returned.
  Warning in <KVQPsource::getvalue_int>: this method must be overridden!
  Warning in <KVQPsource::GetNameIndex(const Char_t *name)>: The parameter "Z" does not exist fot the Class KVQPsource.
   0 returned.

  The polymorphism has been broken since KVVarGlob base classes were
  rewritten.



References