rootpy.stl.generate(declaration, headers=None, has_iterators=False)[source]

Compile and load the reflection dictionary for a type.

If the requested dictionary has already been cached, then load that instead.


declaration : str

A type declaration (for example “vector<int>”)

headers : str or list of str

A header file or list of header files required to compile the dictionary for this type.

has_iterators : bool

If True, then include iterators in the dictionary generation.