Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

psXML.h File Reference


Detailed Description

Contains basic XML definitions and operations.

This file defines the basic type for an XML struct and functions useful in creation and usage of XML documents/files.

Author:
David Robbins, MHPCC
Version:
Revision
1.19
Name
rel7
Date:
Date
2005/09/12 21:36:54
Copyright 2005 Maui High Performance Computing Center, University of Hawaii

Definition in file psXML.h.

#include <libxml/parser.h>
#include <string.h>
#include <ctype.h>
#include <limits.h>
#include "psMetadata.h"
#include "psMetadataConfig.h"
#include "psMemory.h"
#include "psError.h"
#include "psString.h"
#include "psConstants.h"
#include "psTime.h"
#include "psErrorText.h"

Include dependency graph for psXML.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef xmlDocPtr psXMLDoc
 XML wrapper pointing to an XML document in memory.

Functions

psXMLDocpsXMLDocAlloc (void)
 Allocates a new psXMLDoc.
psXMLDocpsMetadataToXMLDoc (const psMetadata *md)
 Converts a psMetadata data structure to a complete psXMLDoc (in memory).
psMetadatapsXMLDocToMetadata (const psXMLDoc *doc)
 Converts a complete psXMLDoc (in memory) to a psMetadata data structure.
psXMLDocpsXMLParseFile (const char *filename)
 Loads the data in a named file into a complete psXMLDoc (in memory).
bool psXMLDocToFile (const psXMLDoc *doc, const char *filename)
 Writes out a complete psXMLDoc (in memory) to a named file.
psXMLDocpsXMLParseMem (const char *buffer, int size)
 Accepts a block of memory and parses it into a complete psXMLDoc (also in memory).
bool psXMLDocToMem (const psXMLDoc *doc, char *buffer)
 Accepts a complete psXMLDoc (in memory) and parses it into a block of memory.
psXMLDocpsXMLParseFD (int fd)
 Reads from a file descriptor and converts the incoming data to a complete psXMLDoc (in memory).
bool psXMLDocToFD (const psXMLDoc *doc, int fd)
 Reads from a complete psXMLDoc (in memory) and writes it to a file descriptor.


Generated on Wed Sep 14 10:43:39 2005 for Pan-STARRS Foundation Library by  doxygen 1.4.2