Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

Common::FSList Class Reference

#include <fs.h>

Inheritance diagram for Common::FSList:

Common::Array< T >

List of all members.


Detailed Description

List of multiple file system nodes. E.g. the contents of a given directory. This is subclass instead of just a typedef so that we can use forward declarations of it in other places.

Definition at line 46 of file fs.h.


Public Types

typedef const T * const_iterator
typedef T * iterator
typedef T value_type

Public Member Functions

const T & back () const
T & back ()
const_iterator begin () const
iterator begin ()
void clear ()
bool empty () const
const_iterator end () const
iterator end ()
const T & front () const
T & front ()
void insert_at (int idx, const T &element)
bool operator!= (const Array< T > &other) const
bool operator== (const Array< T > &other) const
const T & operator[] (int idx) const
T & operator[] (int idx)
void pop_back ()
void push_back (const Array< T > &array)
void push_back (const T &element)
remove_at (int idx)
void reserve (uint newCapacity)
void resize (uint newSize)
uint size () const

Protected Member Functions

iterator insert_aux (iterator pos, const_iterator first, const_iterator last)

Static Protected Member Functions

static uint roundUpCapacity (uint capacity)

Protected Attributes

uint _capacity
uint _size
T * _storage

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index