VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
artPartManager.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 
15 #include <list>
16 #include <vlutil/vlString.h>
17 #include <set>
18 #include <map>
19 
20 class DtUiArtPartElement;
21 
23 {
24 public:
26  virtual ~DtArtPartManager();
27 
28 private:
30  DtArtPartManager& operator=(const DtArtPartManager& orig);
31 
32 public:
33  virtual void addArtPartElement(DtUiArtPartElement* element);
34  virtual void removeArtPartElement(DtUiArtPartElement* element);
35  virtual void setValidArtPartNumbers();
36 
37 protected:
38  virtual int nextAvailablePartNumber(const DtString& category,
39  const std::set<int>& usedPartNumbers) const;
40 
43  void setupArtPartMappings();
44  void addArtPartMapping(const DtString& category, int partNumber);
45 
46 protected:
47  typedef std::list<DtUiArtPartElement*> DtArtPartElementList;
49 
50  typedef std::multimap<DtString, int> DtArtPartCategoryMap;
53 };

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)