------------------------------------------------------------------------------
| 863 | |
| 864 | //------------------------------------------------------------------------------ |
| 865 | void vtkAlgorithm::PrintSelf(ostream& os, vtkIndent indent) |
| 866 | { |
| 867 | this->Superclass::PrintSelf(os, indent); |
| 868 | if (this->HasExecutive()) |
| 869 | { |
| 870 | os << indent << "Executive: " << this->Executive << "\n"; |
| 871 | } |
| 872 | else |
| 873 | { |
| 874 | os << indent << "Executive: (none)\n"; |
| 875 | } |
| 876 | |
| 877 | os << indent << "ErrorCode: " << vtkErrorCode::GetStringFromErrorCode(this->ErrorCode) << endl; |
| 878 | |
| 879 | if (this->Information) |
| 880 | { |
| 881 | os << indent << "Information: " << this->Information << "\n"; |
| 882 | } |
| 883 | else |
| 884 | { |
| 885 | os << indent << "Information: (none)\n"; |
| 886 | } |
| 887 | |
| 888 | os << indent << "AbortExecute: " << (this->AbortExecute ? "On\n" : "Off\n"); |
| 889 | os << indent << "Progress: " << this->Progress << "\n"; |
| 890 | if (this->ProgressText) |
| 891 | { |
| 892 | os << indent << "Progress Text: " << this->ProgressText << "\n"; |
| 893 | } |
| 894 | else |
| 895 | { |
| 896 | os << indent << "Progress Text: (None)\n"; |
| 897 | } |
| 898 | } |
| 899 | |
| 900 | //------------------------------------------------------------------------------ |
| 901 | vtkTypeBool vtkAlgorithm::HasExecutive() |
nothing calls this directly
no test coverage detected