MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / GetInt

Method GetInt

scintilla/lexlib/PropSetSimple.cxx:154–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154int PropSetSimple::GetInt(const char *key, int defaultValue) const {
155 std::string val = Get(key);
156 ExpandAllInPlace(*this, val, 100, VarChain(key));
157 if (!val.empty()) {
158 return atoi(val.c_str());
159 }
160 return defaultValue;
161}

Callers 3

GetPropertyIntMethod · 0.80
FoldMethod · 0.80
PropGetIntMethod · 0.80

Calls 2

ExpandAllInPlaceFunction · 0.85
VarChainClass · 0.85

Tested by

no test coverage detected