org.freehep.aid
Class AbstractCPPHeaderGenerator

java.lang.Object
  extended by org.freehep.aid.AbstractGenerator
      extended by org.freehep.aid.AbstractCPPGenerator
          extended by 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

Field Summary
 
Fields inherited from class org.freehep.aid.AbstractCPPGenerator
converter, includeProperties, language, namesProperties, sysIncludeProperties, typeProperties, valueProperties
 
Fields inherited from class org.freehep.aid.AbstractGenerator
properties
 
Constructor Summary
AbstractCPPHeaderGenerator(String propDir)
           
 
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 org.freehep.aid.AbstractCPPGenerator
includeFrom, includeFrom, includeStatements, namedType, namespace, printIncludeStatements
 
Methods inherited from class org.freehep.aid.AbstractGenerator
filename, getProperties, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCPPHeaderGenerator

public AbstractCPPHeaderGenerator(String propDir)
Method Detail

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.