FbxVectorTemplate2< T > Class Template Reference

FbxVectorTemplate2< T > Class Template Reference
+ This reference page is linked to from the following overview topics:

#include <fbxtypes.h>

Class Description

template<class T>
class FbxVectorTemplate2< T >

+ Examples:

Definition at line 191 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 194 of file fbxtypes.h.

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

Definition at line 195 of file fbxtypes.h.

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

Definition at line 196 of file fbxtypes.h.

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

Definition at line 197 of file fbxtypes.h.

197 {}

Member Function Documentation

T& operator[] ( int  pIndex)
inline

Definition at line 198 of file fbxtypes.h.

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

Definition at line 199 of file fbxtypes.h.

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

Definition at line 200 of file fbxtypes.h.

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

Definition at line 201 of file fbxtypes.h.

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

Definition at line 202 of file fbxtypes.h.

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

Definition at line 203 of file fbxtypes.h.

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

Definition at line 204 of file fbxtypes.h.

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

Definition at line 205 of file fbxtypes.h.

205 { return mData; }

Member Data Documentation

T mData[2]

Definition at line 206 of file fbxtypes.h.


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