Panda3D
 All Classes Functions Variables Enumerations
odeJointCollection.I
1 // Filename: odeJointCollection.I
2 // Created by: drose (10Nov08)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: OdeJointCollection::Destructor
18 // Access: Published
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE OdeJointCollection::
22 ~OdeJointCollection() {
23 }
24 
25 ////////////////////////////////////////////////////////////////////
26 // Function: OdeJointCollection::operator +=
27 // Access: Published
28 // Description: Appends the other list onto the end of this one.
29 ////////////////////////////////////////////////////////////////////
30 INLINE void OdeJointCollection::
32  add_joints_from(other);
33 }
34 
35 ////////////////////////////////////////////////////////////////////
36 // Function: OdeJointCollection::operator +
37 // Access: Published
38 // Description: Returns a OdeJointCollection representing the
39 // concatenation of the two lists.
40 ////////////////////////////////////////////////////////////////////
42 operator + (const OdeJointCollection &other) const {
43  OdeJointCollection a(*this);
44  a += other;
45  return a;
46 }
void operator+=(const OdeJointCollection &other)
Appends the other list onto the end of this one.
OdeJointCollection operator+(const OdeJointCollection &other) const
Returns a OdeJointCollection representing the concatenation of the two lists.