A cross-platform functional programming language

OwnerTemplate Class Reference

Owner template. More...

#include <Ast.hpp>

Inheritance diagram for OwnerTemplate:
TemplateTypeSpec ChildTypeSpec TypeSpec Node

List of all members.

Public Member Functions

 OwnerTemplate (const AccessType::T &accessType, const z::string &name, const Ast::QualifiedType &type)
 Default constructor.
const Ast::QualifiedTypegetType () 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

Detailed Description

Owner template.

This is a container that owns the elements, that is, it is responsible for deleting the contained items

Constructor & Destructor Documentation

OwnerTemplate ( const AccessType::T accessType,
const z::string name,
const Ast::QualifiedType type 
) [inline]

Default constructor.

accessTypeThe AccessType for this template definition
nameName of this template definition
typeType of items stored in this template definition

Member Function Documentation

const Ast::QualifiedType& getType ( ) const [inline]

Returns the type that this templated container holds.

The contained type
void visit ( TypeSpec::Visitor visitor) const [private, virtual]

Visitor pattern implementation.

visitorThe visitor object.

Implements TypeSpec.

Member Data Documentation

const Ast::QualifiedType& _type [private]
The type contained by this list

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