hep.io.root.core
Class NameMangler
java.lang.Object
hep.io.root.core.NameMangler
public class NameMangler
- extends Object
Controls name mangling when building Java interfaces for Root classes.
- Version:
- $Id: NameMangler.java 8584 2006-08-10 23:06:37Z duns $
- Author:
- tonyj
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameMangler
public NameMangler()
instance
public static NameMangler instance()
mangleClass
public String mangleClass(String in)
- Name mangling applied to root class names.
By default this implementation:
- Changes each :: to .
- Lowercases anything that precedes the last ::
- Prepends hep.io.root.interfaces
mangleMember
public String mangleMember(String in)
- Name mangling applied to root member variables.
By default:
- If the name begins with f followed by an uppercase letter, we remove the f
- If the variable begins with m_ we remove it
- We uppercase the initial letter
- Prepend get
Copyright © 2000-2008 FreeHEP. All Rights Reserved.