Parsing & generating a group of SDL clauses.
More...
#include <SdlDataPacketInterface.h>
Parsing & generating a group of SDL clauses.
◆ SdlDataPacketInterface()
ph::SdlDataPacketInterface::SdlDataPacketInterface |
( |
| ) |
|
◆ ~SdlDataPacketInterface()
ph::SdlDataPacketInterface::~SdlDataPacketInterface |
( |
| ) |
|
|
virtualdefault |
◆ generate()
virtual void ph::SdlDataPacketInterface::generate |
( |
const SdlOutputClauses & | clauses, |
|
|
const SdlOutputContext & | ctx, |
|
|
std::string_view | targetName, |
|
|
const ISdlResource * | targetInstance, |
|
|
std::string & | out_packetCommand ) const |
|
pure virtual |
Turn all data in the clauses
into a packet command.
- Parameters
-
| targetClass | The class current packet is being generated for. Null if unavailable. |
| targetName | The target's name current packet is being generated for. Empty if unavailable. |
| targetInstance | Pointer to the instance current packet is being generated for. Null if unavailable. |
[out] | out_packetCommand | Generated packet command. Results are appended. |
Implemented in ph::SdlInlinePacketInterface.
◆ parse()
Turn a packet command into out_clauses
.
- Parameters
-
| targetClass | The class current packet is being parsed for. Null if unavailable. |
| targetName | The target's name current packet is being parsed for. Empty if unavailable. |
| targetInstance | Pointer to the instance current packet is being parsed for. Null if unavailable. |
[out] | out_clauses | Parsed clauses. Results are appended and will be used for initializing the target instance. |
Implemented in ph::SdlInlinePacketInterface.
The documentation for this class was generated from the following files: