OpenMM
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
ivec4 Class Reference

A four element vector of ints. More...

#include <vectorize.h>

Public Member Functions

 ivec4 ()
 
 ivec4 (int v)
 
 ivec4 (int v1, int v2, int v3, int v4)
 
 ivec4 (__m128i v)
 
 ivec4 (const int *v)
 
 operator __m128i () const
 
int operator[] (int i) const
 
void store (int *v) const
 
ivec4 operator+ (const ivec4 &other) const
 
ivec4 operator- (const ivec4 &other) const
 
ivec4 operator* (const ivec4 &other) const
 
void operator+= (const ivec4 &other)
 
void operator-= (const ivec4 &other)
 
void operator*= (const ivec4 &other)
 
ivec4 operator- () const
 
ivec4 operator& (const ivec4 &other) const
 
ivec4 operator| (const ivec4 &other) const
 
ivec4 operator== (const ivec4 &other) const
 
ivec4 operator!= (const ivec4 &other) const
 
ivec4 operator> (const ivec4 &other) const
 
ivec4 operator< (const ivec4 &other) const
 
ivec4 operator>= (const ivec4 &other) const
 
ivec4 operator<= (const ivec4 &other) const
 
 operator fvec4 () const
 

Public Attributes

__m128i val
 

Detailed Description

A four element vector of ints.

Constructor & Destructor Documentation

ivec4 ( )
inline
ivec4 ( int  v)
inline
ivec4 ( int  v1,
int  v2,
int  v3,
int  v4 
)
inline
ivec4 ( __m128i  v)
inline
ivec4 ( const int *  v)
inline

Member Function Documentation

operator __m128i ( ) const
inline

References val.

operator fvec4 ( ) const
inline
ivec4 operator!= ( const ivec4 other) const
inline
ivec4 operator& ( const ivec4 other) const
inline

References val.

ivec4 operator* ( const ivec4 other) const
inline

References val.

void operator*= ( const ivec4 other)
inline

References val.

ivec4 operator+ ( const ivec4 other) const
inline

References val.

void operator+= ( const ivec4 other)
inline

References val.

ivec4 operator- ( const ivec4 other) const
inline

References val.

ivec4 operator- ( ) const
inline

References val.

void operator-= ( const ivec4 other)
inline

References val.

ivec4 operator< ( const ivec4 other) const
inline

References val.

ivec4 operator<= ( const ivec4 other) const
inline

References val.

ivec4 operator== ( const ivec4 other) const
inline

References val.

ivec4 operator> ( const ivec4 other) const
inline

References val.

ivec4 operator>= ( const ivec4 other) const
inline

References val.

int operator[] ( int  i) const
inline

References store().

ivec4 operator| ( const ivec4 other) const
inline

References val.

void store ( int *  v) const
inline

References val.

Referenced by operator[]().

Member Data Documentation


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