Thyra Package Browser (Single Doxygen Collection) Version of the Day
Public Types | Public Member Functions | Private Attributes
Thyra::MultiVectorAllocator< Scalar > Class Template Reference

Allocator class to be used with Teuchos::AbstractFactoryStd to create MultiVectorBase objects of a given size. More...

#include <Thyra_MultiVectorAllocator.hpp>

List of all members.

Public Types

typedef Teuchos::RCP
< MultiVectorBase< Scalar > > 
ptr_t
 

Public Member Functions

 MultiVectorAllocator ()
 
 MultiVectorAllocator (const Teuchos::RCP< const VectorSpaceBase< Scalar > > &vs, int numMembers)
 
const ptr_t allocate () const
 

Private Attributes

Teuchos::RCP< const
VectorSpaceBase< Scalar > > 
vs_
int numMembers_

Detailed Description

template<class Scalar>
class Thyra::MultiVectorAllocator< Scalar >

Allocator class to be used with Teuchos::AbstractFactoryStd to create MultiVectorBase objects of a given size.

Definition at line 41 of file Thyra_MultiVectorAllocator.hpp.


Member Typedef Documentation

template<class Scalar >
typedef Teuchos::RCP<MultiVectorBase<Scalar> > Thyra::MultiVectorAllocator< Scalar >::ptr_t

Definition at line 46 of file Thyra_MultiVectorAllocator.hpp.


Constructor & Destructor Documentation

template<class Scalar >
Thyra::MultiVectorAllocator< Scalar >::MultiVectorAllocator ( ) [inline]

Definition at line 44 of file Thyra_MultiVectorAllocator.hpp.

template<class Scalar >
Thyra::MultiVectorAllocator< Scalar >::MultiVectorAllocator ( const Teuchos::RCP< const VectorSpaceBase< Scalar > > &  vs,
int  numMembers 
) [inline]

Definition at line 48 of file Thyra_MultiVectorAllocator.hpp.


Member Function Documentation

template<class Scalar >
const ptr_t Thyra::MultiVectorAllocator< Scalar >::allocate ( ) const [inline]

Member Data Documentation

template<class Scalar >
Teuchos::RCP<const VectorSpaceBase<Scalar> > Thyra::MultiVectorAllocator< Scalar >::vs_ [private]
template<class Scalar >
int Thyra::MultiVectorAllocator< Scalar >::numMembers_ [private]

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