--- parser3/src/main/pa_pool.C 2001/12/27 19:57:09 1.47 +++ parser3/src/main/pa_pool.C 2002/02/08 07:27:48 1.50 @@ -1,10 +1,10 @@ /** @file Parser: pool class. - Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://paf.design.ru) - $Id: pa_pool.C,v 1.47 2001/12/27 19:57:09 paf Exp $ + $Id: pa_pool.C,v 1.50 2002/02/08 07:27:48 paf Exp $ */ #include "pa_pool.h" @@ -55,6 +55,14 @@ Charset& Pool::get_client_charset() { #ifdef XML +const char *Pool::transcode_cstr(xmlChar *s) { + return get_source_charset().transcode_cstr(s); +} + +String& Pool::transcode(xmlChar *s) { + return get_source_charset().transcode(s); +} + const char *Pool::transcode_cstr(GdomeDOMString *s) { return get_source_charset().transcode_cstr(s); } @@ -63,7 +71,7 @@ String& Pool::transcode(GdomeDOMString * return get_source_charset().transcode(s); } -GdomeDOMString *Pool::transcode(const String& s) { +GdomeDOMString_auto_ptr Pool::transcode(const String& s) { return get_source_charset().transcode(s); }