MeshKit  1.0
CVector< T > Class Template Reference

#include <vectortemplate.hpp>

Inheritance diagram for CVector< T >:

List of all members.

Public Member Functions

 CVector ()
 CVector (int)
 CVector (const char *)
 CVector (const char *, int)
 CVector (const CVector< T > &)
 ~CVector ()
void SetSize (int)
int GetSize () const
void GetName (std::string &szName) const
void Set (T)
void SetName (const std::string &)
T & operator() (int)
const T & operator() (int) const
CVector< T > & operator= (const CVector< T > &)

Private Member Functions

void ErrorHandler (int, int nR=0) const
void Release ()

Private Attributes

int m_nRows
T * m_pCells
std::string m_szName

Detailed Description

template<class T>
class CVector< T >

Definition at line 16 of file vectortemplate.hpp.


Constructor & Destructor Documentation

CVector ( )

Definition at line 56 of file vectortemplate.hpp.

CVector ( int  n)

Definition at line 68 of file vectortemplate.hpp.

CVector ( const char *  szName)

Definition at line 81 of file vectortemplate.hpp.

CVector ( const char *  szName,
int  n 
)

Definition at line 94 of file vectortemplate.hpp.

CVector ( const CVector< T > &  A)

Definition at line 108 of file vectortemplate.hpp.

~CVector ( )

Definition at line 143 of file vectortemplate.hpp.


Member Function Documentation

void ErrorHandler ( int  nErrorCode,
int  nR = 0 
) const [private]

Definition at line 311 of file vectortemplate.hpp.

void GetName ( std::string &  szName) const

Definition at line 187 of file vectortemplate.hpp.

int GetSize ( ) const

Definition at line 211 of file vectortemplate.hpp.

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

Definition at line 243 of file vectortemplate.hpp.

const T & operator() ( int  nR) const [inline]

Definition at line 273 of file vectortemplate.hpp.

CVector< T > & operator= ( const CVector< T > &  matarg)

Definition at line 285 of file vectortemplate.hpp.

void Release ( ) [private]

Definition at line 155 of file vectortemplate.hpp.

void Set ( dV)

Definition at line 198 of file vectortemplate.hpp.

void SetName ( const std::string &  szName)

Definition at line 176 of file vectortemplate.hpp.

void SetSize ( int  nR)

Definition at line 124 of file vectortemplate.hpp.


Member Data Documentation

int m_nRows [private]

Definition at line 19 of file vectortemplate.hpp.

T* m_pCells [private]

Definition at line 20 of file vectortemplate.hpp.

std::string m_szName [private]

Definition at line 25 of file vectortemplate.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines