Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

csfl::ISimpleVectorOf Class Template Reference

#include <oarray.h>

Inheritance diagram for csfl::ISimpleVectorOf::

csfl::ISimpleArrayOf csfl::IDMultiPointLine csfl::IObjectArrayOf csfl::IDPolygon csfl::IContainerBCond csfl::IContainerEquation csfl::IContainerField csfl::IContainerGrid csfl::IContainerMesh csfl::IContainerParameter csfl::IFixedNodes List of all members.

Public Methods

 ISimpleVectorOf ()
 ISimpleVectorOf (int _size, const T *_data=NULL)
 ISimpleVectorOf (const ISimpleVectorOf< T > &)
 ~ISimpleVectorOf ()
T& operator[] (int)
const T& operator[] (int) const
ISimpleVectorOf<T>& operator= (const ISimpleVectorOf< T > &)
int Size () const
int SetSize (int _size, TDataGravity=dgNoGravity)
bool IsNull () const
T* Data ()
const T* Data () const
T& Data (int)
const T& Data (int) const
int IndexOf (const T *value) const

Protected Attributes

T* data
int size

Detailed Description

template<class T> class csfl::ISimpleVectorOf

Classe modelo que representa um vetor de qualquer tipo de elemento, que é definido pelo parâmetro modelo “T“.


Constructor & Destructor Documentation

template<class T>
csfl::ISimpleVectorOf< T >::ISimpleVectorOf<T> ( ) [inline]
 

template<class T>
csfl::ISimpleVectorOf< T >::ISimpleVectorOf<T> ( int _size,
const T * _data = NULL ) [inline]
 

template<class T>
csfl::ISimpleVectorOf< T >::ISimpleVectorOf<T> ( const ISimpleVectorOf< T > & _vector ) [inline]
 

template<class T>
csfl::ISimpleVectorOf< T >::~ISimpleVectorOf<T> ( ) [inline]
 


Member Function Documentation

template<class T>
const T & csfl::ISimpleVectorOf< T >::Data ( int idx ) const [inline]
 

template<class T>
T & csfl::ISimpleVectorOf< T >::Data ( int idx ) [inline]
 

template<class T>
const T * csfl::ISimpleVectorOf<T>::Data ( ) const [inline]
 

Reimplemented in csfl::ISimpleArrayOf, and csfl::IObjectArrayOf.

template<class T>
T * csfl::ISimpleVectorOf<T>::Data ( ) [inline]
 

Reimplemented in csfl::ISimpleArrayOf, and csfl::IObjectArrayOf.

template<class T>
int csfl::ISimpleVectorOf<T>::IndexOf ( const T * value ) const [inline]
 

Reimplemented in csfl::ISimpleArrayOf.

template<class T>
bool csfl::ISimpleVectorOf<T>::IsNull ( ) const [inline]
 

template<class T>
int csfl::ISimpleVectorOf< T >::SetSize ( int _size,
TDataGravity dg = dgNoGravity ) [inline]
 

Reimplemented in csfl::ISimpleArrayOf.

template<class T>
int csfl::ISimpleVectorOf<T>::Size ( ) const [inline]
 

template<class T>
ISimpleVectorOf< T > & csfl::ISimpleVectorOf< T >::operator= ( const ISimpleVectorOf< T > & _vector ) [inline]
 

template<class T>
const T & csfl::ISimpleVectorOf< T >::operator[] ( int idx ) const [inline]
 

Reimplemented in csfl::ISimpleArrayOf, and csfl::IObjectArrayOf.

template<class T>
T & csfl::ISimpleVectorOf< T >::operator[] ( int idx ) [inline]
 

Reimplemented in csfl::ISimpleArrayOf, and csfl::IObjectArrayOf.


Member Data Documentation

template<class T>
T * csfl::ISimpleVectorOf<T>::data [protected]
 

template<class T>
int csfl::ISimpleVectorOf<T>::size [protected]
 


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

 

CFD Project | Documents | Downloads | Contact us | Use Terms

 

© SINMEC/EMC/UFSC, 2001.

All rights reserved.

Last Update: Jan. 18, 2002

 Webmaster