Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/egg/eggBin.cxx

Go to the documentation of this file.
00001 // Filename: eggBin.cxx
00002 // Created by:  drose (21Jan99)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 #include "eggBin.h"
00020 
00021 
00022 TypeHandle EggBin::_type_handle;
00023 
00024 
00025 ////////////////////////////////////////////////////////////////////
00026 //     Function: EggBin::Constructor
00027 //       Access: Public
00028 //  Description:
00029 ////////////////////////////////////////////////////////////////////
00030 EggBin::
00031 EggBin(const string &name) : EggGroup(name) {
00032   _bin_number = 0;
00033 }
00034 
00035 
00036 ////////////////////////////////////////////////////////////////////
00037 //     Function: EggBin::EggGroup copy constructor
00038 //       Access: Public
00039 //  Description:
00040 ////////////////////////////////////////////////////////////////////
00041 EggBin::
00042 EggBin(const EggGroup &copy) : EggGroup(copy) {
00043   _bin_number = 0;
00044 }
00045 
00046 
00047 ////////////////////////////////////////////////////////////////////
00048 //     Function: EggBin::Copy constructor
00049 //       Access: Public
00050 //  Description:
00051 ////////////////////////////////////////////////////////////////////
00052 EggBin::
00053 EggBin(const EggBin &copy) : EggGroup(copy), _bin_number(copy._bin_number) {
00054 }
00055 
00056 
00057 
00058 ////////////////////////////////////////////////////////////////////
00059 //     Function: EggBin::set_bin_number
00060 //       Access: Public
00061 //  Description:
00062 ////////////////////////////////////////////////////////////////////
00063 void EggBin::
00064 set_bin_number(int bin_number) {
00065   _bin_number = bin_number;
00066 }
00067 
00068 ////////////////////////////////////////////////////////////////////
00069 //     Function: EggBin::get_bin_number
00070 //       Access: Public
00071 //  Description:
00072 ////////////////////////////////////////////////////////////////////
00073 int EggBin::
00074 get_bin_number() const {
00075   return _bin_number;
00076 }

Generated on Fri May 2 00:37:27 2003 for Panda by doxygen1.3