Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
Vector2i Class Reference

#include <vector2i.h>

Public Member Functions

WWINLINE Vector2i (void)
 
WWINLINE Vector2i (int i, int j)
 
WWINLINE void Set (int i, int j)
 
WWINLINE void Swap (Vector2i &other)
 
WWINLINE bool operator== (const Vector2i &v) const
 
WWINLINE bool operator!= (const Vector2i &v) const
 
WWINLINE const int & operator[] (int n) const
 
WWINLINE int & operator[] (int n)
 

Public Attributes

int I
 
int J
 

Detailed Description

Definition at line 47 of file vector2i.h.

Constructor & Destructor Documentation

◆ Vector2i() [1/2]

WWINLINE Vector2i::Vector2i ( void )

Definition at line 68 of file vector2i.h.

◆ Vector2i() [2/2]

WWINLINE Vector2i::Vector2i ( int i,
int j )

Definition at line 72 of file vector2i.h.

Member Function Documentation

◆ operator!=()

WWINLINE bool Vector2i::operator!= ( const Vector2i & v) const

Definition at line 82 of file vector2i.h.

◆ operator==()

WWINLINE bool Vector2i::operator== ( const Vector2i & v) const

Definition at line 77 of file vector2i.h.

◆ operator[]() [1/2]

WWINLINE int & Vector2i::operator[] ( int n)

Definition at line 92 of file vector2i.h.

◆ operator[]() [2/2]

WWINLINE const int & Vector2i::operator[] ( int n) const

Definition at line 87 of file vector2i.h.

◆ Set()

WWINLINE void Vector2i::Set ( int i,
int j )

Definition at line 97 of file vector2i.h.

◆ Swap()

WWINLINE void Vector2i::Swap ( Vector2i & other)

Definition at line 99 of file vector2i.h.

Member Data Documentation

◆ I

int Vector2i::I

Definition at line 51 of file vector2i.h.

◆ J

int Vector2i::J

Definition at line 52 of file vector2i.h.


The documentation for this class was generated from the following file: