VR-Forces 4.0.4 Class Documentation
include/vrvUtil/DtKeywordMixin.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtKeywordMixin.h,v $ $Revision: 1.7 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtKeywordMixin_H_
00014 #define DtKeywordMixin_H_
00015 
00016 #include <vrvUtil/vrvUtil.h>
00017 
00018 #include <set>
00019 #include <string>
00020 
00021 namespace makVrv
00022 {   
00026    class DT_DLL_VRVUTIL DtKeywordMixin
00027    {
00028    public:
00030       DtKeywordMixin();
00031 
00033       virtual ~DtKeywordMixin();
00034 
00036       virtual void addKeyword( const std::string& keyword);
00037 
00039       virtual void removeKeyword( const std::string& keyword);
00040 
00042       virtual void clearKeywords();
00043 
00045       virtual const std::set<std::string>& keywords() const;
00046 
00050       virtual bool findKeywords(const std::set<std::string>&) const;
00051 
00053       virtual bool findKeyword(const std::string& word) const;
00054 
00055    protected:
00056       std::set<std::string> myKeywords;
00057    };
00058 }
00059 
00060 #endif
00061 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)