VR-Forces 5.0.1 Developer's Guide
 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 
9 
10 #ifndef DtKeywordMixin_H_
11 #define DtKeywordMixin_H_
12 
13 #include <vrvUtil/vrvUtil.h>
14 
15 #include <set>
16 #include <string>
17 
18 namespace makVrv
19 {
24  {
25  public:
28 
30  virtual ~DtKeywordMixin();
31 
33  virtual void addKeyword( const std::string& keyword);
34 
36  virtual void removeKeyword( const std::string& keyword);
37 
39  virtual void clearKeywords();
40 
42  virtual const std::set<std::string>& keywords() const;
43 
47  virtual bool findKeywords(const std::set<std::string>&) const;
48 
50  virtual bool findKeyword(const std::string& word) const;
51 
52  protected:
53  std::set<std::string> myKeywords;
54  };
55 }
56 
57 #endif
58 
#define DT_DLL_VRVUTIL
Definition: vrvUtil.h:34
The DtKeyword mixin is a mixin class (add funcionality by inheritence) for adding generic keywords to...
Definition: DtKeywordMixin.h:23
Contains DLL export macros.
std::set< std::string > myKeywords
Definition: DtKeywordMixin.h:53

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)