Panda3D
Loading...
Searching...
No Matches
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
17template class ParamValue<std::string>;
18template class ParamValue<std::wstring>;
19
20template class ParamValue<LVecBase2d>;
21template class ParamValue<LVecBase2f>;
22template class ParamValue<LVecBase2i>;
23
24template class ParamValue<LVecBase3d>;
25template class ParamValue<LVecBase3f>;
26template class ParamValue<LVecBase3i>;
27
28template class ParamValue<LVecBase4d>;
29template class ParamValue<LVecBase4f>;
30template class ParamValue<LVecBase4i>;
31
32template class ParamValue<LMatrix3d>;
33template class ParamValue<LMatrix3f>;
34
35template class ParamValue<LMatrix4d>;
36template class ParamValue<LMatrix4f>;
37
38TypeHandle ParamValueBase::_type_handle;
39TypeHandle ParamTypedRefCount::_type_handle;
40
41/**
42 *
43 */
44ParamValueBase::
45~ParamValueBase() {
46}
47
48/**
49 *
50 */
51ParamTypedRefCount::
52~ParamTypedRefCount() {
53}
54
55/**
56 *
57 */
58void ParamTypedRefCount::
59output(std::ostream &out) const {
60 if (_value == nullptr) {
61 out << "(empty)";
62
63 } else {
64 out << _value->get_type();
65 }
66}
A handy class object for storing simple values (like integers or strings) passed along with an Event ...
Definition paramValue.h:103
TypeHandle is the identifier used to differentiate C++ class types.
Definition typeHandle.h:81
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.