Panda3D
 All Classes Functions Variables Enumerations
fltToEggLevelState.I
00001 // Filename: fltToEggLevelState.I
00002 // Created by:  drose (18Apr01)
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 //     Function: FltToEggLevelState::Constructor
00017 //       Access: Public
00018 //  Description:
00019 ////////////////////////////////////////////////////////////////////
00020 INLINE FltToEggLevelState::
00021 FltToEggLevelState(FltToEggConverter *converter) :
00022   _converter(converter)
00023 {
00024   _flt_object = (FltObject *)NULL;
00025   _egg_parent = (EggGroupNode *)NULL;
00026 }
00027 
00028 ////////////////////////////////////////////////////////////////////
00029 //     Function: FltToEggLevelState::Copy Constructor
00030 //       Access: Public
00031 //  Description:
00032 ////////////////////////////////////////////////////////////////////
00033 INLINE FltToEggLevelState::
00034 FltToEggLevelState(const FltToEggLevelState &copy) :
00035   _flt_object(copy._flt_object),
00036   _egg_parent(copy._egg_parent),
00037   _converter(copy._converter)
00038 {
00039   // We don't bother to copy the _parents map.
00040 }
00041 
00042 ////////////////////////////////////////////////////////////////////
00043 //     Function: FltToEggLevelState::Copy Assignment Operator
00044 //       Access: Public
00045 //  Description:
00046 ////////////////////////////////////////////////////////////////////
00047 INLINE void FltToEggLevelState::
00048 operator = (const FltToEggLevelState &copy) {
00049   _flt_object = copy._flt_object;
00050   _egg_parent = copy._egg_parent;
00051   _converter = copy._converter;
00052   // We don't bother to copy the _parents map.
00053 }
 All Classes Functions Variables Enumerations