Panda3D

sampleClass.I

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