Skip to main content

emit_status_header

Function emit_status_header 

Source
pub fn emit_status_header(out: &mut String) -> Result<(), CppGenError>
Expand description

Writes the complete status header into out.

The header contains a block comment with a spec reference, opens the dds::core::status namespace, emits the 13 status classes and closes the namespaces again.

§Errors

Returns CppGenError::Internal if writing to the String buffer fails (should practically never happen).