Class RuntimeConfigList¶
Defined in File RuntimeConfigList.hpp
Class Documentation¶
-
class RuntimeConfigList¶
Public Functions
-
RuntimeConfigList()¶
-
RuntimeConfigList(size_t size)¶
-
RuntimeConfigList(RuntimeConfigList &&other) noexcept¶
-
RuntimeConfigList &operator=(RuntimeConfigList &&other) noexcept¶
-
RuntimeConfigList &operator=(const RuntimeConfigList &other)¶
-
void push_back(const RuntimeConfig &runtimeConfig)¶
Push runtime config into runtime config list.
- Parameters
rcHandle – [in] Handle to access the runtime config.
- Returns
Error code. Returns SNPE_SUCCESS if runtime config pushed successfully.
-
RuntimeConfig &operator[](size_t index)¶
Copy-assigns the contents of rclSrcHandle into rclDstHandle.
- Parameters
idx – [in] Destination RuntimeConfigList handle.
- Returns
SNPE_SUCCESS on successful copy-assignment.
-
const RuntimeConfig &operator[](size_t index) const¶
Copy-assigns the contents of rclSrcHandle into rclDstHandle.
- Parameters
idx – [in] Destination RuntimeConfigList handle.
- Returns
SNPE_SUCCESS on successful copy-assignment.
-
size_t size() const noexcept¶
Returns the number of runtime configs in the list.
- Returns
Returns number of entries in the runtimeConfigList.
-
size_t capacity() const noexcept¶
Returns the capacity of runtime configs in the list.
- Returns
Returns number of capacity in the runtimeConfigList.
-
void clear() noexcept¶
Removes all runtime configs from the list.
- Returns
Error code. Returns SNPE_SUCCESS if runtime config list is cleared successfully.
-
RuntimeConfigList()¶