Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/gameengine/Expressions/StringValue.cpp')
-rw-r--r--source/gameengine/Expressions/StringValue.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/source/gameengine/Expressions/StringValue.cpp b/source/gameengine/Expressions/StringValue.cpp
index 29c72a29b71..2e29a39222b 100644
--- a/source/gameengine/Expressions/StringValue.cpp
+++ b/source/gameengine/Expressions/StringValue.cpp
@@ -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;