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

csfl::ISimpleArrayOf Class Template Reference

#include <oarray.h>

Inheritance diagram for csfl::ISimpleArrayOf::

csfl::ISimpleVectorOf 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

 ISimpleArrayOf (int=0, int=16, int=0, const T *=NULL)
 ISimpleArrayOf (const ISimpleArrayOf< T > &)
ISimpleArrayOf<T>& operator= (const ISimpleArrayOf< T > &)
T& operator[] (int)
const T& operator[] (int) const
T* Data ()
const T* Data () const
int SetSize (int)
int Count () const
void Clear ()
int Delta () const
int SetDelta (int)
T* New ()
T* New (int)
int Add (const T &)
int Add (const T *, int)
int Add (const ISimpleArrayOf< T > &)
int Insert (int, const T &)
int Insert (int, const T *, int)
int Insert (int, const ISimpleArrayOf< T > &)
int Remove (int, int=1)
int Fit ()
int IndexOf (const T *value) const

Protected Methods

int SetSize (int _size, TDataGravity dg)

Protected Attributes

int count
int delta

Detailed Description

template<class T> class csfl::ISimpleArrayOf

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


Constructor & Destructor Documentation

template<class T>
csfl::ISimpleArrayOf< T >::ISimpleArrayOf<T> ( int _size = 0,
int _delta = 16,
int _count = 0,
const T * _data = NULL ) [inline]
 

template<class T>
csfl::ISimpleArrayOf< T >::ISimpleArrayOf<T> ( const ISimpleArrayOf< T > & array ) [inline]
 


Member Function Documentation

template<class T>
int csfl::ISimpleArrayOf< T >::Add ( const ISimpleArrayOf< T > & array ) [inline]
 

template<class T>
int csfl::ISimpleArrayOf< T >::Add ( const T * values,
int n ) [inline]
 

template<class T>
int csfl::ISimpleArrayOf< T >::Add ( const T & value ) [inline]
 

template<class T>
void csfl::ISimpleArrayOf<T>::Clear ( ) [inline]
 

Reimplemented in csfl::IObjectArrayOf.

template<class T>
int csfl::ISimpleArrayOf<T>::Count ( ) const [inline]
 

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

Reimplemented from csfl::ISimpleVectorOf.

Reimplemented in csfl::IObjectArrayOf.

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

Reimplemented from csfl::ISimpleVectorOf.

Reimplemented in csfl::IObjectArrayOf.

template<class T>
int csfl::ISimpleArrayOf<T>::Delta ( ) const [inline]
 

template<class T>
int csfl::ISimpleArrayOf<T>::Fit ( ) [inline]
 

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

Reimplemented from csfl::ISimpleVectorOf.

template<class T>
int csfl::ISimpleArrayOf< T >::Insert ( int pos,
const ISimpleArrayOf< T > & array ) [inline]
 

template<class T>
int csfl::ISimpleArrayOf< T >::Insert ( int pos,
const T * values,
int n ) [inline]
 

template<class T>
int csfl::ISimpleArrayOf< T >::Insert ( int pos,
const T & value ) [inline]
 

template<class T>
T * csfl::ISimpleArrayOf< T >::New ( int pos ) [inline]
 

template<class T>
T * csfl::ISimpleArrayOf< T >::New ( ) [inline]
 

template<class T>
int csfl::ISimpleArrayOf< T >::Remove ( int pos,
int n = 1 ) [inline]
 

Reimplemented in csfl::IObjectArrayOf.

template<class T>
int csfl::ISimpleArrayOf< T >::SetDelta ( int _delta ) [inline]
 

template<class T>
int csfl::ISimpleArrayOf<T>::SetSize ( int _size,
TDataGravity dg ) [inline, protected]
 

Reimplemented from csfl::ISimpleVectorOf.

template<class T>
int csfl::ISimpleArrayOf< T >::SetSize ( int _size ) [inline]
 

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

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

Reimplemented from csfl::ISimpleVectorOf.

Reimplemented in csfl::IObjectArrayOf.

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

Reimplemented from csfl::ISimpleVectorOf.

Reimplemented in csfl::IObjectArrayOf.


Member Data Documentation

template<class T>
int csfl::ISimpleArrayOf<T>::count [protected]
 

template<class T>
int csfl::ISimpleArrayOf<T>::delta [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