/* Web Polygraph       http://www.web-polygraph.org/
 * (C) 2003-2006 The Measurement Factory
 * Licensed under the Apache License, Version 2.0 */

#include "pgl/pgl.h"

#include "pgl/PglKnownNamesSym.h"



String KnownNamesSym::TheType = "KnownNames";



KnownNamesSym::KnownNamesSym(const String &anItemType): ArraySym(anItemType) {
}

bool KnownNamesSym::isA(const String &type) const {
	return ArraySym::isA(type) || type == TheType;
}

ArraySym *KnownNamesSym::create(const String &itemType) const {
	return new KnownNamesSym(itemType);
}


syntax highlighted by Code2HTML, v. 0.9.1