style cleanup: comment blocks

This commit is contained in:
Campbell Barton
2012-03-09 18:28:30 +00:00
parent de4bd55e01
commit 89a963fb7f
236 changed files with 1873 additions and 1939 deletions

View File

@@ -24,20 +24,20 @@
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
/**
* pre: false
* effect: constructs a new CStringValue
*/
CStringValue::CStringValue()
/*
pre: false
effect: constructs a new CStringValue
*/
{
m_strString = "[Illegal String constructor call]";
}
/**
* pre:
* effect: constructs a new CStringValue containing text txt
*/
CStringValue::CStringValue(const char *txt,const char *name,AllocationTYPE alloctype)
/*
pre:
effect: constructs a new CStringValue containing text txt
*/
{
m_strString = txt;
SetName(name);
@@ -52,23 +52,23 @@ effect: constructs a new CStringValue containing text txt
}
/**
* pre:
* ret: a new object containing the result of applying operator op to this
* object and val
*/
CValue* CStringValue::Calc(VALUE_OPERATOR op, CValue *val)
/*
pre:
ret: a new object containing the result of applying operator op to this
object and val
*/
{
//return val->CalrcString(op, this);
return val->CalcFinal(VALUE_STRING_TYPE, op, this);
}
/**
* pre: the type of val is dtype
* ret: a new object containing the result of applying operator op to val and
* this object
*/
CValue* CStringValue::CalcFinal(VALUE_DATA_TYPE dtype, VALUE_OPERATOR op, CValue *val)
/*
pre: the type of val is dtype
ret: a new object containing the result of applying operator op to val and
this object
*/
{
CValue *ret;