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

CCM::Variable Class Reference

Inheritance diagram for CCM::Variable:

CCM::VariableDecl List of all members.

Detailed Description

Represents a variable or a class field.


Public Member Functions

 Variable (string name, Type type, Class stubClass, bool array, List attrs, bool _public)
 Creates an uninitialized (null) variable or class field.

 Variable (Variable v)
 Clones the given variable.

 Variable (string name, Type type, Class stubClass, bool array, List attrs, bool _public, Object value)
 Creates an initialized variable or class field.

override string ToString ()

Public Attributes

Object value = null
 Current variable value.


Constructor & Destructor Documentation

CCM::Variable::Variable string  name,
Type  type,
Class  stubClass,
bool  array,
List  attrs,
bool  _public
 

Creates an uninitialized (null) variable or class field.

Parameters:
name Variable name
type Variable type (e. g. 0.GetType() )
stubClass If type is Class.GetType(), then the variable is a stub reference and stubClass the concrete stub class
array If true, then this variable is an array of type
attrs List of Attributes
_public Whether this is a public field

CCM::Variable::Variable Variable  v  ) 
 

Clones the given variable.

CCM::Variable::Variable string  name,
Type  type,
Class  stubClass,
bool  array,
List  attrs,
bool  _public,
Object  value
 

Creates an initialized variable or class field.

Parameters:
name Variable name
type Variable type (e. g. 0.GetType() )
stubClass If type is Class.GetType(), then the variable is a stub reference and stubClass the concrete stub class
array If true, then this variable is an array of type
attrs List of Attributes
_public Whether this is a public field
value Initial value


Member Function Documentation

override string CCM::Variable::ToString  ) 
 

Reimplemented from CCM::VariableDecl.


Member Data Documentation

Object CCM::Variable::value = null
 

Current variable value.

Arrays are stored as List of values.


The documentation for this class was generated from the following file:
Generated on Mon Jun 21 01:20:50 2004 for cs2ccmb by doxygen 1.3.7