Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

more::lang::ct_proto Class Reference

The runtime representation of a prototype. More...

#include <more/lang/ct_proto.h>

Inheritance diagram for more::lang::ct_proto:

Inheritance graph
[legend]
Collaboration diagram for more::lang::ct_proto:

Collaboration graph
[legend]
List of all members.

Public Types

Public Methods


Detailed Description

The runtime representation of a prototype.


Member Typedef Documentation

typedef ct_type const* const* more::lang::ct_proto::arg_type_iterator
 

typedef ct_type const** more::lang::ct_proto::arg_type_mutable_iterator
 

typedef ct_type const* more::lang::ct_proto::arg_type_type
 

typedef std::size_t more::lang::ct_proto::size_type
 

Reimplemented from more::lang::ct_type.


Constructor & Destructor Documentation

more::lang::ct_proto::ct_proto size_type    n_args,
ct_type const *    t_res = 0
[explicit]
 

virtual more::lang::ct_proto::~ct_proto   [virtual]
 


Member Function Documentation

size_type more::lang::ct_proto::arg_count   const [inline]
 

size_type more::lang::ct_proto::arg_count_this_far   const [inline]
 

ct_type const* more::lang::ct_proto::arg_type size_type    i const [inline]
 

Return the type of argument number i.

arg_type_iterator more::lang::ct_proto::arg_type_begin   const [inline]
 

arg_type_iterator more::lang::ct_proto::arg_type_end   const [inline]
 

arg_type_mutable_iterator more::lang::ct_proto::arg_type_mutable_begin   [inline]
 

arg_type_mutable_iterator more::lang::ct_proto::arg_type_mutable_end   [inline]
 

void more::lang::ct_proto::call fn_ptr_t    f,
void *    ret,
void **    args
const
 

virtual ct_proto* more::lang::ct_proto::clone   const [virtual]
 

Return an ct_type identical to this.

Reimplemented from more::lang::ct_type.

virtual void more::lang::ct_proto::construct_copy void *    p,
void *    src
const [virtual]
 

Constructor the object at p as a copy of src.

Reimplemented from more::lang::ct_type.

Reimplemented in more::lang::rt_closure_proto.

virtual void more::lang::ct_proto::destruct void *    p const [virtual]
 

Destruct the object at p.

Reimplemented from more::lang::ct_type.

Reimplemented in more::lang::rt_closure_proto.

virtual bool more::lang::ct_proto::equal void *    p0,
void *    p1
const [virtual]
 

True iff the fuction pointers pointed to by p0 and p1 are equal.

Reimplemented from more::lang::ct_type.

Reimplemented in more::lang::rt_closure_proto.

virtual bool more::lang::ct_proto::equal_to ct_type const *    const [virtual]
 

Reimplemented from more::lang::ct_type.

void more::lang::ct_proto::freeze   [inline]
 

virtual void more::lang::ct_proto::hash hash_type   const [virtual]
 

Reimplemented from more::lang::ct_type.

bool more::lang::ct_proto::is_frozen   const [inline]
 

void more::lang::ct_proto::print_declaration_post std::ostream &   ,
printopt_type   ,
cx_identifier const *const *    args
const
 

virtual void more::lang::ct_proto::print_declaration_post std::ostream &   ,
printopt_type   
const [virtual]
 

Print the part of the declaration which succeeds the variable or function name.

Reimplemented from more::lang::ct_type.

virtual void more::lang::ct_proto::print_declaration_pre std::ostream &   ,
printopt_type   
const [virtual]
 

Print the part of the declaration which precedes the variable or function name.

Reimplemented from more::lang::ct_type.

ct_type const* more::lang::ct_proto::result_type   const [inline]
 

The type of the return value.

void more::lang::ct_proto::set_arg_type size_type    i,
ct_type const *    t
[inline]
 

Set the type of argument number i.

void more::lang::ct_proto::set_result_type ct_type const *    rc [inline]
 

Set the type of the return value.


The documentation for this class was generated from the following file:
Generated on Sat Sep 7 19:12:48 2002 for more with Doxygen 1.2.13.1. Doxygen 1.2.13.1 is written and copyright 1997-2002 by Dimitri van Heesch.