Panda3D

Loading...
Searching...
No Matches
sampleClass.I
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file sampleClass.I
10 * @author drose
11 * @date 2000-06-10
12 */
13
14/**
15 *
16 */
17INLINE SampleClass::
18SampleClass(const SampleClass &copy) :
19 _public_data_member(copy._public_data_member),
20 _private_data_member(copy._private_data_member),
21 _flag(copy._flag)
22{
23}
24
25/**
26 *
27 */
28INLINE SampleClass::
29~SampleClass() {
30}
31
32/**
33 * A few sentences describing the purpose of flag, the legal values it may be
34 * set to, and the implications of setting it to certain values.
35 */
36INLINE void SampleClass::
37 set_flag(int flag) {
38 _flag = flag;
39}
40
41/**
42 * A few sentences describing the purpose of flag, the legal values it may be
43 * set to, and the implications of setting it to certain values.
44 */
45INLINE int SampleClass::
46 get_flag() const {
47 return _flag;
48}
SampleClass
A basic description of the function and purpose of SampleClass.
Definition sampleClass.h:37
SampleClass::get_flag
int get_flag() const
A few sentences describing the purpose of flag, the legal values it may be set to,...
Definition sampleClass.I:46
SampleClass::set_flag
void set_flag(int flag)
A few sentences describing the purpose of flag, the legal values it may be set to,...
Definition sampleClass.I:37