Panda3D
 All Classes Functions Variables Enumerations
partGroup.I
00001 // Filename: partGroup.I
00002 // Created by:  drose (22Feb99)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 
00016 ////////////////////////////////////////////////////////////////////
00017 //     Function: PartGroup::Default Constructor
00018 //       Access: Protected
00019 //  Description: This constructor is only intended for interal use and
00020 //               for derived classes.  You should normally use the
00021 //               non-default constructor, below.
00022 ////////////////////////////////////////////////////////////////////
00023 INLINE PartGroup::
00024 PartGroup(const string &name) :
00025   Namable(name),
00026   _children(get_class_type())
00027 {
00028 }
00029 
00030 ////////////////////////////////////////////////////////////////////
00031 //     Function: PartGroup::Copy Constructor
00032 //       Access: Protected
00033 //  Description: This constructor is only intended for interal use and
00034 //               for derived classes.  You should normally use the
00035 //               make_copy() interface to make copies..
00036 ////////////////////////////////////////////////////////////////////
00037 INLINE PartGroup::
00038 PartGroup(const PartGroup &copy) :
00039   Namable(copy),
00040   _children(get_class_type())
00041 {
00042   // We don't copy children in the copy constructor.  However,
00043   // copy_subgraph() will do this.
00044 }
 All Classes Functions Variables Enumerations