Open CASCADE Technology 6.6.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
BOPCol_Array1< Type > Class Template Reference

#include <BOPCol_Array1.hxx>

Public Types

typedef BOPCol_MemBlock< Type > * BOPCol_PMemBlock
typedef BOPCol_MemBlock< Type > BOPCol_XMemBlock

Public Member Functions

 BOPCol_Array1 (const Handle< NCollection_BaseAllocator > &theAllocator=0L)
 ~BOPCol_Array1 ()
void Clear ()
void SetStartSize (const Standard_Integer theSize)
void SetIncrement (const Standard_Integer theSize)
Standard_Integer Increment () const
Standard_Integer Extent () const
Standard_Integer Size () const
Standard_Integer Length () const
void Init ()
Standard_Integer Append (const Type &theValue)
Standard_Integer Append ()
void SetValue (const Standard_Integer theIndex, const Type &theValue)
const Type & operator() (const Standard_Integer theIndex) const
const Type & Value (const Standard_Integer theIndex) const
Type & operator() (const Standard_Integer theIndex)
Type & ChangeValue (const Standard_Integer theIndex)

Protected Member Functions

Standard_Boolean FindBlock (const Standard_Integer theIndex) const
 BOPCol_Array1 (const BOPCol_Array1 &)
BOPCol_Array1operator= (const BOPCol_Array1 &theOther)

Protected Attributes

Standard_Integer myStartSize
Standard_Integer myIncrement
Standard_Integer myExtent
Type myDfltItem
BOPCol_MemBlock< Type > * myPBlock
BOPCol_MemBlock< Type > * myPBlock1
Handle< NCollection_BaseAllocatormyAllocator

template<class Type>
class BOPCol_Array1< Type >


Member Typedef Documentation

template<class Type>
typedef BOPCol_MemBlock<Type>* BOPCol_Array1< Type >::BOPCol_PMemBlock
template<class Type>
typedef BOPCol_MemBlock<Type> BOPCol_Array1< Type >::BOPCol_XMemBlock

Constructor & Destructor Documentation

template<class Type>
BOPCol_Array1< Type >::BOPCol_Array1 ( const Handle< NCollection_BaseAllocator > &  theAllocator = 0L) [inline]
template<class Type>
BOPCol_Array1< Type >::~BOPCol_Array1 ( ) [inline]
template<class Type>
BOPCol_Array1< Type >::BOPCol_Array1 ( const BOPCol_Array1< Type > &  ) [protected]

Member Function Documentation

template<class Type>
Standard_Integer BOPCol_Array1< Type >::Append ( const Type &  theValue)
template<class Type>
Standard_Integer BOPCol_Array1< Type >::Append ( )
template<class Type >
Type & BOPCol_Array1< Type >::ChangeValue ( const Standard_Integer  theIndex)
template<class Type>
void BOPCol_Array1< Type >::Clear ( ) [inline]
template<class Type>
Standard_Integer BOPCol_Array1< Type >::Extent ( ) const [inline]
template<class Type >
Standard_Boolean BOPCol_Array1< Type >::FindBlock ( const Standard_Integer  theIndex) const [protected]
template<class Type>
Standard_Integer BOPCol_Array1< Type >::Increment ( ) const [inline]
template<class Type >
void BOPCol_Array1< Type >::Init ( )
template<class Type>
Standard_Integer BOPCol_Array1< Type >::Length ( ) const [inline]
template<class Type >
const Type & BOPCol_Array1< Type >::operator() ( const Standard_Integer  theIndex) const
template<class Type >
Type & BOPCol_Array1< Type >::operator() ( const Standard_Integer  theIndex)
template<class Type>
BOPCol_Array1& BOPCol_Array1< Type >::operator= ( const BOPCol_Array1< Type > &  theOther) [protected]
template<class Type>
void BOPCol_Array1< Type >::SetIncrement ( const Standard_Integer  theSize) [inline]
template<class Type>
void BOPCol_Array1< Type >::SetStartSize ( const Standard_Integer  theSize) [inline]
template<class Type>
void BOPCol_Array1< Type >::SetValue ( const Standard_Integer  theIndex,
const Type &  theValue 
)
template<class Type>
Standard_Integer BOPCol_Array1< Type >::Size ( ) const [inline]
template<class Type >
const Type & BOPCol_Array1< Type >::Value ( const Standard_Integer  theIndex) const

Field Documentation

template<class Type>
Handle< NCollection_BaseAllocator > BOPCol_Array1< Type >::myAllocator [protected]
template<class Type>
Type BOPCol_Array1< Type >::myDfltItem [protected]
template<class Type>
Standard_Integer BOPCol_Array1< Type >::myExtent [protected]
template<class Type>
Standard_Integer BOPCol_Array1< Type >::myIncrement [protected]
template<class Type>
BOPCol_MemBlock<Type>* BOPCol_Array1< Type >::myPBlock [protected]
template<class Type>
BOPCol_MemBlock<Type>* BOPCol_Array1< Type >::myPBlock1 [protected]
template<class Type>
Standard_Integer BOPCol_Array1< Type >::myStartSize [protected]

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