Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Template_spec Class Reference

#include <template_i.h>

Collaboration diagram for Template_spec:

Collaboration graph
[legend]
List of all members.

Public Methods

 Template_spec (Type_vector args, Class_symbol *defn)
 ~Template_spec ()
void add_code (Ptree *tree)
bool matches (const Type_vector &rhs) const
Class_symbolget_class () const
Ptreeget_code () const

Private Attributes

Type_vector args
Class_symboldefn
Ptreecode

Constructor & Destructor Documentation

Template_spec::Template_spec Type_vector    args,
Class_symbol   defn
 

Definition at line 78 of file template.cc.

References Type_vector.

Template_spec::~Template_spec  
 

Definition at line 85 of file template.cc.


Member Function Documentation

void Template_spec::add_code Ptree   tree
 

Definition at line 91 of file template.cc.

References Ptree::Append(), code, and Ptree::IsLeaf().

Referenced by Template_class_symbol::get_specialisation().

Class_symbol * Template_spec::get_class   const [inline]
 

Definition at line 112 of file template_i.h.

References defn.

Ptree * Template_spec::get_code   const [inline]
 

Definition at line 119 of file template_i.h.

References code.

bool Template_spec::matches const Type_vector   rhs const
 

Definition at line 102 of file template.cc.

References args, and Type_vector.


Member Data Documentation

Type_vector Template_spec::args [private]
 

Definition at line 17 of file template_i.h.

Referenced by matches().

Ptree* Template_spec::code [private]
 

Definition at line 19 of file template_i.h.

Referenced by add_code(), and get_code().

Class_symbol* Template_spec::defn [private]
 

Definition at line 18 of file template_i.h.

Referenced by get_class().


The documentation for this class was generated from the following files:
Generated on Mon Feb 10 17:36:42 2003 for VFiasco Semantics Compiler by doxygen1.2.15