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 *>> ¶meters)Parameters
| Name | Description |
|---|---|
commands | Commands to convert. Their items must stay alive while the result is used. |
parameters | Storage 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.