#define INCLUDE_MENUITEM_DEF
#define QT_ALTERNATE_QTSMANIP
+#include "DataFlowBase_Graph.hxx"
+
#include <qxml.h>
#include <qstringlist.h>
#include <qaction.h>
//#include <SALOMEconfig.h>
//#include CORBA_CLIENT_HEADER(SALOME_SuperVision)
-#include "DataFlowBase_Graph.hxx"
#define maxlevel 7
GraphBase::SLink aLink ;
// SALOME_SuperVisionBase::ServicesParameterValue aLinkValue ;
CORBA::Any aLinkValue ;
+ CORBA::Any const *aLinkDoubleValue ;
int X ;
int Y ;
int VXSize ;
vector<int > VY ;
QString errorProt;
- GraphBase::SGraph aDataFlow ;
+ int GraphsNumber ;
+ GraphBase::ListOfSGraphs aListOfDataFlows ;
public:
XmlHandler( CORBA::ORB_ptr Orb , const bool aConstructor );
virtual ~XmlHandler();
- GraphBase::SGraph & GetDataFlow() {
- return aDataFlow ; } ;
+ GraphBase::ListOfSGraphs & ListOfDataFlows() {
+ return aListOfDataFlows ; } ;
// return the error protocol if parsing failed
QString errorProtocol();
// overloaded handler functions
- bool startDocument();
+ bool startDocument() ;
+ bool endDocument() ;
bool startElement( const QString& namespaceURI, const QString& localName,
- const QString& qName, const QXmlAttributes& atts );
+ const QString& qName, const QXmlAttributes& atts ) ;
bool endElement( const QString& namespaceURI, const QString& localName,
- const QString& qName );
- bool characters( const QString& ch );
+ const QString& qName ) ;
+ bool characters( const QString& ch ) ;
QString errorString();
- bool fatalError (const QXmlParseException& exception);
+ bool fatalError( const QXmlParseException& exception);
SUPERV::SDate StringToDate( QString& qstrDate) const;