| 
    xoreos
    0.0.5
    
   | 
 
A vector of pointer to objects, with automatic deletion. More...
#include <ptrvector.h>


Public Member Functions | |
| ~PtrVector () | |
| void | clear () | 
| void | pop_back () | 
| std::vector< T * >::iterator | erase (typename std::vector< T *>::iterator position) | 
| std::vector< T * >::iterator | erase (typename std::vector< T *>::iterator first, typename std::vector< T *>::iterator last) | 
| void | resize (typename std::vector< T *>::size_type n, typename std::vector< T *>::value_type val=typename std::vector< T *>::value_type()) | 
| template<class InputIterator > | |
| void | assign (InputIterator first, InputIterator last) | 
| void | assign (typename std::vector< T *>::size_type n, const typename std::vector< T *>::value_type &val) | 
A vector of pointer to objects, with automatic deletion.
A PtrVector expects to hold sole ownership of its contents.
Note: when overwriting elements in a PtrVector using operator[], no automatic deletion can take place!
Definition at line 44 of file ptrvector.h.
      
  | 
  inline | 
Definition at line 46 of file ptrvector.h.
      
  | 
  inline | 
Definition at line 93 of file ptrvector.h.
      
  | 
  inline | 
Definition at line 98 of file ptrvector.h.
      
  | 
  inline | 
Definition at line 50 of file ptrvector.h.
Referenced by Common::PtrVector< Graphics::Aurora::TTFFont::Page >::assign(), Events::EventsManager::deinitJoysticks(), Engines::NWN::Tooltip::deleteTexts(), Graphics::ImageDecoder::operator=(), and Common::PtrVector< Graphics::Aurora::TTFFont::Page >::~PtrVector().

      
  | 
  inline | 
Definition at line 62 of file ptrvector.h.
      
  | 
  inline | 
Definition at line 67 of file ptrvector.h.
      
  | 
  inline | 
Definition at line 57 of file ptrvector.h.
Referenced by Common::PtrVector< Graphics::Aurora::TTFFont::Page >::resize().

      
  | 
  inline | 
Definition at line 76 of file ptrvector.h.
Referenced by Graphics::CubeMapCombiner::CubeMapCombiner(), Aurora::PEFile::getResource(), Video::XboxMediaVideo::load(), Engines::Sonic::loadNCGR(), Graphics::XEOSITEX::readHeader(), and Graphics::TGA::readHeader().

 1.8.14