Zen
A cross-platform functional programming language
|
Owner template. More...
#include <Ast.hpp>
Public Member Functions | |
OwnerTemplate (const AccessType::T &accessType, const z::string &name, const Ast::QualifiedType &type) | |
Default constructor. | |
const Ast::QualifiedType & | getType () const |
Returns the type that this templated container holds. | |
Private Member Functions | |
virtual void | visit (TypeSpec::Visitor &visitor) const |
Visitor pattern implementation. | |
Private Attributes | |
const Ast::QualifiedType & | _type |
Owner template.
This is a container that owns the elements, that is, it is responsible for deleting the contained items
OwnerTemplate | ( | const AccessType::T & | accessType, |
const z::string & | name, | ||
const Ast::QualifiedType & | type | ||
) | [inline] |
Default constructor.
accessType | The AccessType for this template definition |
name | Name of this template definition |
type | Type of items stored in this template definition |
const Ast::QualifiedType& getType | ( | ) | const [inline] |
Returns the type that this templated container holds.
void visit | ( | TypeSpec::Visitor & | visitor | ) | const [private, virtual] |
const Ast::QualifiedType& _type [private] |