Public Member Functions | |
| Armors () | |
| ~Armors () | |
| const Armor * | get (ArmorType a) |
| const Armor * | get (const Common::String &name) |
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) |
| Array & | operator= (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 Common::Array< Armor *> | |
| typedef Armor * * | iterator |
| typedef const Armor * * | const_iterator |
| typedef Armor * | value_type |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| 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 |
| Ultima::Ultima4::Armors::Armors | ( | ) |
Constructor
| Ultima::Ultima4::Armors::~Armors | ( | ) |
Destructor
| const Armor* Ultima::Ultima4::Armors::get | ( | ArmorType | a | ) |
Returns armor by ArmorType.
| const Armor* Ultima::Ultima4::Armors::get | ( | const Common::String & | name | ) |
Returns armor that has the given name