extractable doc improvement
Brought to you by:
johnston
|
From: <ivt...@li...> - 2000-02-01 19:28:57
|
Patch: ivtools-000201-johnston-016
For: ivtools-0.8
Author: joh...@us...
This is an intermediate patch to ivtools-0.8. To apply, cd to the
top-level directory of the ivtools source tree (the directory with src
and config subdirs), and apply like this:
patch -p0 <ThisFile
Summary of Changes:
- give variable names to all the constructor arguments in
Attribute/attrvalue.h and ComTerp/comvalue.h, to improve the PERCEPS
extracted web page.
Index: Attribute/attrvalue.h
diff -c Attribute/attrvalue.h:1.1 Attribute/attrvalue.h:1.2
*** Attribute/attrvalue.h:1.1 Tue Feb 1 23:08:40 2000
--- src/Attribute/attrvalue.h Tue Feb 1 23:08:40 2000
***************
*** 97,129 ****
AttributeValue();
// default constructor (UnknownType constructor).
! AttributeValue(char);
// CharType constructor.
! AttributeValue(unsigned char);
// UCharType constructor.
! AttributeValue(short);
// ShortType constructor.
! AttributeValue(unsigned short);
// UShortType constructor.
! AttributeValue(int, ValueType);
// IntType constructor or any other int-like value.
! AttributeValue(unsigned int, ValueType);
// UIntType constructor or any other unsigned-int-like value including SymbolType.
! AttributeValue(unsigned int, unsigned int, ValueType=KeywordType);
// KeywordType constructor (or can be used for ObjectType).
! AttributeValue(long);
// LongType constructor.
! AttributeValue(unsigned long);
// ULongType constructor.
! AttributeValue(float);
// FloatType constructor.
AttributeValue(double);
// DoubleType constructor.
! AttributeValue(int class_symid, void*);
// ObjectType constructor.
! AttributeValue(AttributeValueList*);
// ArrayType constructor.
! AttributeValue(const char*);
// StringType constructor.
virtual ~AttributeValue();
--- 97,129 ----
AttributeValue();
// default constructor (UnknownType constructor).
! AttributeValue(char val);
// CharType constructor.
! AttributeValue(unsigned char val);
// UCharType constructor.
! AttributeValue(short val);
// ShortType constructor.
! AttributeValue(unsigned short val);
// UShortType constructor.
! AttributeValue(int val, ValueType type);
// IntType constructor or any other int-like value.
! AttributeValue(unsigned int val, ValueType type);
// UIntType constructor or any other unsigned-int-like value including SymbolType.
! AttributeValue(unsigned int keysym, unsigned int narg, ValueType=KeywordType);
// KeywordType constructor (or can be used for ObjectType).
! AttributeValue(long val);
// LongType constructor.
! AttributeValue(unsigned long val);
// ULongType constructor.
! AttributeValue(float val);
// FloatType constructor.
AttributeValue(double);
// DoubleType constructor.
! AttributeValue(int class_symid, void* objptr);
// ObjectType constructor.
! AttributeValue(AttributeValueList* listptr);
// ArrayType constructor.
! AttributeValue(const char* val);
// StringType constructor.
virtual ~AttributeValue();
Index: ComTerp/comvalue.h
diff -c ComTerp/comvalue.h:1.1 ComTerp/comvalue.h:1.2
*** ComTerp/comvalue.h:1.1 Tue Feb 1 23:08:42 2000
--- src/ComTerp/comvalue.h Tue Feb 1 23:08:42 2000
***************
*** 53,85 ****
ComValue();
// construct of UnknownType.
! ComValue(char);
// CharType constructor.
! ComValue(unsigned char);
// UCharType constructor.
! ComValue(short);
// ShortType constructor.
! ComValue(unsigned short);
// UShortType constructor.
! ComValue(int, ValueType=IntType);
// IntType constructor or any other int-like value.
! ComValue(unsigned int, ValueType=IntType);
// UIntType constructor or any other unsigned-int-like value including SymbolType.
! ComValue(unsigned int, unsigned int, ValueType=KeywordType);
// KeywordType constructor (or can be used for ObjectType).
! ComValue(long);
// LongType constructor.
! ComValue(unsigned long);
// ULongType constructor.
! ComValue(float);
// FloatType constructor.
! ComValue(double);
// DoubleType constructor.
! ComValue(int class_symid, void*);
// ObjectType constructor.
! ComValue(AttributeValueList*);
// ArrayType constructor.
! ComValue(const char*);
// StringType constructor.
void init();
--- 53,85 ----
ComValue();
// construct of UnknownType.
! ComValue(char val);
// CharType constructor.
! ComValue(unsigned char val);
// UCharType constructor.
! ComValue(short val);
// ShortType constructor.
! ComValue(unsigned short val);
// UShortType constructor.
! ComValue(int val, ValueType type=ComValue::IntType);
// IntType constructor or any other int-like value.
! ComValue(unsigned int val, ValueType type=ComValue::IntType);
// UIntType constructor or any other unsigned-int-like value including SymbolType.
! ComValue(unsigned int val, unsigned int, ValueType type=ComValue::KeywordType);
// KeywordType constructor (or can be used for ObjectType).
! ComValue(long val);
// LongType constructor.
! ComValue(unsigned long val);
// ULongType constructor.
! ComValue(float val);
// FloatType constructor.
! ComValue(double val);
// DoubleType constructor.
! ComValue(int class_symid val, void* ptr);
// ObjectType constructor.
! ComValue(AttributeValueList* listptr);
// ArrayType constructor.
! ComValue(const char* val);
// StringType constructor.
void init();
|