Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
artkpFloat_fixed< MATHBASE > Class Template Reference

#include <artkpFloat_fixed.h>

List of all members.

Public Types

enum  { PBITS = MATHBASE::PBITS, CHECK = MATHBASE::CHECK }

Public Member Functions

 artkpFloat_fixed ()
 artkpFloat_fixed (float nV)
 artkpFloat_fixed (double nV)
 artkpFloat_fixed (const artkpFloat_fixed &nOther)
template<typename OTHER_MATHBASE >
 artkpFloat_fixed (const artkpFloat_fixed< OTHER_MATHBASE > &nOther)
int getByte () const
double getDouble () const
int getFixed () const
float getFloat () const
int getInt () const
void inverse (const artkpFloat_fixed &nOther)
void inverse ()
void inverseSqrt (const artkpFloat_fixed &nOther)
void inverseSqrt ()
bool isFixed ()
void multiplyBy255 ()
bool operator!= (const artkpFloat_fixed &nOther) const
bool operator!= (int nOther) const
bool operator!= (float nOther) const
artkpFloat_fixedoperator*= (int nV)
artkpFloat_fixedoperator*= (float nV)
artkpFloat_fixedoperator*= (double nV)
artkpFloat_fixedoperator*= (const artkpFloat_fixed &nOther)
artkpFloat_fixedoperator+= (int nV)
artkpFloat_fixedoperator+= (float nV)
artkpFloat_fixedoperator+= (double nV)
artkpFloat_fixedoperator+= (const artkpFloat_fixed &nOther)
artkpFloat_fixed operator- () const
artkpFloat_fixedoperator-= (int nV)
artkpFloat_fixedoperator-= (float nV)
artkpFloat_fixedoperator-= (double nV)
artkpFloat_fixedoperator-= (const artkpFloat_fixed &nOther)
artkpFloat_fixedoperator/= (int nV)
artkpFloat_fixedoperator/= (float nV)
artkpFloat_fixedoperator/= (double nV)
artkpFloat_fixedoperator/= (const artkpFloat_fixed &nOther)
bool operator< (const artkpFloat_fixed &nOther) const
bool operator< (int nOther) const
bool operator< (float nOther) const
artkpFloat_fixedoperator<<= (int nBits)
bool operator<= (const artkpFloat_fixed &nOther) const
bool operator<= (int nOther) const
bool operator<= (float nOther) const
artkpFloat_fixedoperator= (int nV)
artkpFloat_fixedoperator= (float nV)
artkpFloat_fixedoperator= (double nV)
artkpFloat_fixedoperator= (const artkpFloat_fixed &nOther)
bool operator== (const artkpFloat_fixed &nOther) const
bool operator== (int nOther) const
bool operator== (float nOther) const
bool operator> (const artkpFloat_fixed &nOther) const
bool operator> (int nOther) const
bool operator> (float nOther) const
bool operator>= (const artkpFloat_fixed &nOther) const
bool operator>= (int nOther) const
bool operator>= (float nOther) const
artkpFloat_fixedoperator>>= (int nBits)
void setArtkpFloat (const artkpFloat_fixed &nOther)
void setDouble (double nV)
void setFixed (int nV)
void setFloat (float nV)
void setInt (int nV)

Protected Member Functions

 artkpFloat_fixed (int nV)

Protected Attributes

int v

Friends

artkpFloat_fixed cos (const artkpFloat_fixed &nV)
artkpFloat_fixed operator* (const artkpFloat_fixed &left, const artkpFloat_fixed &right)
artkpFloat_fixed operator* (const artkpFloat_fixed &left, float right)
artkpFloat_fixed operator* (float left, const artkpFloat_fixed &right)
artkpFloat_fixed operator+ (const artkpFloat_fixed &left, const artkpFloat_fixed &right)
artkpFloat_fixed operator+ (const artkpFloat_fixed &left, float right)
artkpFloat_fixed operator+ (float left, const artkpFloat_fixed &right)
artkpFloat_fixed operator- (const artkpFloat_fixed &left, const artkpFloat_fixed &right)
artkpFloat_fixed operator- (const artkpFloat_fixed &left, float right)
artkpFloat_fixed operator- (float left, const artkpFloat_fixed &right)
artkpFloat_fixed operator/ (const artkpFloat_fixed &left, const artkpFloat_fixed &right)
artkpFloat_fixed operator/ (const artkpFloat_fixed &left, float right)
artkpFloat_fixed operator/ (float left, const artkpFloat_fixed &right)

Detailed Description

template<typename MATHBASE>
class artkpFloat_fixed< MATHBASE >

Definition at line 60 of file artkpFloat_fixed.h.


Member Enumeration Documentation

template<typename MATHBASE>
anonymous enum
Enumerator:
PBITS 
CHECK 

Definition at line 63 of file artkpFloat_fixed.h.


