IT++ Logo Newcom Logo

factory.h File Reference

Base class for class factories. More...

Go to the source code of this file.

Namespaces

namespace  itpp

Classes

class  itpp::Factory
 Base class for class factories. More...

Functions

template<class T>
void itpp::create_elements (T *&ptr, const int n, const Factory &)
 Create an n-length array of T to be used as Array, Vec or Mat elements.
template<class T>
void itpp::create_elements (Array< T > *&ptr, const int n, const Factory &f)
 Create an n-length array of Array<T> to be used as Array elements.
template<class T>
void itpp::create_elements (Mat< T > *&ptr, const int n, const Factory &f)
 Create an n-length array of Mat<T> to be used as Array elements.
template<class T>
void itpp::create_elements (Vec< T > *&ptr, const int n, const Factory &f)
 Create an n-length array of Vec<T> to be used as Array elements.

Variables

const Factory itpp::DEFAULT_FACTORY
 Default (dummy) factory.


Detailed Description

Base class for class factories.

Author:
Johan Bergman
Date
2006-07-12 11:31:45 +0200 (śro, 12 lip 2006)
Revision
523

-------------------------------------------------------------------------

IT++ - C++ library of mathematical, signal processing, speech processing, and communications classes and functions

Copyright (C) 1995-2006 (see AUTHORS file for a list of contributors)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

-------------------------------------------------------------------------

Definition in file factory.h.

SourceForge Logo

Generated on Thu Apr 19 14:14:59 2007 for IT++ by Doxygen 1.5.1