FreeHEP API
Version current

org.freehep.aid
Class JNIHeaderGenerator

java.lang.Object
  extended byorg.freehep.aid.AbstractGenerator
      extended byorg.freehep.aid.AbstractCPPGenerator
          extended byorg.freehep.aid.AbstractCPPHeaderGenerator
              extended byorg.freehep.aid.JNIHeaderGenerator
All Implemented Interfaces:
Generator

public class JNIHeaderGenerator
extends AbstractCPPHeaderGenerator

Version:
$Id: JNIHeaderGenerator.java,v 1.15 2005/04/26 18:17:48 duns Exp $
Author:
Mark Donszelmann
Source Code:
JNIHeaderGenerator.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
JNIHeaderGenerator(String propDir)
           
 
Method Summary
 String filename(IClass clazz)
           
protected  void includeStatements(IClass clazz, SortedSet sysIncludes, SortedSet includes, String namespace, SortedSet types)
           
protected  String prefix()
           
protected  void printClassHeader(IndentPrintWriter out, IClass clazz)
           
protected  void printConstructor(IndentPrintWriter out, IConstructor constructor, String nameSpace)
           
protected  boolean printDefines(IndentPrintWriter out, IClass clazz)
           
protected  void printField(IndentPrintWriter out, IField ifield, 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.AbstractCPPHeaderGenerator
directory, print
 
Methods inherited from class org.freehep.aid.AbstractCPPGenerator
includeFrom, includeFrom, namedType, namespace, printIncludeStatements
 
Methods inherited from class org.freehep.aid.AbstractGenerator
getProperties, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JNIHeaderGenerator

public JNIHeaderGenerator(String propDir)
Method Detail

prefix

protected String prefix()
Overrides:
prefix in class AbstractCPPHeaderGenerator

filename

public String filename(IClass clazz)
Specified by:
filename in interface Generator
Specified by:
filename in class AbstractGenerator

includeStatements

protected void includeStatements(IClass clazz,
                                 SortedSet sysIncludes,
                                 SortedSet includes,
                                 String namespace,
                                 SortedSet types)
Overrides:
includeStatements in class AbstractCPPGenerator

printClassHeader

protected void printClassHeader(IndentPrintWriter out,
                                IClass clazz)
Specified by:
printClassHeader in class AbstractCPPHeaderGenerator

printPrivate

protected void printPrivate(IndentPrintWriter out,
                            IClass clazz)
Overrides:
printPrivate in class AbstractCPPHeaderGenerator

printProtected

protected void printProtected(IndentPrintWriter out,
                              IClass clazz)
Overrides:
printProtected in class AbstractCPPHeaderGenerator

printPublic

protected void printPublic(IndentPrintWriter out,
                           IClass clazz)
Overrides:
printPublic in class AbstractCPPHeaderGenerator

printConstructor

protected void printConstructor(IndentPrintWriter out,
                                IConstructor constructor,
                                String nameSpace)
Overrides:
printConstructor in class AbstractCPPHeaderGenerator

printMethod

protected void printMethod(IndentPrintWriter out,
                           IMethod method,
                           String nameSpace)
Overrides:
printMethod in class AbstractCPPHeaderGenerator

printField

protected void printField(IndentPrintWriter out,
                          IField ifield,
                          String nameSpace)
Specified by:
printField in class AbstractCPPHeaderGenerator

printDefines

protected boolean printDefines(IndentPrintWriter out,
                               IClass clazz)
Specified by:
printDefines in class AbstractCPPHeaderGenerator

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.