Hi,
is possible to make an histogram using values (even some specific array element) written into a class B defined by me, which is insert into a vector, which is part of another class A defined by me that i use as branch in a tree? to descrive the situation my data is a stream composed more or less by packets of this kind:
Header
class B
class B
class B
…and so on…
I have defined two classes A, B.
class B{
int myval1;
float myval2;
int myval3[16]; <----- for instance suppose an array of temperatures
… and so on…
…some getter/setter for myval(s)…
}
class A {
vector myData
----> some header data <-----
…and some other variables…
…some getter/setter …
}
I create a tree using class A as branch then my question is: is possible to draw for the all the branch an histogram, for instance, of the 4-th element defined in var3?
Cheers
Maurizio