| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- /**
- * 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 paramNodePath.I
- * @author rdb
- * @date 2015-02-25
- */
- /**
- * Creates a new ParamNodePath storing the given node path object.
- */
- INLINE ParamNodePath::
- ParamNodePath(const NodePath &node_path) :
- _node_path(node_path)
- {
- }
- /**
- * Creates a new ParamNodePath storing the given node path object.
- */
- INLINE ParamNodePath::
- ParamNodePath(NodePath &&node_path) noexcept :
- _node_path(std::move(node_path))
- {
- }
- /**
- * Returns NodePath::get_class_type().
- */
- INLINE TypeHandle ParamNodePath::
- get_value_type() const {
- return NodePath::get_class_type();
- }
- /**
- * Retrieves the NodePath stored in the parameter.
- */
- INLINE const NodePath &ParamNodePath::
- get_value() const {
- return _node_path;
- }
|