Changeset 632 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/Parameter.cpp
- Timestamp:
- Jun 5, 2008, 10:04:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/src/Lexical/Parameter.cpp
r603 r632 1 1 #include "stdafx.h" 2 3 Parameter::Parameter( const std::string &varName, const Type &type, bool isRef, const std::string initValue ) 4 : Type( type ) 5 , varName( varName ) 6 , isRef( isRef ) 7 , isArray( false ) 8 , initValue( initValue ) 9 { 10 } 11 12 Parameter::Parameter( const Parameter ¶m, const Type &type ) 13 : Type( type ) 14 , varName( param.varName ) 15 , isRef( param.isRef ) 16 , isArray( param.isArray ) 17 , subscripts( param.subscripts ) 18 , initValue( param.initValue ) 19 { 20 } 21 22 Parameter::Parameter( const Parameter ¶m ) 23 : Type( param ) 24 , varName( param.varName ) 25 , isRef( param.isRef ) 26 , isArray( param.isArray ) 27 , subscripts( param.subscripts ) 28 , initValue( param.initValue ) 29 { 30 } 31 32 Parameter::Parameter() 33 { 34 } 35 36 Parameter::~Parameter() 37 { 38 } 2 39 3 40 bool Parameter::Equals( const Parameter ¶m, bool isContravariant ) const
Note:
See TracChangeset
for help on using the changeset viewer.