29 lines
716 B
C++
Executable File
29 lines
716 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* * XmlHelper - convert xml to a (dynamic) dds structure and save a dds structure as xml
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <dds/core/xtypes/DynamicData.hpp>
|
|
#include <DDS/Generic/topic_description.h>
|
|
#include <QString>
|
|
|
|
class QDomDocument;
|
|
class QDomElement;
|
|
|
|
namespace XmlHelper
|
|
{
|
|
void dds2Xml(const dds::core::xtypes::DynamicData &data,
|
|
const QString &topicName,
|
|
QDomDocument &doc,
|
|
QDomElement ¤tNode);
|
|
QString topicNameFromXml(const QDomElement ¤tNode);
|
|
dds::core::xtypes::DynamicData xml2Dds(const QDomElement ¤tNode,
|
|
const DDSGeneric::TopicDescription &td);
|
|
}
|
|
|