#include <xmlrpc.h>
#include "Obit.h"
#include "ObitErr.h"
#include "ObitThread.h"
#include "ObitDConCleanWindow.h"
Go to the source code of this file.
Classes | |
| struct | ObitXML |
| ObitXML Class structure. More... | |
| struct | ObitXMLClassInfo |
| ClassInfo Structure. More... | |
Defines | |
| #define | ObitXMLUnref(in) ObitUnref (in) |
| Macro to unreference (and possibly destroy) an ObitXML returns a ObitXML*. | |
| #define | ObitXMLRef(in) ObitRef (in) |
| Macro to reference (update reference count) an ObitXML. | |
| #define | ObitXMLIsA(in) ObitIsA (in, ObitXMLGetClass()) |
| Macro to determine if an object is the member of this or a derived class. | |
Enumerations | |
| enum | obitXMLType { OBIT_XML_Reply = 0, OBIT_XML_Result, OBIT_XML_InfoList, OBIT_XML_Ping, OBIT_XML_LoadImage, OBIT_XML_EditWindow, OBIT_XML_BinBlob, OBIT_XML_Unknown } |
| enum for object type. More... | |
Functions | |
| void | ObitXMLClassInit (void) |
| Public: Class initializer. | |
| ObitXML * | newObitXML (gchar *name) |
| Public: Default Constructor. | |
| gconstpointer | ObitXMLGetClass (void) |
| Public: ClassInfo pointer. | |
| ObitXML * | ObitXMLPing2XML (ObitErr *err) |
| Public: Constructor for ping. | |
| gint | ObitXMLXML2Ping (ObitXML *xml, ObitErr *err) |
| Public: Convert to ping info. | |
| ObitXML * | ObitXMLInfoList2XML (ObitInfoList *list, ObitErr *err) |
| Public: Constructor from ObitInfoList. | |
| ObitInfoList * | ObitXMLXML2InfoList (ObitXML *xml, ObitErr *err) |
| Public: Convert to ObitInfoList. | |
| ObitInfoList * | ObitXMLXMLInfo2List (ObitXML *xml, ObitErr *err) |
| Public: Convert XML created from an ObitInfoList to ObitInfoList. | |
| ObitXML * | ObitXMLFileInfo2XML (ObitIOType Type, gchar *Name, gchar *AClass, gchar *ADir, gint ASeq, gint AUser, gint Field, gint NField, ObitErr *err) |
| Public: Constructor from Image file info. | |
| void | ObitXMLXML2FileInfo (ObitXML *xml, ObitIOType *Type, gchar **Name, gchar **AClass, gchar **ADir, gint *ASeq, gint *AUser, gint *Field, gint *NField, ObitErr *err) |
| Public: Convert to Image file info. | |
| ObitXML * | ObitXMLWindow2XML (ObitDConCleanWindow *window, glong field, ObitErr *err) |
| Public: Constructor from ObitDConCleanWindow. | |
| ObitDConCleanWindow * | ObitXMLXML2Window (ObitXML *xml, ObitErr *err) |
| Public: Convert to ObitDConCleanWindow. | |
| ObitXML * | ObitXMLBlob2XML (gpointer blob, ObitInfoList *desc, ObitErr *err) |
| Public: Constructor from Binary blob. | |
| gpointer | ObitXMLXML2Blob (ObitXML *xml, ObitInfoList **desc, ObitErr *err) |
| Public: Convert to Binary blob. | |
| ObitXML * | ObitXMLReturn (gchar *name, gpointer parmP, ObitErr *err) |
| Public: Constructor for return object. | |
This class is derived from the Obit class.
This class controls the conversion to and from xml for Obit related information. The xml structures are generally to be used in a remote procedure call using ObitRPC.
A copy of a pointer to an ObitXML should always be made using the ObitXMLRef function which updates the reference count in the object. Then whenever freeing an ObitXML or changing a pointer, the function ObitXMLUnref will decrement the reference count and destroy the object when the reference count hits 0. There is no explicit destructor.
|
|
Macro to determine if an object is the member of this or a derived class. Returns TRUE if a member, else FALSE in = object to reference |
|
|
Macro to reference (update reference count) an ObitXML. returns a ObitXML*. in = object to reference |
|
|
Macro to unreference (and possibly destroy) an ObitXML returns a ObitXML*. in = object to unreference |
|
|
enum for object type. This specifies which known type of XML object
|
|
|
Public: Default Constructor. Initializes class if needed on first call.
|
|
||||||||||||||||
|
Public: Constructor from Binary blob. type = OBIT_XML_BinBlob
|
|
|
Public: Class initializer.
|
|
||||||||||||||||||||||||||||||||||||||||
|
Public: Constructor from Image file info.
|
|
|
Public: ClassInfo pointer.
|
|
||||||||||||
|
Public: Constructor from ObitInfoList. type = OBIT_XML_InfoList
|
|
|
Public: Constructor for ping.
|
|
||||||||||||||||
|
Public: Constructor for return object.
|
|
||||||||||||||||
|
Public: Constructor from ObitDConCleanWindow.
|
|
||||||||||||||||
|
Public: Convert to Binary blob.
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Public: Convert to Image file info.
|
|
||||||||||||
|
Public: Convert to ObitInfoList.
|
|
||||||||||||
|
Public: Convert to ping info.
|
|
||||||||||||
|
Public: Convert to ObitDConCleanWindow.
|
|
||||||||||||
|
Public: Convert XML created from an ObitInfoList to ObitInfoList.
|
1.3.9.1