Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[d8ace1]: src / core / XML / MSXML / MFilterXMLProcessor.h Maximize Restore History

Download this file

MFilterXMLProcessor.h    45 lines (36 with data), 1.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
* Copyright (c) 2003-2013 Rony Shapiro <ronys@users.sourceforge.net>.
* All rights reserved. Use of the code is allowed under the
* Artistic License 2.0 terms, as specified in the LICENSE file
* distributed with this code, or available from
* http://www.opensource.org/licenses/artistic-license-2.0.php
*/
// PWSXMLFilters.h : header file
//
#ifndef __MFILTERXMLPROCESSOR_H
#define __MFILTERXMLPROCESSOR_H
#include "../../PWSFilters.h"
#include "../../StringX.h"
#include <vector>
class MFilterXMLProcessor
{
public:
MFilterXMLProcessor(PWSFilters &mapfilters, const FilterPool fpool, Asker *pAsker);
~MFilterXMLProcessor();
bool Process(const bool &bvalidation,
const StringX &strXMLData,
const stringT &strXMLFileName,
const stringT &strXSDFileName);
stringT getXMLErrors() {return m_strXMLErrors;}
stringT getPWHErrorList() {return m_strPWHErrorList;}
stringT getRenameList() {return m_strRenameList;}
private:
Asker *m_pAsker;
PWSFilters &m_MapFilters;
FilterPool m_FPool;
stringT m_strXMLErrors;
stringT m_strRenameList;
stringT m_strPWHErrorList;
bool m_bValidation;
};
#endif /* __MFILTERXMLPROCESSOR_H */