All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces
PtrVector.h File Reference

Implementation of a vector for (polymorphic) pointers. More...

#include <algorithm>
#include <stdexcept>
#include <blaze/util/Algorithm.h>
#include <blaze/util/Assert.h>
#include <blaze/util/constraints/Convertible.h>
#include <blaze/util/constraints/DerivedFrom.h>
#include <blaze/util/Null.h>
#include <blaze/util/policies/PtrDelete.h>
#include <blaze/util/policies/OptimalGrowth.h>
#include <blaze/util/PtrIterator.h>
#include <blaze/util/Template.h>
#include <blaze/util/Types.h>

Go to the source code of this file.

Classes

class  blaze::PtrVector< T, D, G >
 Implementation of a vector for (polymorphic) pointers. More...
 
class  blaze::PtrVector< T, D, G >::CastIterator< C >
 Dynamic cast iterator for polymorphic pointer vectors.The CastIterator class is part of the PtrVector class and represent a forward iterator over all elements of type C contained in a range of elements of type T, where C is a type derived from T. More...
 
class  blaze::PtrVector< T, D, G >::ConstCastIterator< C >
 Dynamic cast iterator for polymorphic pointer vectors.The ConstCastIterator class is part of the PtrVector class and represent a forward iterator over all elements of type C contained in a range of elements of type T, where C is a type derived from T. The ConstCastIterator is the counterpart of CastIterator for constant vectors. More...
 
class  blaze::PtrVector< T, D, G >::CastIterator< C >
 Dynamic cast iterator for polymorphic pointer vectors.The CastIterator class is part of the PtrVector class and represent a forward iterator over all elements of type C contained in a range of elements of type T, where C is a type derived from T. More...
 
class  blaze::PtrVector< T, D, G >::ConstCastIterator< C >
 Dynamic cast iterator for polymorphic pointer vectors.The ConstCastIterator class is part of the PtrVector class and represent a forward iterator over all elements of type C contained in a range of elements of type T, where C is a type derived from T. The ConstCastIterator is the counterpart of CastIterator for constant vectors. More...
 

Namespaces

namespace  blaze
 Namespace of the Blaze C++ math library.
 

Functions

PtrVector operators
template<typename T , typename D , typename G >
bool blaze::operator== (const PtrVector< T, D, G > &lhs, const PtrVector< T, D, G > &rhs)
 Equality comparison between two pointer vectors. More...
 
template<typename T , typename D , typename G >
bool blaze::operator!= (const PtrVector< T, D, G > &lhs, const PtrVector< T, D, G > &rhs)
 Inequality comparison between two pointer vectors. More...
 
template<typename T , typename D , typename G >
void blaze::swap (PtrVector< T, D, G > &a, PtrVector< T, D, G > &b)
 Swapping the contents of two pointer vectors. More...
 

Detailed Description

Implementation of a vector for (polymorphic) pointers.

Copyright (C) 2011 Klaus Iglberger - All Rights Reserved

This file is part of the Blaze library. This library 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 3, or (at your option) any later version.

This library 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 a special exception for linking and compiling against the Blaze library, the so-called "runtime exception"; see the file COPYING. If not, see http://www.gnu.org/licenses/.