VR-Forces 4.3.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
entityEditorImpl
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
13
#include "
entityEditorImpl/entityEditorImplDefines.h
"
14
15
#include <list>
16
#include <vlutil/vlString.h>
17
#include <set>
18
#include <map>
19
20
class
DtUiArtPartElement
;
21
22
class
DT_DLL_entityeditorimpl
DtArtPartManager
23
{
24
public
:
25
DtArtPartManager
();
26
virtual
~
DtArtPartManager
();
27
28
private
:
29
DtArtPartManager
(
const
DtArtPartManager
& orig);
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
;
48
DtArtPartElementList
myManagedElementList
;
49
50
typedef
std::multimap<DtString, int>
DtArtPartCategoryMap
;
52
DtArtPartCategoryMap
myArtPartCategoryMap
;
53
};
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)