7fd59977 |
1 | // File: PDataStd_Integer.cxx |
2 | // Created: Wed Apr 9 13:23:12 1997 |
3 | // Author: VAUTHIER Jean-Claude |
4 | |
5 | |
6 | #include <PDataStd_Integer.ixx> |
7 | |
8 | |
9 | //======================================================================= |
10 | //function : PDataStd_Integer |
11 | //purpose : |
12 | //======================================================================= |
13 | |
14 | PDataStd_Integer::PDataStd_Integer () {} |
15 | |
16 | |
17 | //======================================================================= |
18 | //function : PDataStd_Integer |
19 | //purpose : |
20 | //======================================================================= |
21 | |
22 | PDataStd_Integer::PDataStd_Integer (const Standard_Integer V) : myValue (V) { } |
23 | |
24 | |
25 | |
26 | //======================================================================= |
27 | //function : Set |
28 | //purpose : |
29 | //======================================================================= |
30 | |
31 | void PDataStd_Integer::Set (const Standard_Integer V) |
32 | { |
33 | myValue = V; |
34 | } |
35 | |
36 | |
37 | //======================================================================= |
38 | //function : Get |
39 | //purpose : |
40 | //======================================================================= |
41 | |
42 | Standard_Integer PDataStd_Integer::Get () const |
43 | { |
44 | return myValue; |
45 | } |
46 | |