MCPcopy Create free account
hub / github.com/brofield/simpleini / SetMultiKey

Method SetMultiKey

SimpleIni.h:535–537  ·  view source on GitHub ↗

Should multiple identical keys be permitted in the file. If set to false then the last value encountered will be used as the value of the key. If set to true, then all values will be available to be queried. For example, with the following input: [section] test=value1 test=value2 Then with SetMultiKey(true), bot

Source from the content-addressed store, hash-verified

533 \param a_bAllowMultiKey Allow multi-keys in the source?
534 */
535 void SetMultiKey(bool a_bAllowMultiKey = true) {
536 m_bAllowMultiKey = a_bAllowMultiKey;
537 }
538
539 /** Get the storage format of the INI data. */
540 bool IsMultiKey() const { return m_bAllowMultiKey; }

Callers 6

TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TESTFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected