MCPcopy Create free account
hub / github.com/Icinga/icinga2 / Add

Method Add

lib/base/array.cpp:81–89  ·  view source on GitHub ↗

* Adds a value to the array. * * @param value The value. */

Source from the content-addressed store, hash-verified

79 * @param value The value.
80 */
81void Array::Add(Value value)
82{
83 ObjectLock olock(this);
84
85 if (m_Frozen)
86 BOOST_THROW_EXCEPTION(std::invalid_argument("Array must not be modified."));
87
88 m_Data.push_back(std::move(value));
89}
90
91/**
92 * Returns an iterator to the beginning of the array.

Callers 15

TryActivateZonesStageMethod · 0.45
HandleRequestMethod · 0.45
HandleRequestMethod · 0.45
StatsFuncMethod · 0.45
GetStatusMethod · 0.45
CreateObjectMethod · 0.45
DeleteObjectHelperMethod · 0.45
DeleteObjectMethod · 0.45
RegisterMethod · 0.45
HandleRequestMethod · 0.45
GetAllParentsMethod · 0.45
AsyncTryActivateStageMethod · 0.45

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected