public class NamespaceOutputManager extends Object implements OutputManager
OutputManager for managing the creation of C++98 source files as the target of code generation.
The character encoding for the Writer is UTF-8.| Constructor and Description |
|---|
NamespaceOutputManager(String baseDirectoryName,
String namespaceName)
Create a new
OutputManager for generating C++98 source files into a given package. |
| Modifier and Type | Method and Description |
|---|---|
Writer |
createOutput(String name)
Create a new output which will be a C++98 source file in the given package.
|
public NamespaceOutputManager(String baseDirectoryName, String namespaceName) throws IOException
OutputManager for generating C++98 source files into a given package.baseDirectoryName - for the generated source code.namespaceName - for the generated source code relative to the baseDirectoryName.IOException - if an error occurs during outputpublic Writer createOutput(String name) throws IOException
Writer should be closed once the caller has finished with it. The Writer is
buffer for efficient IO operations.createOutput in interface OutputManagername - the name of the C++ class.Writer to which the source code should be written.IOException - if an error occurs during output.Copyright © 2013 Real Logic Ltd. All Rights Reserved.