ScummVM API documentation
Ultima::Ultima4::Armors Class Reference
Inheritance diagram for Ultima::Ultima4::Armors:
Ultima::Std::vector< Armor *> Common::Array< Armor * >

Public Member Functions

 Armors ()
 
 ~Armors ()
 
const Armorget (ArmorType a)
 
const Armorget (const Common::String &name)
 
- Public Member Functions inherited from Ultima::Std::vector< Armor *>
 vector (size_t newSize)
 
 vector (size_t newSize, const Armor * elem)
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
void pop_front ()
 
Armor * at (size_t index) const
 
- Public Member Functions inherited from Common::Array< Armor * >
 Array (size_type count)
 
 Array (size_type count, const Armor * &value)
 
 Array (const Array< Armor * > &array)
 
 Array (Array< Armor * > &&old)
 
 Array (std::initializer_list< Armor * > list)
 
 Array (const T2 *array, size_type n)
 
void emplace (const_iterator pos, TArgs &&... args)
 
void emplace_back (TArgs &&...args)
 
void push_back (const Armor * &element)
 
void push_back (Armor * &&element)
 
void push_back (const Array< Armor * > &array)
 
void pop_back ()
 
const Armor * * data () const
 
Armor * * data ()
 
Armor * & front ()
 
const Armor * & front () const
 
Armor * & back ()
 
const Armor * & back () const
 
void insert_at (size_type idx, const Armor * &element)
 
void insert_at (size_type idx, const Array< Armor * > &array)
 
void insert (iterator pos, const Armor * &element)
 
Armor * remove_at (size_type idx)
 
Armor * & operator[] (size_type idx)
 
const Armor * & operator[] (size_type idx) const
 
Array< Armor * > & operator= (const Array< Armor * > &array)
 
Arrayoperator= (Array< Armor * > &&old)
 
size_type size () const
 
void clear ()
 
iterator erase (iterator pos)
 
iterator erase (iterator first, iterator last)
 
bool empty () const
 
bool operator== (const Array< Armor * > &other) const
 
bool operator!= (const Array< Armor * > &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 Armor * value)
 
void assign (const_iterator first, const_iterator last)
 
void swap (Array &arr)
 

Additional Inherited Members

- Public Types inherited from Ultima::Std::vector< Armor *>
typedef Armor * reference
 
typedef const Armor * const_reference
 
- Public Types inherited from Common::Array< Armor * >
typedef Armor * * iterator
 
typedef const Armor * * const_iterator
 
typedef Armor * value_type
 
typedef uint size_type
 
- Protected Member Functions inherited from Common::Array< Armor * >
void allocCapacity (size_type capacity)
 
void freeStorage (Armor * *storage, const size_type elements)
 
iterator insert_aux (iterator pos, const_iterator first, const_iterator last)
 
- Static Protected Member Functions inherited from Common::Array< Armor * >
static size_type roundUpCapacity (size_type capacity)
 
- Protected Attributes inherited from Common::Array< Armor * >
size_type _capacity
 
size_type _size
 
Armor * * _storage
 

Constructor & Destructor Documentation

◆ Armors()

Ultima::Ultima4::Armors::Armors ( )

Constructor

◆ ~Armors()

Ultima::Ultima4::Armors::~Armors ( )

Destructor

Member Function Documentation

◆ get() [1/2]

const Armor* Ultima::Ultima4::Armors::get ( ArmorType  a)

Returns armor by ArmorType.

◆ get() [2/2]

const Armor* Ultima::Ultima4::Armors::get ( const Common::String name)

Returns armor that has the given name


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