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

Method GetEntryTextForValue

Remoting/ServerManager/vtkSMEnumerationDomain.cxx:99–107  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

97
98//---------------------------------------------------------------------------
99const char* vtkSMEnumerationDomain::GetEntryTextForValue(int value)
100{
101 unsigned int idx = 0;
102 if (!this->IsInDomain(value, idx))
103 {
104 return nullptr;
105 }
106 return this->GetEntryText(idx);
107}
108
109//---------------------------------------------------------------------------
110int vtkSMEnumerationDomain::HasEntryText(const char* text)

Callers 3

GetPropertyMethod · 0.80

Calls 2

IsInDomainMethod · 0.95
GetEntryTextMethod · 0.95

Tested by

no test coverage detected