Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openlcb::CDIUtils::XMLDocDeleter Struct Reference

Helper class for unique_ptr to delete an XML document correctly. More...

#include <CDIUtils.hxx>

Public Member Functions

void operator() (XMLDoc *doc)
 Deletion operator.
 

Detailed Description

Helper class for unique_ptr to delete an XML document correctly.

Definition at line 47 of file CDIUtils.hxx.

Member Function Documentation

◆ operator()()

void openlcb::CDIUtils::XMLDocDeleter::operator() ( XMLDoc *  doc)
inline

Deletion operator.

Parameters
docthe object to be freed.

Definition at line 50 of file CDIUtils.hxx.


The documentation for this struct was generated from the following file: