Thanks.

Ok. the post are a initial skeleton.
My main doubts are related with the inner objects.

Qt Code:
  1. for (int x=0;x<10;xx++)
  2. {
  3. ClassA class_a* = new ClassA;
  4. my_vector.push_back(class_a->my_objectB)
  5. }
To copy to clipboard, switch view to plain text mode 

For every x I create a 'volatil' A ???
class_a is automatically deleted at the end of the loop???
Thanks