org.freehep.aid
Class JNICodeGenerator
java.lang.Object
org.freehep.aid.AbstractGenerator
org.freehep.aid.AbstractCPPGenerator
org.freehep.aid.JNICodeGenerator
- All Implemented Interfaces:
- org.freehep.rtti.Generator
public class JNICodeGenerator
- extends AbstractCPPGenerator
- Version:
- $Id: JNICodeGenerator.java 8584 2006-08-10 23:06:37Z duns $
- Author:
- Mark Donszelmann
Method Summary |
String |
filename(org.freehep.rtti.IClass clazz)
|
protected void |
includeStatements(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz,
SortedSet sysIncludes,
SortedSet includes,
String namespace,
SortedSet types)
|
protected String |
prefix()
|
boolean |
print(File file,
org.freehep.rtti.IClass clazz)
|
protected void |
printDestructor(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz)
|
protected void |
printDummyBody(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz,
org.freehep.rtti.IMethod method)
|
protected void |
printJNIConstructor(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz)
|
protected void |
printMethod(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz,
org.freehep.rtti.IMethod method)
|
protected void |
printMethodBody(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz,
org.freehep.rtti.IMethod method)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
indent
public static final String indent
- See Also:
- Constant Field Values
cr
public static final String cr
- See Also:
- Constant Field Values
jniProperties
protected org.freehep.util.UserProperties jniProperties
importProperties
protected org.freehep.util.UserProperties importProperties
converter
protected JNITypeConverter converter
JNICodeGenerator
public JNICodeGenerator(String propDir)
prefix
protected String prefix()
- Specified by:
prefix
in class AbstractCPPGenerator
filename
public String filename(org.freehep.rtti.IClass clazz)
- Specified by:
filename
in interface org.freehep.rtti.Generator
- Specified by:
filename
in class AbstractGenerator
print
public boolean print(File file,
org.freehep.rtti.IClass clazz)
throws IOException
- Specified by:
print
in interface org.freehep.rtti.Generator
- Specified by:
print
in class AbstractGenerator
- Throws:
IOException
includeStatements
protected void includeStatements(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz,
SortedSet sysIncludes,
SortedSet includes,
String namespace,
SortedSet types)
printJNIConstructor
protected void printJNIConstructor(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz)
printDestructor
protected void printDestructor(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz)
printMethod
protected void printMethod(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz,
org.freehep.rtti.IMethod method)
printDummyBody
protected void printDummyBody(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz,
org.freehep.rtti.IMethod method)
printMethodBody
protected void printMethodBody(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz,
org.freehep.rtti.IMethod method)
Copyright © 2000-2007 FreeHEP. All Rights Reserved.