casa  $Rev:20696$
asdmCasaXMLUtil.h
Go to the documentation of this file.
00001 #ifndef CASAXMLUTILS_H
00002 #define CASAXMLUTILS_H
00003 
00004 //*
00005 //The decoding was change from the original CasaXMLUtil.
00006 //Here I am interested in parsing ASDM XML tables, which
00007 //have different structure. All the work is done by asdmCasaSaXHandler class
00008 //
00009 //P. C. Cortes, July 2007
00010 //
00011 namespace casa {
00012 
00013 class String;
00014 class Record;
00015 class Table;
00016 
00017 class asdmCasaXMLUtil {
00018    public :
00019         asdmCasaXMLUtil();
00020         ~asdmCasaXMLUtil();
00021         bool toCasaRecord(Record &outRec, String &xml);
00022         bool fromCasaRecord(String &outXML, const Record &theRecord);
00023         bool readXMLFile(Table &outTab, const String &xmlFile, const String &tableName);
00024         bool writeXMLFile(const String &xmlFile, const Record &inRec);
00025         void setRecord(Record &aRec);
00026 };
00027 
00028 }
00029 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines