it_bus/from_string.h

00001 #ifndef _IT_BUS_FROM_STRING_H_
00002 #define _IT_BUS_FROM_STRING_H_
00003 
00004 // @Copyright 2003 IONA Technologies, Plc. All Rights Reserved.
00005 //
00006 //
00007 // NOTE: you must link with the bus_xml library to use these functions.
00008 //
00009 
00010 #include <it_bus/api_defines.h>
00011 
00012 #include <it_bus/types.h>
00013 #include <it_bus/qname.h>
00014 
00015 namespace IT_Bus
00016 {
00017     class AnyType;
00018 
00019     extern const IT_BUS_XML_API QName default_from_string_element_name;
00020 
00028     void IT_BUS_XML_API
00029     from_string(
00030         const String & data,
00031         AnyType & result,
00032         const QName & element_name = default_from_string_element_name
00033     ) IT_THROW_DECL((IT_Bus::Exception));
00034 
00042     void IT_BUS_XML_API
00043     from_file(
00044         const String & file_name,
00045         AnyType & result,
00046         const QName & element_name = default_from_string_element_name
00047     ) IT_THROW_DECL((IT_Bus::Exception));
00048 }
00049 
00050 #endif  

Generated on Thu Sep 7 11:38:53 2006 for Artix by  doxygen 1.4.7