Openholo  v4.2
Open Source Digital Holographic Library
oph::ivec4 Struct Reference

structure for 4-dimensional integer vector and its arithmetic. More...

#include <ivec.h>

Public Member Functions

 ivec4 ()
 
 ivec4 (int a)
 
 ivec4 (int v_1, int v_2, int v_3, int v_4)
 
 ivec4 (const ivec4 &a)
 
ivec4operator= (const ivec4 &a)
 
int & operator[] (int i)
 
const int & operator[] (int i) const
 
int & operator() (int i)
 
const int & operator() (int i) const
 
 ivec4 ()
 
 ivec4 (int a)
 
 ivec4 (int v_1, int v_2, int v_3, int v_4)
 
 ivec4 (const ivec4 &a)
 
ivec4operator= (const ivec4 &a)
 
int & operator[] (int i)
 
const int & operator[] (int i) const
 
int & operator() (int i)
 
const int & operator() (int i) const
 
 ivec4 ()
 
 ivec4 (int a)
 
 ivec4 (int v_1, int v_2, int v_3, int v_4)
 
 ivec4 (const ivec4 &a)
 
ivec4operator= (const ivec4 &a)
 
int & operator[] (int i)
 
const int & operator[] (int i) const
 
int & operator() (int i)
 
const int & operator() (int i) const
 
 ivec4 ()
 
 ivec4 (int a)
 
 ivec4 (int v_1, int v_2, int v_3, int v_4)
 
 ivec4 (const ivec4 &a)
 
ivec4operator= (const ivec4 &a)
 
int & operator[] (int i)
 
const int & operator[] (int i) const
 
int & operator() (int i)
 
const int & operator() (int i) const
 

Public Attributes

int v [4]
 

Static Public Attributes

static const int n
 

Detailed Description

structure for 4-dimensional integer vector and its arithmetic.

Definition at line 701 of file ivec.h.

Constructor & Destructor Documentation

◆ ivec4() [1/16]

oph::ivec4::ivec4 ( )
inline

Definition at line 705 of file ivec.h.

◆ ivec4() [2/16]

oph::ivec4::ivec4 ( int  a)
inline

Definition at line 710 of file ivec.h.

◆ ivec4() [3/16]

oph::ivec4::ivec4 ( int  v_1,
int  v_2,
int  v_3,
int  v_4 
)
inline

Definition at line 715 of file ivec.h.

◆ ivec4() [4/16]

oph::ivec4::ivec4 ( const ivec4 a)
inline

Definition at line 720 of file ivec.h.

◆ ivec4() [5/16]

oph::ivec4::ivec4 ( )
inline

Definition at line 705 of file ivec.h.

◆ ivec4() [6/16]

oph::ivec4::ivec4 ( int  a)
inline

Definition at line 710 of file ivec.h.

◆ ivec4() [7/16]

oph::ivec4::ivec4 ( int  v_1,
int  v_2,
int  v_3,
int  v_4 
)
inline

Definition at line 715 of file ivec.h.

◆ ivec4() [8/16]

oph::ivec4::ivec4 ( const ivec4 a)
inline

Definition at line 720 of file ivec.h.

◆ ivec4() [9/16]

oph::ivec4::ivec4 ( )
inline

Definition at line 705 of file ivec.h.

◆ ivec4() [10/16]

oph::ivec4::ivec4 ( int  a)
inline

Definition at line 710 of file ivec.h.

◆ ivec4() [11/16]

oph::ivec4::ivec4 ( int  v_1,
int  v_2,
int  v_3,
int  v_4 
)
inline

Definition at line 715 of file ivec.h.

◆ ivec4() [12/16]

oph::ivec4::ivec4 ( const ivec4 a)
inline

Definition at line 720 of file ivec.h.

◆ ivec4() [13/16]

oph::ivec4::ivec4 ( )
inline

Definition at line 705 of file ivec.h.

◆ ivec4() [14/16]

oph::ivec4::ivec4 ( int  a)
inline

Definition at line 710 of file ivec.h.

◆ ivec4() [15/16]

oph::ivec4::ivec4 ( int  v_1,
int  v_2,
int  v_3,
int  v_4 
)
inline

Definition at line 715 of file ivec.h.

◆ ivec4() [16/16]

oph::ivec4::ivec4 ( const ivec4 a)
inline

Definition at line 720 of file ivec.h.

Member Function Documentation

◆ operator()() [1/8]

int& oph::ivec4::operator() ( int  i)
inline

Definition at line 734 of file ivec.h.

◆ operator()() [2/8]

int& oph::ivec4::operator() ( int  i)
inline

Definition at line 734 of file ivec.h.

◆ operator()() [3/8]

int& oph::ivec4::operator() ( int  i)
inline

Definition at line 734 of file ivec.h.

◆ operator()() [4/8]

int& oph::ivec4::operator() ( int  i)
inline

Definition at line 734 of file ivec.h.

◆ operator()() [5/8]

const int& oph::ivec4::operator() ( int  i) const
inline

Definition at line 735 of file ivec.h.

◆ operator()() [6/8]

const int& oph::ivec4::operator() ( int  i) const
inline

Definition at line 735 of file ivec.h.

◆ operator()() [7/8]

const int& oph::ivec4::operator() ( int  i) const
inline

Definition at line 735 of file ivec.h.

◆ operator()() [8/8]

const int& oph::ivec4::operator() ( int  i) const
inline

Definition at line 735 of file ivec.h.

◆ operator=() [1/4]

ivec4& oph::ivec4::operator= ( const ivec4 a)
inline

Definition at line 725 of file ivec.h.

◆ operator=() [2/4]

ivec4& oph::ivec4::operator= ( const ivec4 a)
inline

Definition at line 725 of file ivec.h.

◆ operator=() [3/4]

ivec4& oph::ivec4::operator= ( const ivec4 a)
inline

Definition at line 725 of file ivec.h.

◆ operator=() [4/4]

ivec4& oph::ivec4::operator= ( const ivec4 a)
inline

Definition at line 725 of file ivec.h.

◆ operator[]() [1/8]

int& oph::ivec4::operator[] ( int  i)
inline

Definition at line 732 of file ivec.h.

◆ operator[]() [2/8]

int& oph::ivec4::operator[] ( int  i)
inline

Definition at line 732 of file ivec.h.

◆ operator[]() [3/8]

int& oph::ivec4::operator[] ( int  i)
inline

Definition at line 732 of file ivec.h.

◆ operator[]() [4/8]

int& oph::ivec4::operator[] ( int  i)
inline

Definition at line 732 of file ivec.h.

◆ operator[]() [5/8]

const int& oph::ivec4::operator[] ( int  i) const
inline

Definition at line 733 of file ivec.h.

◆ operator[]() [6/8]

const int& oph::ivec4::operator[] ( int  i) const
inline

Definition at line 733 of file ivec.h.

◆ operator[]() [7/8]

const int& oph::ivec4::operator[] ( int  i) const
inline

Definition at line 733 of file ivec.h.

◆ operator[]() [8/8]

const int& oph::ivec4::operator[] ( int  i) const
inline

Definition at line 733 of file ivec.h.

Member Data Documentation

◆ n

static const int oph::ivec4::n
static

Definition at line 703 of file ivec.h.

◆ v

int oph::ivec4::v

Definition at line 702 of file ivec.h.


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