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

csfl::IObjectArrayOf Class Template Reference

#include <oarray.h>

Inheritance diagram for csfl::IObjectArrayOf::

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

Public Types

typedef T* const* TObjs

Public Methods

 IObjectArrayOf (bool=true, int=0, int=16)
 ~IObjectArrayOf ()
T* operator[] (int)
const T* operator[] (int) const
T* const* Objects ()
const T* const* Objects () const
virtual void Clear ()
int Add (T *)
int Add (IObjectArrayOf< T > &)
int Insert (int, T *)
int Insert (int, IObjectArrayOf< T > &)
int Remove (int, int=1)
bool IsOwner () const
bool SetOwner (bool _owner)
T* const* Data () const

Protected Methods

T** Data ()
void FreeObjects (int, int)

Protected Attributes

bool owner

Detailed Description

template<class T> class csfl::IObjectArrayOf

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


Member Typedef Documentation

template<class T>
typedef T *const * csfl::IObjectArrayOf<T>::TObjs
 


Constructor & Destructor Documentation

template<class T>
csfl::IObjectArrayOf< T >::IObjectArrayOf<T> ( bool _owner = true,
int _size = 0,
int _delta = 16 ) [inline]
 

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


Member Function Documentation

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

template<class T>
int csfl::IObjectArrayOf< T >::Add ( T * object ) [inline]
 

template<class T>
void csfl::IObjectArrayOf< T >::Clear ( ) [inline, virtual]
 

Reimplemented from csfl::ISimpleArrayOf.

template<class T>
T ** csfl::IObjectArrayOf<T>::Data ( ) [inline, protected]
 

Reimplemented from csfl::ISimpleArrayOf.

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

Reimplemented from csfl::ISimpleArrayOf.

template<class T>
void csfl::IObjectArrayOf< T >::FreeObjects ( int pos,
int n ) [protected]
 

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

template<class T>
int csfl::IObjectArrayOf< T >::Insert ( int pos,
T * object ) [inline]
 

template<class T>
bool csfl::IObjectArrayOf<T>::IsOwner ( ) const [inline]
 

template<class T>
const T *const * csfl::IObjectArrayOf<T>::Objects ( ) const [inline]
 

template<class T>
T *const * csfl::IObjectArrayOf<T>::Objects ( ) [inline]
 

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

Reimplemented from csfl::ISimpleArrayOf.

template<class T>
bool csfl::IObjectArrayOf< T >::SetOwner ( bool _owner ) [inline]
 

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

Reimplemented from csfl::ISimpleArrayOf.

template<class T>
T * csfl::IObjectArrayOf< T >::operator[] ( int idx ) [inline]
 

Reimplemented from csfl::ISimpleArrayOf.


Member Data Documentation

template<class T>
bool csfl::IObjectArrayOf<T>::owner [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