class ArrayValue
Defined at line 139 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/vmo/types.h
A value containing an array of numeric types. All methods wrap the corresponding functionality on |State|, and concrete implementations are available only for int64_t, uint64_t and double.
Functions
ArrayValue<T>
public void ArrayValue<T>()
Defined at line 143 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/vmo/types.h
Construct a default array value. Operations on this value are no-ops.
ArrayValue<T>
public void ArrayValue<T>(const ArrayValue<T> & other)
Defined at line 147 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/vmo/types.h
Allow moving, disallow copying.
ArrayValue<T>
public void ArrayValue<T>(ArrayValue<T> && other)
Defined at line 148 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/vmo/types.h
operator=
public ArrayValue<T> & operator=(const ArrayValue<T> & other)
Defined at line 149 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/vmo/types.h
~ArrayValue<T>
public void ~ArrayValue<T>()
operator=
public ArrayValue<T> & operator=(ArrayValue<T> && other)
Set
public void Set(size_t index, T value)
Set the value of the given index of this array.
Add
public void Add(size_t index, T value)
Add the given value to the value of this numeric metric.
Subtract
public void Subtract(size_t index, T value)
Subtract the given value from the value of this numeric metric.
operator bool
public bool operator bool()
Defined at line 164 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/vmo/types.h
Return true if this metric is stored in a buffer. False otherwise.