RVL::RnDataContainerFactory< Scalar > Class Template Reference

A factory for RnArrays. More...

#include <rn.hh>

Inheritance diagram for RVL::RnDataContainerFactory< Scalar >:

RVL::LocalDataContainerFactory< Scalar > RVL::DataContainerFactory RVL::Factory< T > RVL::Writeable List of all members.

Public Member Functions

 RnDataContainerFactory (size_t _n=0)
 RnDataContainerFactory (const RnDataContainerFactory< Scalar > &f)
 ~RnDataContainerFactory ()
virtual LocalDataContainer<
Scalar > * 
buildLocal () const
virtual bool compare (DataContainerFactory const &dcf) const
 determines whether another DataContainerFactory builds the same kind of DataContainer.
virtual bool isCompatible (DataContainer const &dc) const
 determines whether a DataContainer is of the type built by this factory.
size_t getSize () const
virtual void write (RVLException &e) const
virtual ostream & write (ostream &str) const

Protected Member Functions

void redim (size_t _n)

Detailed Description

template<class Scalar>
class RVL::RnDataContainerFactory< Scalar >

A factory for RnArrays.

Definition at line 138 of file rn.hh.


Constructor & Destructor Documentation

template<class Scalar>
RVL::RnDataContainerFactory< Scalar >::RnDataContainerFactory ( size_t  _n = 0  ) 

Definition at line 150 of file rn.hh.

template<class Scalar>
RVL::RnDataContainerFactory< Scalar >::RnDataContainerFactory ( const RnDataContainerFactory< Scalar > &  f  ) 

Definition at line 151 of file rn.hh.

template<class Scalar>
RVL::RnDataContainerFactory< Scalar >::~RnDataContainerFactory (  ) 

Definition at line 152 of file rn.hh.


Member Function Documentation

template<class Scalar>
void RVL::RnDataContainerFactory< Scalar >::redim ( size_t  _n  )  [protected]

Definition at line 146 of file rn.hh.

template<class Scalar>
virtual LocalDataContainer<Scalar>* RVL::RnDataContainerFactory< Scalar >::buildLocal (  )  const [virtual]

Implements RVL::LocalDataContainerFactory< Scalar >.

Definition at line 154 of file rn.hh.

template<class Scalar>
virtual bool RVL::RnDataContainerFactory< Scalar >::compare ( DataContainerFactory const &  dcf  )  const [virtual]

determines whether another DataContainerFactory builds the same kind of DataContainer.

Usually this means effectively that the two are of the same type, determined by runtime type checking. Returns zero if different types, otherwise nonzero.

Implements RVL::DataContainerFactory.

Definition at line 169 of file rn.hh.

template<class Scalar>
virtual bool RVL::RnDataContainerFactory< Scalar >::isCompatible ( DataContainer const &  dc  )  const [virtual]

determines whether a DataContainer is of the type built by this factory.

Usually implemented through runtime type checking. Returns zero if not, else nonzero.

Implements RVL::DataContainerFactory.

Definition at line 186 of file rn.hh.

template<class Scalar>
size_t RVL::RnDataContainerFactory< Scalar >::getSize (  )  const [virtual]

Implements RVL::LocalDataContainerFactory< Scalar >.

Definition at line 198 of file rn.hh.

template<class Scalar>
virtual void RVL::RnDataContainerFactory< Scalar >::write ( RVLException e  )  const [virtual]

Reimplemented from RVL::Writeable.

Definition at line 200 of file rn.hh.

template<class Scalar>
virtual ostream& RVL::RnDataContainerFactory< Scalar >::write ( ostream &  str  )  const [virtual]

Implements RVL::Writeable.

Definition at line 203 of file rn.hh.


The documentation for this class was generated from the following file:
Generated on 5 Jan 2017 for LocalRVL by  doxygen 1.4.7