Constructor & Destructor Documentation

template<typename MATHBASE>
artkpFloat_fixed< MATHBASE >::artkpFloat_fixed ( ) [inline]

Definition at line 68 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed< MATHBASE >::artkpFloat_fixed ( float  nV) [inline]

Definition at line 69 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed< MATHBASE >::artkpFloat_fixed ( double  nV) [inline]

Definition at line 70 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed< MATHBASE >::artkpFloat_fixed ( const artkpFloat_fixed< MATHBASE > &  nOther) [inline]

Definition at line 71 of file artkpFloat_fixed.h.

template<typename MATHBASE>
template<typename OTHER_MATHBASE >
artkpFloat_fixed< MATHBASE >::artkpFloat_fixed ( const artkpFloat_fixed< OTHER_MATHBASE > &  nOther) [inline]

Definition at line 75 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed< MATHBASE >::artkpFloat_fixed ( int  nV) [inline, protected]

Definition at line 210 of file artkpFloat_fixed.h.


Member Function Documentation

template<typename MATHBASE>
int artkpFloat_fixed< MATHBASE >::getByte ( ) const [inline]

Definition at line 106 of file artkpFloat_fixed.h.

template<typename MATHBASE>
double artkpFloat_fixed< MATHBASE >::getDouble ( ) const [inline]

Definition at line 110 of file artkpFloat_fixed.h.

template<typename MATHBASE>
int artkpFloat_fixed< MATHBASE >::getFixed ( ) const [inline]

Definition at line 107 of file artkpFloat_fixed.h.

template<typename MATHBASE>
float artkpFloat_fixed< MATHBASE >::getFloat ( ) const [inline]

Definition at line 109 of file artkpFloat_fixed.h.

template<typename MATHBASE>
int artkpFloat_fixed< MATHBASE >::getInt ( ) const [inline]

Definition at line 108 of file artkpFloat_fixed.h.

template<typename MATHBASE>
void artkpFloat_fixed< MATHBASE >::inverse ( const artkpFloat_fixed< MATHBASE > &  nOther) [inline]

Definition at line 112 of file artkpFloat_fixed.h.

template<typename MATHBASE>
void artkpFloat_fixed< MATHBASE >::inverse ( ) [inline]

Definition at line 113 of file artkpFloat_fixed.h.

template<typename MATHBASE>
void artkpFloat_fixed< MATHBASE >::inverseSqrt ( const artkpFloat_fixed< MATHBASE > &  nOther) [inline]

Definition at line 115 of file artkpFloat_fixed.h.

template<typename MATHBASE>
void artkpFloat_fixed< MATHBASE >::inverseSqrt ( ) [inline]

Definition at line 116 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::isFixed ( ) [inline]

Definition at line 98 of file artkpFloat_fixed.h.

template<typename MATHBASE>
void artkpFloat_fixed< MATHBASE >::multiplyBy255 ( ) [inline]

Definition at line 118 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator!= ( const artkpFloat_fixed< MATHBASE > &  nOther) const [inline]

Definition at line 158 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator!= ( int  nOther) const [inline]

Definition at line 165 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator!= ( float  nOther) const [inline]

Definition at line 172 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator*= ( int  nV) [inline]

Definition at line 136 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator*= ( float  nV) [inline]

Definition at line 141 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator*= ( double  nV) [inline]

Definition at line 146 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator*= ( const artkpFloat_fixed< MATHBASE > &  nOther) [inline]

Definition at line 151 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator+= ( int  nV) [inline]

Definition at line 134 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator+= ( float  nV) [inline]

Definition at line 139 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator+= ( double  nV) [inline]

Definition at line 144 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator+= ( const artkpFloat_fixed< MATHBASE > &  nOther) [inline]

Definition at line 149 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed artkpFloat_fixed< MATHBASE >::operator- ( ) const [inline]

Definition at line 206 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator-= ( int  nV) [inline]

Definition at line 135 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator-= ( float  nV) [inline]

Definition at line 140 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator-= ( double  nV) [inline]

Definition at line 145 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator-= ( const artkpFloat_fixed< MATHBASE > &  nOther) [inline]

Definition at line 150 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator/= ( int  nV) [inline]

Definition at line 137 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator/= ( float  nV) [inline]

Definition at line 142 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator/= ( double  nV) [inline]

Definition at line 147 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator/= ( const artkpFloat_fixed< MATHBASE > &  nOther) [inline]

Definition at line 152 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator< ( const artkpFloat_fixed< MATHBASE > &  nOther) const [inline]

Definition at line 161 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator< ( int  nOther) const [inline]

Definition at line 168 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator< ( float  nOther) const [inline]

Definition at line 175 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator<<= ( int  nBits) [inline]

Definition at line 155 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator<= ( const artkpFloat_fixed< MATHBASE > &  nOther) const [inline]

