void FilterWriter::WriteFilterFile(const char* tag, tinyxml2::XMLNode* parentNode, const Filter &filter, const std::string &fileName)
{
    tinyxml2::XMLElement *includeElement = m_document->NewElement(tag);
    includeElement->SetAttribute("Include", fileName.data());

    tinyxml2::XMLElement *filterElement = m_document->NewElement("Filter");
    filterElement->SetText(filter.getFilterName().data());

    includeElement->InsertEndChild(filterElement);
    parentNode->InsertEndChild(includeElement);
}
void FilterWriter::WriteFilter(tinyxml2::XMLNode* parentNode, const Filter &filter)
{
    tinyxml2::XMLElement* filterElement = m_document->NewElement("Filter");
    filterElement->SetAttribute("Include", filter.getFilterName().data());

    tinyxml2::XMLElement* uuidElement = m_document->NewElement("UniqueIdentifier");
    uuidElement->SetText(filter.getUuid().data());

    filterElement->InsertFirstChild(uuidElement);
    parentNode->InsertEndChild(filterElement);

}