Torc  0.1
Classes | Variables
torc1wirebus.cpp File Reference
#include <QDir>
#include "torclogging.h"
#include "torcadminthread.h"
#include "torcinputs.h"
#include "torc1wirebus.h"
#include "torc1wireds18b20.h"
Include dependency graph for torc1wirebus.cpp:

Go to the source code of this file.

Classes

class  Torc1WireXSDFactory
 

Variables

static const QString wire1InputTypes
 
static const QString wire1Inputs
 
static const QString wire1Unique
 
Torc1WireXSDFactory Torc1WireXSDFactory
 

Variable Documentation

const QString wire1Inputs
static
Initial value:
=
QStringLiteral(" <xs:element minOccurs='0' maxOccurs='1' name='wire1' type='wire1Type'/>\r\n")

Definition at line 199 of file torc1wirebus.cpp.

const QString wire1InputTypes
static
Initial value:
=
QStringLiteral("<xs:simpleType name='ds18b20SerialType'>\r\n"
" <xs:restriction base='xs:string'>\r\n"
" <xs:pattern value='28-[0-9a-fA-F]{12}'/>\r\n"
" </xs:restriction>\r\n"
"</xs:simpleType>\r\n"
"<xs:complexType name='ds18b20Type'>\r\n"
" <xs:all>\r\n"
" <xs:element name='name' type='deviceNameType'/>\r\n"
" <xs:element name='username' type='userNameType' minOccurs='0' maxOccurs='1'/>\r\n"
" <xs:element name='userdescription' type='userDescriptionType' minOccurs='0' maxOccurs='1'/>\r\n"
" <xs:element name='wire1serial' type='ds18b20SerialType'/>\r\n"
" </xs:all>\r\n"
"</xs:complexType>\r\n\r\n"
"<xs:complexType name='wire1Type'>\r\n"
" <xs:choice minOccurs='1' maxOccurs='unbounded'>\r\n"
" <xs:element name='ds18b20' type='ds18b20Type'/>\r\n"
" </xs:choice>\r\n"
"</xs:complexType>\r\n")

Definition at line 179 of file torc1wirebus.cpp.

const QString wire1Unique
static
Initial value:
=
QStringLiteral("<!-- enforce unique 1Wire serial numbers -->\r\n"
"<xs:unique name='uniqueWire1Serial'>\r\n"
"<xs:selector xpath='.//wire1serial' />\r\n"
" <xs:field xpath='.' />\r\n"
"</xs:unique>\r\n")

Definition at line 202 of file torc1wirebus.cpp.