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

builder.h File Reference

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

Go to the source code of this file.

Namespaces

namespace  UTAP

Functions

std::ostream & operator<< (std::ostream &out, const TypeException &exc)
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, UTAP::xta_part_t part=UTAP::S_XTA)
 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

std::ostream& UTAP::operator<< std::ostream &  out,
const TypeException &  exc
 

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,
UTAP::xta_part_t  part = UTAP::S_XTA
 

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 Thu Nov 10 13:16:12 2005 for libutap by  doxygen 1.4.2