Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

builder.hh File Reference

#include <cstdio>
#include <iostream>
#include <exception>
#include "utap/common.hh"

Go to the source code of this file.

Namespaces

namespace  UTAP

Functions

int32_t parseXTA (FILE *, UTAP::ParserBuilder *, UTAP::ErrorHandler *, bool newxta)
 Parse a file in the XTA format, reporting the system to the given implementation of the the ParserBuilder interface and reporting errors to the ErrorHandler.

int32_t parseXTA (const char *, UTAP::ParserBuilder *, UTAP::ErrorHandler *, bool newxta)
 Parse a buffer in the XTA format, reporting the system to the given implementation of the the ParserBuilder interface and reporting errors to the ErrorHandler.

int32_t parseXMLBuffer (const char *buffer, UTAP::ParserBuilder *, UTAP::ErrorHandler *, bool newxta)
 Parse a buffer in the XML format, reporting the system to the given implementation of the the ParserBuilder interface and reporting errors to the ErrorHandler.

int32_t parseXMLFile (const char *filename, UTAP::ParserBuilder *, UTAP::ErrorHandler *, bool newxta)
 Parse the file with the given name assuming it is in the XML format, reporting the system to the given implementation of the the ParserBuilder interface and reporting errors to the ErrorHandler.

int32_t parseProperty (const char *str, UTAP::ParserBuilder *aParserBuilder, UTAP::ErrorHandler *)
 Parse properties from a buffer.

int32_t parseProperty (FILE *, UTAP::ParserBuilder *aParserBuilder, UTAP::ErrorHandler *)
 Parse properties from a file.


Function Documentation

int32_t parseProperty FILE *  ,
UTAP::ParserBuilder aParserBuilder,
UTAP::ErrorHandler
 

Parse properties from a file.

The properties are reported using the given ParserBuilder and errors are reported using the ErrorHandler.

int32_t parseProperty const char *  str,
UTAP::ParserBuilder aParserBuilder,
UTAP::ErrorHandler
 

Parse properties from a buffer.

The properties are reported using the given ParserBuilder and errors are reported using the ErrorHandler.

int32_t parseXMLBuffer const char *  buffer,
UTAP::ParserBuilder ,
UTAP::ErrorHandler ,
bool  newxta
 

Parse a buffer in the XML format, reporting the system to the given implementation of the the ParserBuilder interface and reporting errors to the ErrorHandler.

If newxta is true, then the 4.x syntax is used; otherwise the 3.x syntax is used. On success, this function returns with a positive value.

int32_t parseXMLFile const char *  filename,
UTAP::ParserBuilder ,
UTAP::ErrorHandler ,
bool  newxta
 

Parse the file with the given name assuming it is in the XML format, reporting the system to the given implementation of the the ParserBuilder interface and reporting errors to the ErrorHandler.

If newxta is true, then the 4.x syntax is used; otherwise the 3.x syntax is used. On success, this function returns with a positive value.

int32_t parseXTA const char *  ,
UTAP::ParserBuilder ,
UTAP::ErrorHandler ,
bool  newxta
 

Parse a buffer in the XTA format, reporting the system to the given implementation of the the ParserBuilder interface and reporting errors to the ErrorHandler.

If newxta is true, then the 4.x syntax is used; otherwise the 3.x syntax is used. On success, this function returns with a positive value.

int32_t parseXTA FILE *  ,
UTAP::ParserBuilder ,
UTAP::ErrorHandler ,
bool  newxta
 

Parse a file in the XTA format, reporting the system to the given implementation of the the ParserBuilder interface and reporting errors to the ErrorHandler.

If newxta is true, then the 4.x syntax is used; otherwise the 3.x syntax is used. On success, this function returns with a positive value.


Generated on Sat May 15 12:33:41 2004 for libutap by doxygen 1.3.7