FreeHEP API
Version current

org.freehep.aid
Class AbstractCPPHeaderGenerator

java.lang.Object
  extended byorg.freehep.aid.AbstractGenerator
      extended byorg.freehep.aid.AbstractCPPGenerator
          extended byorg.freehep.aid.AbstractCPPHeaderGenerator
All Implemented Interfaces:
Generator
Direct Known Subclasses:
CPPHeaderGenerator, JNIHeaderGenerator

public abstract class AbstractCPPHeaderGenerator
extends AbstractCPPGenerator

Version:
$Id: AbstractCPPHeaderGenerator.java,v 1.25 2005/04/26 18:33:27 duns Exp $
Author:
Mark Donszelmann
Source Code:
AbstractCPPHeaderGenerator.java

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(IClass clazz)
           
protected  String prefix()
           
 boolean print(File file, IClass clazz)
           
protected abstract  void printClassHeader(IndentPrintWriter out, IClass clazz)
           
protected  void printConstructor(IndentPrintWriter out, IConstructor constructor, String nameSpace)
           
protected abstract  boolean printDefines(IndentPrintWriter out, IClass clazz)
           
protected abstract  void printField(IndentPrintWriter out, IField field, String nameSpace)
           
protected  void printMethod(IndentPrintWriter out, IMethod method, String nameSpace)
           
protected  void printPrivate(IndentPrintWriter out, IClass clazz)
           
protected  void printProtected(IndentPrintWriter out, IClass clazz)
           
protected  void printPublic(IndentPrintWriter out, 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(IClass clazz)
Specified by:
directory in interface Generator
Overrides:
directory in class AbstractGenerator

prefix

protected String prefix()
Specified by:
prefix in class AbstractCPPGenerator

printClassHeader

protected abstract void printClassHeader(IndentPrintWriter out,
                                         IClass clazz)

printPrivate

protected void printPrivate(IndentPrintWriter out,
                            IClass clazz)

printProtected

protected void printProtected(IndentPrintWriter out,
                              IClass clazz)

printPublic

protected void printPublic(IndentPrintWriter out,
                           IClass clazz)

print

public boolean print(File file,
                     IClass clazz)
              throws IOException
Specified by:
print in interface Generator
Specified by:
print in class AbstractGenerator
Throws:
IOException

printConstructor

protected void printConstructor(IndentPrintWriter out,
                                IConstructor constructor,
                                String nameSpace)

printMethod

protected void printMethod(IndentPrintWriter out,
                           IMethod method,
                           String nameSpace)

printDefines

protected abstract boolean printDefines(IndentPrintWriter out,
                                        IClass clazz)

printField

protected abstract void printField(IndentPrintWriter out,
                                   IField field,
                                   String nameSpace)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.