Logo ROOT  
Reference Guide
DictSelectionReader.h File Reference
#include "clang/AST/RecursiveASTVisitor.h"
#include <llvm/ADT/StringMap.h>
#include <set>
#include <unordered_set>
#include <string>
#include <unordered_map>
Include dependency graph for DictSelectionReader.h:
This graph shows which files directly or indirectly include this file:


 VSD Structures.

Detailed Description

Select classes and assign properties using C++ syntax.

Danilo Piparo
January 2014

When generating dictionary information for a class, one sometimes wants to specify additional information beyond the class definition itself, for example, to specify that certain members are to be treated as transient by the persistency system. This can be done by associating a dictionary selection class with the class for which dictionary information is being generated. The contents of this selection class encode the additional information. Below, we first discuss how to associate a selection class with your class; then we list the current Set of information which may appear inside the selection class.

The simplest case is for the case of a non-template class C. By default, the Name of the selection class is then ROOT::Meta::Selection::C. If you have such a class, it will be found automatically. If C is in a namespace, NS::C, then the selection class should be in the same namespace: ROOT::Selection::NS::C. Examples:

Definition in file DictSelectionReader.h.