MCPcopy Create free account
hub / github.com/Kitware/VTK / PrintSelf

Method PrintSelf

Common/Core/vtkObject.cxx:243–258  ·  view source on GitHub ↗

Chaining method to print an object's instance variables, as well as its superclasses.

Source from the content-addressed store, hash-verified

241// Chaining method to print an object's instance variables, as well as
242// its superclasses.
243void vtkObject::PrintSelf(ostream& os, vtkIndent indent)
244{
245 os << indent << "Debug: " << (this->Debug ? "On\n" : "Off\n");
246 os << indent << "Modified Time: " << this->GetMTime() << "\n";
247 this->Superclass::PrintSelf(os, indent);
248 os << indent << "Registered Events: ";
249 if (this->SubjectHelper)
250 {
251 os << endl;
252 this->SubjectHelper->PrintSelf(os, indent.GetNextIndent());
253 }
254 else
255 {
256 os << "(none)\n";
257 }
258}
259
260//------------------------------------------------------------------------------
261// Turn debugging output on.

Callers

nothing calls this directly

Calls 3

GetMTimeMethod · 0.95
GetNextIndentMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected