00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Side Effects Software Inc 00008 * 123 Front Street West, Suite 1401 00009 * Toronto, Ontario 00010 * Canada M5J 2M2 00011 * 416-504-9876 00012 * 00013 * NAME: GEO_AttributeFilter.h ( GEO Library, C++) 00014 * 00015 * COMMENTS: 00016 */ 00017 00018 #ifndef __GEO_AttributeFilter__ 00019 #define __GEO_AttributeFilter__ 00020 00021 #include "GEO_API.h" 00022 00023 class GB_Attribute; 00024 00025 class GEO_API GEO_AttributeFilter { 00026 public: 00027 GEO_AttributeFilter() {} 00028 virtual ~GEO_AttributeFilter() {} 00029 00030 // 00031 // WARNING: For point dictionaries, it's possible to get an attribute 00032 // pointer of 0. This implies the "P" attribute. 00033 // 00034 virtual bool match(const GB_Attribute *atr) const = 0; 00035 virtual bool terminateAfterFirstMatch() const 00036 { return false; } 00037 }; 00038 00039 #endif 00040
1.5.9