Developer documentation | Axl-2.5.1
Main Page
Classes
Files
File List
File Members
src
axlCore
axlFormat.h
Go to the documentation of this file.
1
/********************************************************************************
2
* axlFormat.h ---
3
*********************************************************************************
4
* Author: Bernard Mourrain
5
* Copyright (C) 2008 - Bernard Mourrain, Inria.
6
* Created: Wed Mar 16 12:46:01 2011 (+0100)
7
*
8
* Comments:
9
*
10
*
11
* Change log:
12
*
13
*********************************************************************************/
14
#ifndef AXLFORMAT_H
15
#define AXLFORMAT_H
16
17
#include <QtCore>
18
#include <QtXml>
19
20
inline
bool
hasChildNode
(QDomElement element,
const
QString& tag)
21
{
22
for
(
int
i = 0; i < element.childNodes().count(); i++)
23
if
(element.childNodes().at(i).toElement().tagName() == tag)
24
return
true
;
25
return
false
;
26
}
27
28
#endif //AXLFORMAT_H
hasChildNode
bool hasChildNode(QDomElement element, const QString &tag)
Definition:
axlFormat.h:20
Generated on Sun Dec 2 2018 20:28:09 for Axl-2.5.1 by 1.8.9.1