Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
cxwx
Root
Commits
48a324fc
Commit
48a324fc
authored
10 years ago
by
Danilo Piparo
Browse files
Options
Downloads
Patches
Plain Diff
Explicitly mention pcms
parent
ca244a7a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
documentation/users-guide/AddingaClass.md
+11
-3
11 additions, 3 deletions
documentation/users-guide/AddingaClass.md
with
11 additions
and
3 deletions
documentation/users-guide/AddingaClass.md
+
11
−
3
View file @
48a324fc
...
...
@@ -387,6 +387,13 @@ MyClass(); // Or a constructor with all its arguments defaulted.
## rootcling: The Cling Dictionary Generator
A way in which dictionaries can be generated is via the
`rootcling`
utility. This tool generates takes as input a set of headers and
generates in output the dictionary C++ code and a
`pcm`
file.
This latter file is fundamental for the correct functioning of the
dictionary at runtime. It should be located in the directory where
the shared library is installed in which the compiled dictionary
resides.
In the following example, we walk through the steps necessary to
generate a dictionary, I/O, and inspect member functions. Let's start
...
...
@@ -1108,16 +1115,17 @@ link: <http://root.cern.ch/root/RootCintMan.html>
## genreflex: A Comfortable Interface to rootcling
ROOT
5 supported both
`Cint`
and
`Reflex`
dictionaries. The tool to create
Version
5 supported both
`Cint`
and
`Reflex`
dictionaries. The tool to create
`Reflex`
dictionaries was a Python script called
`genreflex`
and was very
successful in the user community.
Even if
ROOT
6 has only one type of dictionaries,
`cling`
dictionaries,
Even if
version
6 has only one type of dictionaries,
`cling`
dictionaries,
a re-implementation of
`genreflex`
is provided.
More precisely, in ROOT6,
`genreflex`
is nothing but a wrapper around
`rootcling`
, which offers an identical CLI and behaviour to the old Python
tool.
The input to
`genreflex`
is a C++ header file, a set of switches and a
*selection XML file*
.
*selection XML file*
. The output, as for
`rootcling`
, is a C++ dictionary
source and a
`pcm`
files.
An exhaustive documentation of the CLI switches of
`genreflex`
can be
inspected with the
`genreflex --help`
command.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment