Public Member Functions | Public Attributes

fbxVectorTemplate2< T > Class Template Reference

This reference page is linked to from the following overview topics: List of Python FBX classes.


Search for all occurrences

Detailed Description

template<class T>
class fbxVectorTemplate2< T >

Examples:

ImportScene/DisplayMaterial.cxx.

Definition at line 110 of file kfbxtypes.h.

#include <kfbxtypes.h>

Inheritance diagram for fbxVectorTemplate2< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Public Attributes

mData [2]

Constructor & Destructor Documentation

fbxVectorTemplate2 ( ) [inline]

Definition at line 112 of file kfbxtypes.h.

{ *this = T(0);  }
fbxVectorTemplate2 ( pValue ) [inline, explicit]

Definition at line 113 of file kfbxtypes.h.

{ *this = pValue;  }
fbxVectorTemplate2 ( pData0,
pData1 
) [inline]

Definition at line 114 of file kfbxtypes.h.

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

Definition at line 115 of file kfbxtypes.h.

{}

Member Function Documentation

T& operator[] ( int  pIndex ) [inline]

Reimplemented in KFbxVector2.

Definition at line 117 of file kfbxtypes.h.

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

Reimplemented in KFbxVector2.

Definition at line 118 of file kfbxtypes.h.

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

Definition at line 119 of file kfbxtypes.h.

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

Definition at line 120 of file kfbxtypes.h.

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

Definition at line 121 of file kfbxtypes.h.

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

Definition at line 122 of file kfbxtypes.h.

{ return !operator==( pRHS ); }
T* Buffer ( ) [inline]

Definition at line 124 of file kfbxtypes.h.

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

Definition at line 125 of file kfbxtypes.h.

{ return mData; }

Member Data Documentation

T mData[2]
Examples:
ViewScene/GlFunctions.cxx.

Definition at line 128 of file kfbxtypes.h.


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