File:  [parser3project] / parser3 / src / main / pa_charsets.C
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Sat Dec 15 21:28:21 2001 UTC (24 years, 7 months ago) by paf
Branches: MAIN
CVS tags: HEAD
introducing Charset

/** @file
	Parser: sql driver manager implementation.

	Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)
	Author: Alexander Petrosyan <paf@design.ru> (http://paf.design.ru)

	$Id: pa_charsets.C,v 1.1 2001/12/15 21:28:21 paf Exp $
*/

#include "pa_charsets.h"
#include "pa_charset.h"

// globals

Charsets *charsets;

//

Charsets::Charsets(Pool& apool) : Hash(apool) {
}

static void destroy_charset(const Hash::Key& key, Hash::Val *& value, void *) {
	static_cast<Charset *>(value)->~Charset();	
}

Charsets::~Charsets() {
	for_each(destroy_charset);
}


E-mail: