gov.llnl.babel.backend.cxx
Class CxxStubHeader

java.lang.Object
  |
  +--gov.llnl.babel.backend.cxx.CxxStubHeader

public class CxxStubHeader
extends java.lang.Object


Constructor Summary
CxxStubHeader(Extendable ext)
          Create an object capable of generating the header file for a BABEL extendable.
 
Method Summary
 void generateCode()
          Generate the header file for the extendable with which this object was created.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CxxStubHeader

public CxxStubHeader(Extendable ext)
Create an object capable of generating the header file for a BABEL extendable.

Parameters:
ext - an interface or class symbol that needs a header file for a Cxx C extension class.
Method Detail

generateCode

public void generateCode()
                  throws CodeGenerationException
Generate the header file for the extendable with which this object was created.

Throws:
CodeGenerationException - this is a catch all exception for problems during the code generation phase.