Definition at line 159 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator<= ( int  nOther) const [inline]

Definition at line 166 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator<= ( float  nOther) const [inline]

Definition at line 173 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator= ( int  nV) [inline]

Definition at line 129 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator= ( float  nV) [inline]

Definition at line 130 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator= ( double  nV) [inline]

Definition at line 131 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator= ( const artkpFloat_fixed< MATHBASE > &  nOther) [inline]

Definition at line 132 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator== ( const artkpFloat_fixed< MATHBASE > &  nOther) const [inline]

Definition at line 157 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator== ( int  nOther) const [inline]

Definition at line 164 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator== ( float  nOther) const [inline]

Definition at line 171 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator> ( const artkpFloat_fixed< MATHBASE > &  nOther) const [inline]

Definition at line 162 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator> ( int  nOther) const [inline]

Definition at line 169 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator> ( float  nOther) const [inline]

Definition at line 176 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator>= ( const artkpFloat_fixed< MATHBASE > &  nOther) const [inline]

Definition at line 160 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator>= ( int  nOther) const [inline]

Definition at line 167 of file artkpFloat_fixed.h.

template<typename MATHBASE>
bool artkpFloat_fixed< MATHBASE >::operator>= ( float  nOther) const [inline]

Definition at line 174 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed& artkpFloat_fixed< MATHBASE >::operator>>= ( int  nBits) [inline]

Definition at line 154 of file artkpFloat_fixed.h.

template<typename MATHBASE>
void artkpFloat_fixed< MATHBASE >::setArtkpFloat ( const artkpFloat_fixed< MATHBASE > &  nOther) [inline]

Definition at line 104 of file artkpFloat_fixed.h.

template<typename MATHBASE>
void artkpFloat_fixed< MATHBASE >::setDouble ( double  nV) [inline]

Definition at line 103 of file artkpFloat_fixed.h.

template<typename MATHBASE>
void artkpFloat_fixed< MATHBASE >::setFixed ( int  nV) [inline]

Definition at line 100 of file artkpFloat_fixed.h.

template<typename MATHBASE>
void artkpFloat_fixed< MATHBASE >::setFloat ( float  nV) [inline]

Definition at line 102 of file artkpFloat_fixed.h.

template<typename MATHBASE>
void artkpFloat_fixed< MATHBASE >::setInt ( int  nV) [inline]

Definition at line 101 of file artkpFloat_fixed.h.


Friends And Related Function Documentation

template<typename MATHBASE>
artkpFloat_fixed cos ( const artkpFloat_fixed< MATHBASE > &  nV) [friend]

Definition at line 123 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed operator* ( const artkpFloat_fixed< MATHBASE > &  left,
const artkpFloat_fixed< MATHBASE > &  right 
) [friend]

Definition at line 192 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed operator* ( const artkpFloat_fixed< MATHBASE > &  left,
float  right 
) [friend]

Definition at line 194 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed operator* ( float  left,
const artkpFloat_fixed< MATHBASE > &  right 
) [friend]

Definition at line 196 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed operator+ ( const artkpFloat_fixed< MATHBASE > &  left,
const artkpFloat_fixed< MATHBASE > &  right 
) [friend]

Definition at line 178 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed operator+ ( const artkpFloat_fixed< MATHBASE > &  left,
float  right 
) [friend]

Definition at line 180 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed operator+ ( float  left,
const artkpFloat_fixed< MATHBASE > &  right 
) [friend]

Definition at line 182 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed operator- ( const artkpFloat_fixed< MATHBASE > &  left,
const artkpFloat_fixed< MATHBASE > &  right 
) [friend]

Definition at line 185 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed operator- ( const artkpFloat_fixed< MATHBASE > &  left,
float  right 
) [friend]

Definition at line 187 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed operator- ( float  left,
const artkpFloat_fixed< MATHBASE > &  right 
) [friend]

Definition at line 189 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed operator/ ( const artkpFloat_fixed< MATHBASE > &  left,
const artkpFloat_fixed< MATHBASE > &  right 
) [friend]

Definition at line 199 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed operator/ ( const artkpFloat_fixed< MATHBASE > &  left,
float  right 
) [friend]

Definition at line 201 of file artkpFloat_fixed.h.

template<typename MATHBASE>
artkpFloat_fixed operator/ ( float  left,
const artkpFloat_fixed< MATHBASE > &  right 
) [friend]

Definition at line 203 of file artkpFloat_fixed.h.


Member Data Documentation

template<typename MATHBASE>
int artkpFloat_fixed< MATHBASE >::v [protected]

Definition at line 212 of file artkpFloat_fixed.h.


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


tuw_artoolkitplus
Author(s): Markus Bader
autogenerated on Sun May 29 2016 02:50:12