public class PeerGenerator extends Object
| Constructor and Description |
|---|
PeerGenerator(ClassFile classFile,
long lastModified,
File includeDir,
File sourceDir,
boolean userDefinedMembers)
Constructs a new PeerGenerator for the given class.
|
public PeerGenerator(ClassFile classFile, long lastModified, File includeDir, File sourceDir, boolean userDefinedMembers)
classFile - the Java class that needs a C++ peerlastModified - the date the class file was last modifiedincludeDir - the directory containing the output header filessourceDir - the directory containing the output source filesuserDefinedMembers - true if <peer_class_name>_user.h should be generatedpublic void generate()
throws IOException
IOException - if an error occurs while writing the filespublic static void main(String[] args)
Copyright © 2012. All Rights Reserved.