| 75 | } |
| 76 | |
| 77 | void PrintSelf(ostream& os, vtkIndent indent) const |
| 78 | { |
| 79 | if (this->IsEmpty()) |
| 80 | { |
| 81 | os << indent << "FieldInfo (" << this << "): Empty" << endl; |
| 82 | } |
| 83 | else |
| 84 | { |
| 85 | os << indent << "FieldInfo (" << this << ")\n"; |
| 86 | os << indent.GetNextIndent() << "Name: " << this->Name << endl; |
| 87 | os << indent.GetNextIndent() << "Type: " << this->Type << endl; |
| 88 | os << indent.GetNextIndent() << "NumberOfComponents: " << this->NumberOfComponents << endl; |
| 89 | os << indent.GetNextIndent() << "LUT: " << this->LUT << endl; |
| 90 | os << indent.GetNextIndent() << "Information: " << this->Information << endl; |
| 91 | os << indent.GetNextIndent() << "Location: [ "; |
| 92 | for (const int& loc : this->Location) |
| 93 | { |
| 94 | os << loc << " "; |
| 95 | } |
| 96 | os << "]" << endl; |
| 97 | os << indent.GetNextIndent() << "OutputLocation: " << this->OutputLocation << endl; |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | bool IsEmpty() const { return this->Type == VTK_VOID; } |
| 102 |
nothing calls this directly
no test coverage detected