Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:04

0001 #pragma once
0002 /**
0003 GDXML.hh
0004 ================
0005 
0006 
0007 
0008 **/
0009 #include "GDXML_API_EXPORT.hh"
0010 
0011 #include <xercesc/parsers/XercesDOMParser.hpp>
0012 #include <xercesc/util/PlatformUtils.hpp>
0013 #include <xercesc/sax/HandlerBase.hpp>
0014 #include <xercesc/util/XMLUni.hpp>
0015 #include <xercesc/dom/DOM.hpp>
0016 
0017 #include "plog/Severity.h"
0018 
0019 struct GDXMLRead ; 
0020 struct GDXMLWrite ; 
0021 
0022 struct GDXML_API GDXML
0023 {
0024     static const plog::Severity LEVEL ; 
0025     static void Fix(const char* dstpath, const char* srcpath); 
0026 
0027     GDXML(const char* srcpath) ; 
0028     void replaceAllConstantWithMatrix(); 
0029     void write(const char* dstpath) ; 
0030     std::string desc() const ; 
0031     virtual ~GDXML(); 
0032 
0033 
0034 
0035     const char*             srcpath ; 
0036     bool                    kludge_truncated_matrix ;
0037     GDXMLRead*              reader ; 
0038     xercesc::DOMDocument*   doc  ; 
0039     xercesc::DOMElement*    defineElement ; 
0040 
0041     unsigned                num_duplicated_matrixElement ;  
0042     unsigned                num_pruned_matrixElement ;  
0043     unsigned                num_truncated_matrixElement ;  
0044     unsigned                num_constants ; 
0045 
0046     GDXMLWrite*             writer ;  
0047     bool                    issues ; 
0048 
0049 
0050 };
0051 
0052