Panda3D
panda
src
putil
paramValue.cxx
Go to the documentation of this file.
1
/**
2
* PANDA 3D SOFTWARE
3
* Copyright (c) Carnegie Mellon University. All rights reserved.
4
*
5
* All use of this software is subject to the terms of the revised BSD
6
* license. You should have received a copy of this license along
7
* with this source code in a file named "LICENSE."
8
*
9
* @file paramValue.cxx
10
* @author drose
11
* @date 1999-02-08
12
*/
13
14
#include "
paramValue.h
"
15
#include "
dcast.h
"
16
17
template
class
ParamValue<std::string>
;
18
template
class
ParamValue<std::wstring>
;
19
20
template
class
ParamValue<LVecBase2d>
;
21
template
class
ParamValue<LVecBase2f>
;
22
template
class
ParamValue<LVecBase2i>
;
23
24
template
class
ParamValue<LVecBase3d>
;
25
template
class
ParamValue<LVecBase3f>
;
26
template
class
ParamValue<LVecBase3i>
;
27
28
template
class
ParamValue<LVecBase4d>
;
29
template
class
ParamValue<LVecBase4f>
;
30
template
class
ParamValue<LVecBase4i>
;
31
32
template
class
ParamValue<LMatrix3d>
;
33
template
class
ParamValue<LMatrix3f>
;
34
35
template
class
ParamValue<LMatrix4d>
;
36
template
class
ParamValue<LMatrix4f>
;
37
38
TypeHandle
ParamValueBase::_type_handle;
39
TypeHandle
ParamTypedRefCount::_type_handle;
40
41
/**
42
*
43
*/
44
ParamValueBase::
45
~ParamValueBase() {
46
}
47
48
/**
49
*
50
*/
51
ParamTypedRefCount::
52
~ParamTypedRefCount() {
53
}
54
55
/**
56
*
57
*/
58
void
ParamTypedRefCount::
59
output(std::ostream &out)
const
{
60
if
(_value ==
nullptr
) {
61
out <<
"(empty)"
;
62
63
}
else
{
64
out << _value->get_type();
65
}
66
}
dcast.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle
TypeHandle is the identifier used to differentiate C++ class types.
Definition:
typeHandle.h:81
ParamValue
A handy class object for storing simple values (like integers or strings) passed along with an Event ...
Definition:
paramValue.h:103
paramValue.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Sun Dec 27 2020 13:23:16 for Panda3D by
1.8.20