Free Electron
MaskMap.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __viewer_MaskMap_h__
8 #define __viewer_MaskMap_h__
9 
10 #include "viewer/MaskMapI.h"
11 
12 namespace fe
13 {
14 namespace ext
15 {
16 
17 class FE_DL_EXPORT MaskMap : virtual public MaskMapI
18 {
19  public:
20  MaskMap(void);
21 virtual ~MaskMap(void);
22 virtual bool get(WindowEvent::Mask &a_mask, const String &a_name);
23 virtual void set(const WindowEvent::Mask &a_mask, const String &a_name);
24 virtual void all(std::vector< std::pair<String, WindowEvent::Mask> >
25  &a_entries);
26 
27  private:
28 
29  std::map<String, WindowEvent::Mask> m_map;
30 };
31 
32 } /* namespace ext */
33 } /* namespace fe */
34 
35 #endif /* __viewer_MaskMap_h__ */
36 
kernel
Definition: namespace.dox:3