VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
symbolMapper
mmmSymbolDesc.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2003 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: mmmSymbolDesc.h,v $ $Revision: 1.9 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef MMMSYMBOLDESC_H
13
#define MMMSYMBOLDESC_H
14
15
#include "
symbolMapper/ttfSymbolDesc.h
"
16
19
#include "
symbolMapper/symbolMapperDefines.h
"
20
class
DT_DLL_symbolMapper
DtMMMSymbolDescriptor
:
public
DtTtfSymbolDescriptor
21
{
22
public
:
23
25
DtMMMSymbolDescriptor
();
26
28
virtual
~
DtMMMSymbolDescriptor
();
29
31
DtMMMSymbolDescriptor
(
const
DtMMMSymbolDescriptor
& orig);
32
34
virtual
DtSymbolDescriptor
&
operator=
(
const
DtSymbolDescriptor
& rhs);
35
virtual
bool
operator==
(
const
DtSymbolDescriptor
&)
const
;
36
37
virtual
QString
type
()
const
;
38
39
virtual
DtSymbol
*
createSymbol
(
DtSymbolDrawer
& drawer,
const
DtEntityMapperKey
& key)
const
;
40
41
void
setBackgroundCharacter(
const
QString&);
42
bool
backgroundCharacterSet()
const
;
43
const
QString& backgroundCharacter()
const
;
44
void
clearBackgroundCharacter();
45
46
virtual
void
setupOptionSymbolInformation
(
DtSymbol
* mainSymbol)
const
;
47
48
virtual
DtSymbolDescriptor
*
clone
();
49
50
virtual
QString
descriptorInformation
()
const
;
51
52
protected
:
53
virtual
QString
descriptorType
()
const
;
54
55
protected
:
56
QString
myBackgroundCharacter
;
57
bool
myBackgroundCharacterSet
;
58
};
59
60
inline
void
DtMMMSymbolDescriptor::setBackgroundCharacter
(
const
QString& s)
61
{
62
myBackgroundCharacter
= s;
63
myBackgroundCharacterSet
=
true
;
64
}
65
66
inline
bool
DtMMMSymbolDescriptor::backgroundCharacterSet
()
const
67
{
68
return
myBackgroundCharacterSet
;
69
}
70
71
inline
const
QString&
DtMMMSymbolDescriptor::backgroundCharacter
()
const
72
{
73
return
myBackgroundCharacter
;
74
}
75
76
inline
void
DtMMMSymbolDescriptor::clearBackgroundCharacter
()
77
{
78
myBackgroundCharacter
=
""
;
79
myBackgroundCharacterSet
=
false
;
80
}
81
82
#endif
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)