---------------------------------------------------------------------------
| 74 | |
| 75 | //--------------------------------------------------------------------------- |
| 76 | const char* vtkSMEnumerationDomain::GetEntryText(unsigned int idx) |
| 77 | { |
| 78 | if (idx >= static_cast<unsigned int>(this->EInternals->Entries.size())) |
| 79 | { |
| 80 | vtkErrorMacro("Invalid idx: " << idx); |
| 81 | return nullptr; |
| 82 | } |
| 83 | return this->EInternals->Entries[idx].Text.c_str(); |
| 84 | } |
| 85 | |
| 86 | //--------------------------------------------------------------------------- |
| 87 | const char* vtkSMEnumerationDomain::GetInfoText(unsigned int idx) |
no test coverage detected