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

panda/src/doc/sampleClass.I

Go to the documentation of this file.
00001 // Filename: sampleClass.I
00002 // Created by:  drose (10Jun00)
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 
00020 ////////////////////////////////////////////////////////////////////
00021 //     Function: SampleClass::Copy Constructor
00022 //       Access: Public
00023 //  Description:
00024 ////////////////////////////////////////////////////////////////////
00025 INLINE SampleClass::
00026 SampleClass(const SampleClass &copy) :
00027   _public_data_member(copy._public_data_member),
00028   _private_data_member(copy._private_data_member),
00029   _flag(copy._flag)
00030 {
00031 }
00032 
00033 ////////////////////////////////////////////////////////////////////
00034 //     Function: SampleClass::Destructor
00035 //       Access: Public
00036 //  Description:
00037 ////////////////////////////////////////////////////////////////////
00038 INLINE SampleClass::
00039 ~SampleClass() {
00040 }
00041 
00042 ////////////////////////////////////////////////////////////////////
00043 //     Function: SampleClass::set_flag
00044 //       Access: Public
00045 //  Description: A few sentences describing the purpose of flag, the
00046 //               legal values it may be set to, and the implications
00047 //               of setting it to certain values.
00048 ////////////////////////////////////////////////////////////////////
00049 INLINE void SampleClass::
00050 set_flag(int flag) {
00051   _flag = flag;
00052 }
00053 
00054 ////////////////////////////////////////////////////////////////////
00055 //     Function: SampleClass::get_flag
00056 //       Access: Public
00057 //  Description: A few sentences describing the purpose of flag, the
00058 //               legal values it may be set to, and the implications
00059 //               of setting it to certain values.
00060 ////////////////////////////////////////////////////////////////////
00061 INLINE int SampleClass::
00062 get_flag() const {
00063   return _flag;
00064 }
00065 

Generated on Fri May 2 00:36:42 2003 for Panda by doxygen1.3