MCPcopy Create free account
hub / github.com/Kitware/ParaView / GetEntryText

Method GetEntryText

Remoting/ServerManager/vtkSMEnumerationDomain.cxx:76–84  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

74
75//---------------------------------------------------------------------------
76const 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//---------------------------------------------------------------------------
87const char* vtkSMEnumerationDomain::GetInfoText(unsigned int idx)

Callers 15

GetEntryTextForValueMethod · 0.95
ChildSaveStateMethod · 0.95
fillPropertyListMethod · 0.80
internalDomainChangedMethod · 0.80
getSelectionPropertyMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected