svcore
1.9
|
PluginXml.cpp File Reference
#include "PluginXml.h"
#include <QRegExp>
#include <QXmlAttributes>
#include <QDomDocument>
#include <QDomElement>
#include <QDomNamedNodeMap>
#include <QDomAttr>
#include <QTextStream>
#include <vamp-hostsdk/PluginBase.h>
#include "RealTimePluginInstance.h"
#include <iostream>
Include dependency graph for PluginXml.cpp:
Go to the source code of this file.
Macros | |
#define | CHECK_ATTRIBUTE(ATTRIBUTE, ACCESSOR) |
Macro Definition Documentation
#define CHECK_ATTRIBUTE | ( | ATTRIBUTE, | |
ACCESSOR | |||
) |
Value:
QString ATTRIBUTE = attrs.value(#ATTRIBUTE); \
if (ATTRIBUTE != "" && ATTRIBUTE != ACCESSOR().c_str()) { \
cerr << "WARNING: PluginXml::setParameters: Plugin " \
<< #ATTRIBUTE << " does not match (attributes have \"" \
<< ATTRIBUTE << "\", my " \
<< #ATTRIBUTE << " is \"" << ACCESSOR() << "\")" << endl; \
}
Definition at line 119 of file PluginXml.cpp.
Referenced by PluginXml::setParameters().
Generated by 1.8.11