Udostępnij za pośrednictwem


uint_2 — Klasa

Reprezentuje krótki wektor dwóch niepodpisanych liczb całkowitych.

Składnia

class uint_2;

Członkowie

Definicje typów publicznych

Nazwa/nazwisko opis
value_type

Konstruktory publiczne

Nazwa/nazwisko opis
konstruktor uint_2 Przeciążone. Domyślny konstruktor inicjuje wszystkie elementy z wartością 0.

Metody publiczne

Nazwa/nazwisko opis
uint_2::get_x
uint_2::get_xy
uint_2::get_y
uint_2::get_yx
uint_2::ref_g_Method
uint_2::ref_r_Method
uint_2::ref_x_Method
uint_2::ref_y_Method
uint_2::set_x
uint_2::set_xy
uint_2::set_y
uint_2::set_yx

Operatory publiczne

Nazwa/nazwisko opis
uint_2::operator-
uint_2::operator%=
uint_2::operator&=
uint_2::operator*=
uint_2::operator/=
uint_2::operator^=
uint_2::operator|=
uint_2::operator~
uint_2::operator++
uint_2::operator+=
uint_2::operator<<=
uint_2::operator=
uint_2::operator-=
uint_2::operator>>=

Stałe publiczne

Nazwa/nazwisko opis
size, stała

Publiczne elementy członkowskie danych

Nazwa/nazwisko opis
uint_2::g
uint_2::gr
uint_2::r
uint_2::rg
uint_2::x
uint_2::xy
uint_2::y
uint_2::yx

Hierarchia dziedziczenia

uint_2

Wymagania

Nagłówek: amp_short_vectors.h

Przestrzeń nazw: Concurrency::graphics

uint_2

Domyślny konstruktor inicjuje wszystkie elementy z wartością 0.

uint_2() restrict(amp,
    cpu);

uint_2(
    unsigned int _V0,
    unsigned int _V1) restrict(amp,
    cpu);

uint_2(
    unsigned int _V) restrict(amp,
    cpu);

uint_2(
    const uint_2& _Other) restrict(amp,
    cpu);

explicit inline uint_2(
    const int_2& _Other) restrict(amp,
    cpu);

explicit inline uint_2(
    const float_2& _Other) restrict(amp,
    cpu);

explicit inline uint_2(
    const unorm_2& _Other) restrict(amp,
    cpu);

explicit inline uint_2(
    const norm_2& _Other) restrict(amp,
    cpu);

explicit inline uint_2(
    const double_2& _Other) restrict(amp,
    cpu);

Parametry

_V0
Wartość inicjowania elementu 0.

_V1
Wartość inicjowania elementu 1.

_V
Wartość inicjowania.

_Innych
Obiekt używany do inicjowania.

size

static const int size = 2;

Zobacz też

Concurrency::graphics, przestrzeń nazw