------------------------------------------------------------------------------ If there is no flag for this array, return -1. If there is one: return 0 if off, 1 if on
| 921 | // If there is no flag for this array, return -1. |
| 922 | // If there is one: return 0 if off, 1 if on |
| 923 | int vtkFieldData::GetFlag(const char* field) |
| 924 | { |
| 925 | int index = this->FindFlag(field); |
| 926 | if (index == -1) |
| 927 | { |
| 928 | return -1; |
| 929 | } |
| 930 | else |
| 931 | { |
| 932 | return this->CopyFieldFlags[index].IsCopied; |
| 933 | } |
| 934 | } |
| 935 | |
| 936 | //------------------------------------------------------------------------------ |
| 937 | // Copy the fields list (with strcpy) |
no test coverage detected