ScummVM API documentation
Common::FSList Class Reference

#include <fs.h>

Inheritance diagram for Common::FSList:
Common::Array< FSNode >

Additional Inherited Members

- Public Types inherited from Common::Array< FSNode >
typedef FSNodeiterator
 
typedef const FSNodeconst_iterator
 
typedef FSNode value_type
 
typedef uint size_type
 
- Public Member Functions inherited from Common::Array< FSNode >
 Array (size_type count)
 
 Array (size_type count, const FSNode &value)
 
 Array (const Array< FSNode > &array)
 
 Array (Array< FSNode > &&old)
 
 Array (std::initializer_list< FSNode > list)
 
 Array (const T2 *array, size_type n)
 
void emplace (const_iterator pos, TArgs &&... args)
 
void emplace_back (TArgs &&...args)
 
void push_back (const FSNode &element)
 
void push_back (FSNode &&element)
 
void push_back (const Array< FSNode > &array)
 
void pop_back ()
 
const FSNodedata () const
 
FSNodedata ()
 
FSNodefront ()
 
const FSNodefront () const
 
FSNodeback ()
 
const FSNodeback () const
 
void insert_at (size_type idx, const FSNode &element)
 
void insert_at (size_type idx, const Array< FSNode > &array)
 
void insert (iterator pos, const FSNode &element)
 
FSNode remove_at (size_type idx)
 
FSNodeoperator[] (size_type idx)
 
const FSNodeoperator[] (size_type idx) const
 
Array< FSNode > & operator= (const Array< FSNode > &array)
 
Arrayoperator= (Array< FSNode > &&old)
 
size_type size () const
 
void clear ()
 
iterator erase (iterator pos)
 
iterator erase (iterator first, iterator last)
 
bool empty () const
 
bool operator== (const Array< FSNode > &other) const
 
bool operator!= (const Array< FSNode > &other) const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
void reserve (size_type newCapacity)
 
void resize (size_type newSize)
 
void resize (size_type newSize, const FSNode value)
 
void assign (const_iterator first, const_iterator last)
 
void swap (Array &arr)
 
- Protected Member Functions inherited from Common::Array< FSNode >
void allocCapacity (size_type capacity)
 
void freeStorage (FSNode *storage, const size_type elements)
 
iterator insert_aux (iterator pos, const_iterator first, const_iterator last)
 
- Static Protected Member Functions inherited from Common::Array< FSNode >
static size_type roundUpCapacity (size_type capacity)
 
- Protected Attributes inherited from Common::Array< FSNode >
size_type _capacity
 
size_type _size
 
FSNode_storage
 

Detailed Description

List of multiple file system nodes. For example, the contents of a given directory. This is a subclass instead of just a typedef so that forward declarations of it can be used in other places.


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