Skip to content
Start free evaluation

pdcomm::formattedProgramStoreCommands

Function

Converts wrapper commands into the C command structures of the store API.

inline std::vector<PdcommGemFormattedProgramStoreCommand> formattedProgramStoreCommands(const std::vector<GemFormattedProgramStoreCommand> &commands, std::vector<std::vector<const PdcommSecsItem *>> &parameters)

Declared in: #include <pdcomm_gem_formatted_program_store.hpp>

Parameters

NameDescription
commandsCommands to convert. Their items must stay alive while the result is used.
parametersStorage for the per-command parameter arrays. It is cleared and filled; the returned structures point into it, so keep it alive and unchanged while the result is used.

Returns

One PdcommGemFormattedProgramStoreCommand per command.