Exemplo n.º 1
0
void TextureCoordinateNode::outputContext(ostream &printStream, const char *indentString) 
{
	if (0 < getNPoints()) {
		MFVec2f *point = getPointField();
		printStream <<  indentString << "\t" << "point ["  << endl;
		point->MField::outputContext(printStream, indentString, "\t\t");
		printStream << indentString << "\t" << "]" << endl;
	}
}
Exemplo n.º 2
0
const std::string IMDEventWorkspace::toString() const {
  std::ostringstream os;
  os << IMDWorkspace::toString();

  // Now box controller details
  std::vector<std::string> stats = getBoxControllerStats();
  for (size_t i = 0; i < stats.size(); i++) {
    os << stats[i] << "\n";
  }

  os << MultipleExperimentInfos::toString() << "\n";

  os << "Events: " << getNPoints() << "\n";
  return os.str();
}