org.freehep.aid
Class AbstractCPPGenerator

java.lang.Object
  extended by org.freehep.aid.AbstractGenerator
      extended by org.freehep.aid.AbstractCPPGenerator
All Implemented Interfaces:
org.freehep.rtti.Generator
Direct Known Subclasses:
AbstractCPPHeaderGenerator, JNICodeGenerator

public abstract class AbstractCPPGenerator
extends AbstractGenerator

Version:
$Id: AbstractCPPGenerator.java 13274 2007-08-21 20:29:55Z duns $
Author:
Mark Donszelmann

Field Summary
protected  CPPTypeConverter converter
           
protected  org.freehep.util.UserProperties includeProperties
           
protected static String language
           
protected  org.freehep.util.UserProperties namesProperties
           
protected  org.freehep.util.UserProperties sysIncludeProperties
           
protected  org.freehep.util.UserProperties typeProperties
           
protected  org.freehep.util.UserProperties valueProperties
           
 
Fields inherited from class org.freehep.aid.AbstractGenerator
properties
 
Constructor Summary
AbstractCPPGenerator(String propDir)
           
 
Method Summary
protected  void includeFrom(org.freehep.rtti.IType type, String className, SortedSet sysIncludes, SortedSet includes, String namespace, SortedSet types)
           
protected  void includeFrom(String name, String className, SortedSet sysIncludes, SortedSet includes, String namespace, SortedSet types)
           
protected  void includeStatements(org.freehep.rtti.IClass clazz, SortedSet sysIncludes, SortedSet includes, String namespace, SortedSet types)
           
protected  String namedType(org.freehep.rtti.INamedType namedType, String nameSpace)
           
protected  String namespace(org.freehep.rtti.IClass clazz)
           
protected abstract  String prefix()
           
protected  SortedSet printIncludeStatements(org.freehep.util.io.IndentPrintWriter out, org.freehep.rtti.IClass clazz)
           
 
Methods inherited from class org.freehep.aid.AbstractGenerator
directory, filename, getProperties, print, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

language

protected static final String language
See Also:
Constant Field Values

typeProperties

protected org.freehep.util.UserProperties typeProperties

sysIncludeProperties

protected org.freehep.util.UserProperties sysIncludeProperties

includeProperties

protected org.freehep.util.UserProperties includeProperties

valueProperties

protected org.freehep.util.UserProperties valueProperties

namesProperties

protected org.freehep.util.UserProperties namesProperties

converter

protected CPPTypeConverter converter
Constructor Detail

AbstractCPPGenerator

public AbstractCPPGenerator(String propDir)
Method Detail

prefix

protected abstract String prefix()

namespace

protected String namespace(org.freehep.rtti.IClass clazz)

printIncludeStatements

protected SortedSet printIncludeStatements(org.freehep.util.io.IndentPrintWriter out,
                                           org.freehep.rtti.IClass clazz)

includeStatements

protected void includeStatements(org.freehep.rtti.IClass clazz,
                                 SortedSet sysIncludes,
                                 SortedSet includes,
                                 String namespace,
                                 SortedSet types)

includeFrom

protected void includeFrom(org.freehep.rtti.IType type,
                           String className,
                           SortedSet sysIncludes,
                           SortedSet includes,
                           String namespace,
                           SortedSet types)

includeFrom

protected void includeFrom(String name,
                           String className,
                           SortedSet sysIncludes,
                           SortedSet includes,
                           String namespace,
                           SortedSet types)

namedType

protected String namedType(org.freehep.rtti.INamedType namedType,
                           String nameSpace)


Copyright 2000-2007 FreeHEP. All Rights Reserved.