VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
orderedKeyList.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: orderedKeyList.h,v $ $Revision: 1.3 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #pragma once
13 
17 
19 
20 #include <vector>
21 
22 namespace makVrf
23 {
24  template <typename T>
26  {
27  public:
28  typedef std::vector<T> ContainerVector;
29 
32 
34 
35  virtual ~DtOrderedKeyList();
36 
37  void clear();
38  void copyList(const DtOrderedKeyList&);
39 
41  void addEntry(T, bool replace = false);
42  T removeEntry(const DtEntityMapperKey& key);
43  T find(const DtEntityMapperKey& key) const;
44 
45  const ContainerVector& items() const
46  {
47  return this->myContainer;
48  }
49 
50  protected:
52  };
53 }
54 
55 #include <vrfGuiCore/orderedKeyList.inl>

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)