Zen
A cross-platform functional programming language
|
Class to write out parameter lists. More...
Public Types | |
enum | WriteMode { wmNone, wmEngine, wmPCtx, wmGCtx } |
Write Mode. More... | |
Public Member Functions | |
ParamWriter (const T &type, const WriteMode &writeMode, const TypeSpecRefWriter::Format::T &format) | |
Default constructor. | |
z::stream & | write (z::stream &os) const |
Writes the type reference to the output stream. | |
Private Attributes | |
const T & | _type |
Outer type. | |
const WriteMode | _writeMode |
The write mode. | |
const TypeSpecRefWriter::Format::T | _format |
The output format. |
Class to write out parameter lists.
enum WriteMode |
ParamWriter | ( | const T & | type, |
const WriteMode & | writeMode, | ||
const TypeSpecRefWriter::Format::T & | format | ||
) | [inline] |
Default constructor.
type | The type whose parameters are to be written |
writeMode | One of the modes listed in the enum |
format | The format of the output |
Writes the type reference to the output stream.
os | The output stream |