Panda3D
 All Classes Functions Variables Enumerations
sampleClass.I
1 // Filename: sampleClass.I
2 // Created by: drose (10Jun00)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: SampleClass::Copy Constructor
18 // Access: Public
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE SampleClass::
22 SampleClass(const SampleClass &copy) :
23  _public_data_member(copy._public_data_member),
24  _private_data_member(copy._private_data_member),
25  _flag(copy._flag)
26 {
27 }
28 
29 ////////////////////////////////////////////////////////////////////
30 // Function: SampleClass::Destructor
31 // Access: Public
32 // Description:
33 ////////////////////////////////////////////////////////////////////
34 INLINE SampleClass::
35 ~SampleClass() {
36 }
37 
38 ////////////////////////////////////////////////////////////////////
39 // Function: SampleClass::set_flag
40 // Access: Public
41 // Description: A few sentences describing the purpose of flag, the
42 // legal values it may be set to, and the implications
43 // of setting it to certain values.
44 ////////////////////////////////////////////////////////////////////
45 INLINE void SampleClass::
46 set_flag(int flag) {
47  _flag = flag;
48 }
49 
50 ////////////////////////////////////////////////////////////////////
51 // Function: SampleClass::get_flag
52 // Access: Public
53 // Description: A few sentences describing the purpose of flag, the
54 // legal values it may be set to, and the implications
55 // of setting it to certain values.
56 ////////////////////////////////////////////////////////////////////
57 INLINE int SampleClass::
58 get_flag() const {
59  return _flag;
60 }
61 
A basic description of the function and purpose of SampleClass.
Definition: sampleClass.h:40
int get_flag() const
A few sentences describing the purpose of flag, the legal values it may be set to, and the implications of setting it to certain values.
Definition: sampleClass.I:58
void set_flag(int flag)
A few sentences describing the purpose of flag, the legal values it may be set to, and the implications of setting it to certain values.
Definition: sampleClass.I:46