open_toontown_panda3d/panda/src/putil/paramValue.cxx

67 lines
1.3 KiB
C++

/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file paramValue.cxx
* @author drose
* @date 1999-02-08
*/
#include "paramValue.h"
#include "dcast.h"
template class ParamValue<std::string>;
template class ParamValue<std::wstring>;
template class ParamValue<LVecBase2d>;
template class ParamValue<LVecBase2f>;
template class ParamValue<LVecBase2i>;
template class ParamValue<LVecBase3d>;
template class ParamValue<LVecBase3f>;
template class ParamValue<LVecBase3i>;
template class ParamValue<LVecBase4d>;
template class ParamValue<LVecBase4f>;
template class ParamValue<LVecBase4i>;
template class ParamValue<LMatrix3d>;
template class ParamValue<LMatrix3f>;
template class ParamValue<LMatrix4d>;
template class ParamValue<LMatrix4f>;
TypeHandle ParamValueBase::_type_handle;
TypeHandle ParamTypedRefCount::_type_handle;
/**
*
*/
ParamValueBase::
~ParamValueBase() {
}
/**
*
*/
ParamTypedRefCount::
~ParamTypedRefCount() {
}
/**
*
*/
void ParamTypedRefCount::
output(std::ostream &out) const {
if (_value == nullptr) {
out << "(empty)";
} else {
out << _value->get_type();
}
}