Home | History | Annotate | Download | only in translator

Lines Matching refs:constructor

264     TString constructor;
268 constructor += name + " " + name + "_ctor(";
272 constructor += TypeString(ctorType) + " " + name + "(";
279 constructor += TypeString(type) + " x" + str(parameter) + ArrayString(type);
283 constructor += ", ";
287 constructor += ")\n"
292 constructor += " " + name + " structure = {";
296 constructor += " return " + TypeString(ctorType) + "(";
311 constructor += TString((row == col) ? "x0" : "0.0");
315 constructor += ", ";
328 constructor += TString("x0") + "[" + str(col) + "][" + str(row) + "]";
332 constructor += TString((row == col) ? "1.0" : "0.0");
337 constructor += ", ";
346 constructor += "x0";
360 constructor += "x" + str(parameterIndex);
384 case 1: constructor += ".x"; break;
385 case 2: constructor += ".xy"; break;
386 case 3: constructor += ".xyz"; break;
387 case 4: constructor += ".xyzw"; break;
400 constructor += "[" + str(column) + "]";
406 case 1: constructor += ".x"; break;
407 case 2: constructor += ".xy"; break;
408 case 3: constructor += ".xyz"; break;
420 constructor += ", x" + str(parameterIndex);
436 constructor += ", ";
443 constructor += "};\n"
449 constructor += ");\n"
453 mConstructors.insert(constructor);
465 for (Constructors::const_iterator constructor = mConstructors.begin();
466 constructor != mConstructors.end();
467 constructor++)
469 out << *constructor;