Annotation of parser3/src/main/pa_charsets.C, revision 1.1
1.1 ! paf 1: /** @file
! 2: Parser: sql driver manager implementation.
! 3:
! 4: Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)
! 5: Author: Alexander Petrosyan <paf@design.ru> (http://paf.design.ru)
! 6:
! 7: $Id: pa_charset_manager.C,v 1.9 2001/12/14 12:53:48 paf Exp $
! 8: */
! 9:
! 10: #include "pa_charsets.h"
! 11: #include "pa_charset.h"
! 12:
! 13: // globals
! 14:
! 15: Charsets *charsets;
! 16:
! 17: //
! 18:
! 19: Charsets::Charsets(Pool& apool) : Hash(apool) {
! 20: }
! 21:
! 22: static void destroy_charset(const Hash::Key& key, Hash::Val *& value, void *) {
! 23: static_cast<Charset *>(value)->~Charset();
! 24: }
! 25:
! 26: Charsets::~Charsets() {
! 27: for_each(destroy_charset);
! 28: }
! 29:
E-mail: