Zen
A cross-platform functional programming language
Public Member Functions | Private Attributes

QualifiedTypeWriter Class Reference

Class that writes out reference strings for qualified types. More...

List of all members.

Public Member Functions

 QualifiedTypeWriter (const Ast::QualifiedType &ptype, const z::string &psep, const TypeSpecRefWriter::Format::T &format=TypeSpecRefWriter::Format::None)
 Default constructor.
z::streamwrite (z::stream &os) const
 Writes the qualified type to the output stream.

Private Attributes

const Ast::QualifiedTypetype
 The qualified type to write out.
const z::string sep
 The separator.
const TypeSpecRefWriter::Format::T _format
 The output format.

Detailed Description

Class that writes out reference strings for qualified types.


Constructor & Destructor Documentation

QualifiedTypeWriter ( const Ast::QualifiedType ptype,
const z::string psep,
const TypeSpecRefWriter::Format::T format = TypeSpecRefWriter::Format::None 
) [inline]

Default constructor.

Parameters:
ptypeThe TypeSpec to generate code for.
psepThe separator to use between type names
formatThe format of the output

Member Function Documentation

z::stream & write ( z::stream os) const

Writes the qualified type to the output stream.

Parameters:
osThe output stream
Returns:
The output stream

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines