alma::tools::idlgen::comphelpgen::JavaPackageScout Class Reference
List of all members.
Detailed Description
Computes Java package information for IDL interfaces.
To save some programming effort, the packages are computed during a full run of org.openorb.compiler.generator.IdlToJava. Therefore, a full IDL-to-Java translation happens in memory, with the only used result being the Java packages. The rest gets lost in memory. This implementation is certainly not the best choice for performance, but as long as that's good enough, the gain in robustness should justify it.
- Author:
- hsommer
Constructor & Destructor Documentation
| alma::tools::idlgen::comphelpgen::JavaPackageScout::JavaPackageScout |
( |
|
) |
[inline, package] |
Member Function Documentation
| void alma::tools::idlgen::comphelpgen::JavaPackageScout::collectInterfacePackages |
( |
IdlObject |
root, |
|
|
String |
rootPackage | |
|
) |
| | [inline, package] |
| File alma::tools::idlgen::comphelpgen::JavaPackageScout::createDirectory |
( |
String |
name, |
|
|
File |
writeInto | |
|
) |
| | [inline] |
- See also:
- org.openorb.compiler.generator.IdlToJava::createDirectory(java.lang.String, java.io.File)
Referenced by createPrefixDirectories().
| File alma::tools::idlgen::comphelpgen::JavaPackageScout::createPrefixDirectories |
( |
String |
prefix, |
|
|
File |
writeInto | |
|
) |
| | [inline] |
- See also:
- org.openorb.compiler.generator.IdlToJava::createPrefixDirectories(java.lang.String, java.io.File)
References createDirectory().
| PrintWriter alma::tools::idlgen::comphelpgen::JavaPackageScout::fileAccess |
( |
File |
writeInto |
) |
[inline] |
Prevents file output (all will be lost in memory...).
- See also:
- IdlToJava::fileAccess(File)
| File alma::tools::idlgen::comphelpgen::JavaPackageScout::getDirectory |
( |
String |
name, |
|
|
File |
writeInto | |
|
) |
| | [inline] |
- See also:
- org.openorb.compiler.generator.IdlToJava::getDirectory(java.lang.String, java.io.File)
| String alma::tools::idlgen::comphelpgen::JavaPackageScout::getPackage |
( |
IdlInterface |
idlInterface |
) |
[inline, package] |
| void alma::tools::idlgen::comphelpgen::JavaPackageScout::translate_object_content |
( |
IdlObject |
obj, |
|
|
File |
writeInto, |
|
|
int |
translateType | |
|
) |
| | [inline] |
- See also:
- IdlToJava::translate_object_content(IdlObject, File, int)
References m_ifPkgMap.
| void alma::tools::idlgen::comphelpgen::JavaPackageScout::translate_operation |
( |
IdlObject |
obj, |
|
|
PrintWriter |
output | |
|
) |
| | [inline] |
Cutting off the tree traversal here is not only a performance optimization, but also a workaround for a bug (ArrayIndexOutOfBoundsEx) that otherwise would occur when translating sequence typedefs. TODO: better fix that bug
- See also:
- org.openorb.compiler.generator.IdlToJava::translate_operation(org.openorb.compiler.object.IdlObject, java.io.PrintWriter)
| void alma::tools::idlgen::comphelpgen::JavaPackageScout::write_helper |
( |
IdlObject |
obj, |
|
|
File |
writeInto | |
|
) |
| | [inline] |
- See also:
- org.openorb.compiler.generator.IdlToJava::write_helper(org.openorb.compiler.object.IdlObject, java.io.File)
| void alma::tools::idlgen::comphelpgen::JavaPackageScout::write_holder |
( |
IdlObject |
obj, |
|
|
File |
writeInto | |
|
) |
| | [inline] |
- See also:
- org.openorb.compiler.generator.IdlToJava::write_holder(org.openorb.compiler.object.IdlObject, java.io.File)
Member Data Documentation
The documentation for this class was generated from the following file: