#include <rn.hh>
Inheritance diagram for RVL::RnDataContainerFactory< Scalar >:
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) |
Definition at line 138 of file rn.hh.
RVL::RnDataContainerFactory< Scalar >::RnDataContainerFactory | ( | size_t | _n = 0 |
) |
RVL::RnDataContainerFactory< Scalar >::RnDataContainerFactory | ( | const RnDataContainerFactory< Scalar > & | f | ) |
RVL::RnDataContainerFactory< Scalar >::~RnDataContainerFactory | ( | ) |
void RVL::RnDataContainerFactory< Scalar >::redim | ( | size_t | _n | ) | [protected] |
virtual LocalDataContainer<Scalar>* RVL::RnDataContainerFactory< Scalar >::buildLocal | ( | ) | const [virtual] |
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.
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.
size_t RVL::RnDataContainerFactory< Scalar >::getSize | ( | ) | const [virtual] |
virtual void RVL::RnDataContainerFactory< Scalar >::write | ( | RVLException & | e | ) | const [virtual] |
virtual ostream& RVL::RnDataContainerFactory< Scalar >::write | ( | ostream & | str | ) | const [virtual] |