VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtKeywordMixin.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtKeywordMixin.h,v $ $Revision: 1.7 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtKeywordMixin_H_
14 #define DtKeywordMixin_H_
15 
16 #include <vrvUtil/vrvUtil.h>
17 
18 #include <set>
19 #include <string>
20 
21 namespace makVrv
22 {
27  {
28  public:
31 
33  virtual ~DtKeywordMixin();
34 
36  virtual void addKeyword( const std::string& keyword);
37 
39  virtual void removeKeyword( const std::string& keyword);
40 
42  virtual void clearKeywords();
43 
45  virtual const std::set<std::string>& keywords() const;
46 
50  virtual bool findKeywords(const std::set<std::string>&) const;
51 
53  virtual bool findKeyword(const std::string& word) const;
54 
55  protected:
56  std::set<std::string> myKeywords;
57  };
58 }
59 
60 #endif
61 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)