VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
drawerNative
2dIntPoint.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2006 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: 2dIntPoint.h,v $ $Revision: 1.1 $ $State: Exp $
7
*******************************************************************************/
8
9
#ifndef Dt2DIntPoint_H
10
#define Dt2DIntPoint_H
11
12
#include "
drawerNative/drawerNativeDefines.h
"
13
14
#include <iosfwd>
15
18
20
21
class
DT_DLL_drawerNative
Dt2DIntPoint
22
{
23
public
:
24
25
Dt2DIntPoint
();
26
Dt2DIntPoint
(
const
int
x,
const
int
y);
27
Dt2DIntPoint
(
const
Dt2DIntPoint
& orig);
28
29
virtual
~
Dt2DIntPoint
();
30
31
Dt2DIntPoint
& operator=(
const
Dt2DIntPoint
& rhs);
32
33
virtual
bool
operator==
(
const
Dt2DIntPoint
& rhs)
const
;
34
virtual
bool
operator!=
(
const
Dt2DIntPoint
& rhs)
const
;
35
36
virtual
const
int
x()
const
;
37
virtual
const
int
y()
const
;
38
39
virtual
void
set
(
const
int
x,
const
int
y);
40
41
virtual
void
setX(
const
int
x);
42
virtual
void
setY(
const
int
y);
43
44
45
protected
:
46
int
myX
;
47
int
myY
;
48
49
};
50
51
DT_DLL_drawerNative
std::ostream&
operator<<
(std::ostream& os,
const
Dt2DIntPoint
&
point
);
52
DT_DLL_drawerNative
std::istream&
operator>>
(std::istream& is,
Dt2DIntPoint
&
point
);
53
54
#define Dt2DIntPoint_INL
55
#include "drawerNative/2dIntPoint.inl"
56
#undef Dt2DIntPoint_INL
57
58
#endif
59
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)