FbxVectorTemplate2< T > Class Template Reference

FbxVectorTemplate2< T > Class Template Reference

#include <fbxtypes.h>

Class Description

template<class T>
class FbxVectorTemplate2< T >

+ Examples:

Definition at line 199 of file fbxtypes.h.

+ Inheritance diagram for FbxVectorTemplate2< T >:

Public Member Functions

 FbxVectorTemplate2 ()
 
 FbxVectorTemplate2 (T pValue)
 
 FbxVectorTemplate2 (T pData0, T pData1)
 
 ~FbxVectorTemplate2 ()
 
T & operator[] (int pIndex)
 
const T & operator[] (int pIndex) const
 
FbxVectorTemplate2< T > & operator= (const T &pValue)
 
FbxVectorTemplate2< T > & operator= (const FbxVectorTemplate2< T > &pVector)
 
bool operator== (const FbxVectorTemplate2< T > &pVector) const
 
bool operator!= (const FbxVectorTemplate2< T > &pVector) const
 
T * Buffer ()
 
const T * Buffer () const
 

Public Attributes

mData [2]
 

Constructor & Destructor Documentation

FbxVectorTemplate2 ( )
inline

Definition at line 202 of file fbxtypes.h.

202 { *this = T(0); }
FbxVectorTemplate2 ( pValue)
inlineexplicit

Definition at line 203 of file fbxtypes.h.

203 { *this = pValue; }
FbxVectorTemplate2 ( pData0,
pData1 
)
inline

Definition at line 204 of file fbxtypes.h.

204 { mData[0] = pData0; mData[1] = pData1; }
~FbxVectorTemplate2 ( )
inline

Definition at line 205 of file fbxtypes.h.

205 {}

Member Function Documentation

T& operator[] ( int  pIndex)
inline

Definition at line 206 of file fbxtypes.h.

206 { return mData[pIndex]; }
const T& operator[] ( int  pIndex) const
inline

Definition at line 207 of file fbxtypes.h.

207 { return mData[pIndex]; }
FbxVectorTemplate2<T>& operator= ( const T &  pValue)
inline

Definition at line 208 of file fbxtypes.h.

208 { mData[0] = pValue; mData[1] = pValue; return *this; }
FbxVectorTemplate2<T>& operator= ( const FbxVectorTemplate2< T > &  pVector)
inline

Definition at line 209 of file fbxtypes.h.

209 { mData[0] = pVector.mData[0]; mData[1] = pVector.mData[1]; return *this; }
bool operator== ( const FbxVectorTemplate2< T > &  pVector) const
inline

Definition at line 210 of file fbxtypes.h.

210 { return ((mData[0] == pVector.mData[0]) && (mData[1] == pVector.mData[1])); }
bool operator!= ( const FbxVectorTemplate2< T > &  pVector) const
inline

Definition at line 211 of file fbxtypes.h.

211 { return !operator==( pVector ); }
bool operator==(const FbxVectorTemplate2< T > &pVector) const
Definition: fbxtypes.h:210
T* Buffer ( )
inline

Definition at line 212 of file fbxtypes.h.

212 { return mData; }
const T* Buffer ( ) const
inline

Definition at line 213 of file fbxtypes.h.

213 { return mData; }

Member Data Documentation

T mData[2]

Definition at line 214 of file fbxtypes.h.


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