Re: vector vector container

From: Sebastien Binet <binet_at_cern.ch>
Date: Thu, 8 Apr 2010 16:47:51 +0200


Excerpts from Feverati.Giovanni's message of 2010-04-08 16:30:34 +0200:
> Hi
>
> It happens that root creates three files
> AutoDict_vector_vector_char_allocator_char_____.cxx
> AutoDict_vector_vector_char_allocator_char______cxx.d
> AutoDict_vector_vector_char_allocator_char______cxx.so*
> every time I use the following declaration in a root script
> vector <vector <char> > aa(10);
> followed by a double loop to fill in all the entries of the variable
> aa.
>
> What is the purpose of these files? Are they specific of the operating
> system? Is there a way to avoid their appearence?
gInterpreter->ProcessLine(".autodict");

should disable the dictionary auto-generation.

in my experience (ie: within atlas code which is based on ROOT 5.22) I found it best to disable this auto generation and generate Reflex-dicts (+auto-loading of course) for these classes.

the .cxx files should be platform independent, the others shouldn't (that's why there was a plan to stuff the dictionaries into ROOT files which are machine independant - I don't know what's the status of that in light of the expected improvements when/once Cling will be out)

cheers,
sebastien.

-- 
#########################################
# Dr. Sebastien Binet
# Laboratoire de l'Accelerateur Lineaire
# Universite Paris-Sud XI
# Batiment 200
# 91898 Orsay
#########################################
Received on Thu Apr 08 2010 - 16:48:11 CEST

This archive was generated by hypermail 2.2.0 : Thu Apr 08 2010 - 17:50:02 CEST