org.freehep.aid
Class AbstractCPPHeaderGenerator
java.lang.Object
org.freehep.aid.AbstractGenerator
org.freehep.aid.AbstractCPPGenerator
org.freehep.aid.AbstractCPPHeaderGenerator
- All Implemented Interfaces:
- org.freehep.rtti.Generator
- Direct Known Subclasses:
- CPPHeaderGenerator, JNIHeaderGenerator
public abstract class AbstractCPPHeaderGenerator
- extends AbstractCPPGenerator
- Version:
- $Id: AbstractCPPHeaderGenerator.java 13206 2007-08-01 16:49:55Z duns $
- Author:
- Mark Donszelmann
Method Summary |
String |
directory(org.freehep.rtti.IClass clazz)
|
protected String |
prefix()
|
boolean |
print(File file,
org.freehep.rtti.IClass clazz)
|
protected abstract void |
printClassHeader(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz)
|
protected void |
printConstructor(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IConstructor constructor,
String nameSpace)
|
protected abstract boolean |
printDefines(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz)
|
protected abstract void |
printField(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IField field,
String nameSpace)
|
protected void |
printMethod(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IMethod method,
String nameSpace)
|
protected void |
printPrivate(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz)
|
protected void |
printProtected(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz)
|
protected void |
printPublic(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCPPHeaderGenerator
public AbstractCPPHeaderGenerator(String propDir)
directory
public String directory(org.freehep.rtti.IClass clazz)
- Specified by:
directory
in interface org.freehep.rtti.Generator
- Overrides:
directory
in class AbstractGenerator
prefix
protected String prefix()
- Specified by:
prefix
in class AbstractCPPGenerator
printClassHeader
protected abstract void printClassHeader(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz)
printPrivate
protected void printPrivate(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz)
printProtected
protected void printProtected(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz)
printPublic
protected void printPublic(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz)
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
printConstructor
protected void printConstructor(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IConstructor constructor,
String nameSpace)
printMethod
protected void printMethod(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IMethod method,
String nameSpace)
printDefines
protected abstract boolean printDefines(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IClass clazz)
printField
protected abstract void printField(org.freehep.util.io.IndentPrintWriter out,
org.freehep.rtti.IField field,
String nameSpace)
Copyright © 2000-2007 FreeHEP. All Rights Reserved.