Chaining method to print an object's instance variables, as well as its superclasses.
| 241 | // Chaining method to print an object's instance variables, as well as |
| 242 | // its superclasses. |
| 243 | void 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. |
nothing calls this directly
no test coverage detected