Polaris: UntypedAssign Class Reference

UntypedAssign Class Reference

non-template for assignments into a Collection More...

#include <UntypedAssign.h>

Inheritance diagram for UntypedAssign:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 UntypedAssign ()
 ~UntypedAssign ()
Wrapperget_wrap (Listable *)
 Return the object's wrapper.
void set_pulled (Listable *l, int i)
 Set l->pulled(i).

Public Attributes

Boolean _used
 Not available in the current implementation.
Wrapper_wrap
RefElement< Listable_elem

Detailed Description

non-template for assignments into a Collection

Polaris C++ VDL

See also:
Assign.h

DESCRIPTION

A 2-tuple which contains the state of a list and an element,

This class is to be used temporarily as:

    for (Iterator<Expression> iter = expr_list; iter.valid(); ++iter) {
        Assign<Expression> a = iter.assign();
        a = simplify( iter.pull() );
    }

Definition at line 37 of file UntypedAssign.h.


Constructor & Destructor Documentation

UntypedAssign::UntypedAssign  ) 
 

Definition at line 12 of file UntypedAssign.cc.

References register_instance().

UntypedAssign::~UntypedAssign  ) 
 

Definition at line 19 of file UntypedAssign.cc.

References _elem, _wrap, RefElement< T >::grab(), Wrapper::ref_dec(), unregister_instance(), and RefElement< T >::valid().


Member Function Documentation

Wrapper * UntypedAssign::get_wrap Listable  ) 
 

Return the object's wrapper.

Definition at line 38 of file UntypedAssign.cc.

Referenced by Assign< T >::Assign().

void UntypedAssign::set_pulled Listable l,
int  i
 

Set l->pulled(i).

Definition at line 44 of file UntypedAssign.cc.

Referenced by Assign< T >::operator=().


Member Data Documentation

Boolean UntypedAssign::_used
 

Not available in the current implementation.

Definition at line 42 of file UntypedAssign.h.

Wrapper* UntypedAssign::_wrap
 

Definition at line 45 of file UntypedAssign.h.

Referenced by ~UntypedAssign().

RefElement<Listable> UntypedAssign::_elem
 

Definition at line 46 of file UntypedAssign.h.

Referenced by ~UntypedAssign().


The documentation for this class was generated from the following files:
 © 1995-2005 University of Illinois, Urbana-Champaign. All rights reserved.  Fri Mar 25 23:08:38 2005