Public Member Functions | |
| void | save (SimpleFile *file, int indent) override |
| void | load (SimpleFile *file) override |
| void | destroyContents () |
| T * | add () |
| bool | contains (const T *item) const |
Public Member Functions inherited from Titanic::CSaveableObject | |
| virtual ClassDef * | getType () const |
| bool | isInstanceOf (const ClassDef *classDef) const |
| virtual void | saveHeader (SimpleFile *file, int indent) |
| virtual void | saveFooter (SimpleFile *file, int indent) |
Public Member Functions inherited from Common::List< T *> | |
| constexpr | List () |
| List (const List< T * > &list) | |
| iterator | emplace (iterator pos, TArgs &&...args) |
| iterator | insert (iterator pos, const T * &element) |
| iterator | insert (iterator pos, T * &&element) |
| void | insert (iterator pos, iterator2 first, iterator2 last) |
| iterator | erase (iterator pos) |
| iterator | erase (iterator first, iterator last) |
| iterator | reverse_erase (iterator pos) |
| void | remove (const T * &val) |
| void | emplace_front (TArgs &&...args) |
| void | push_front (const T * &element) |
| void | push_front (T * &&element) |
| void | emplace_back (TArgs &&...args) |
| void | push_back (const T * &element) |
| void | push_back (T * &&element) |
| void | pop_front () |
| void | pop_back () |
| T * & | front () |
| const T * & | front () const |
| T * & | back () |
| const T * & | back () const |
| List< T * > & | operator= (const List< T * > &list) |
| size_type | size () const |
| void | clear () |
| bool | empty () const |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | reverse_begin () |
| const_iterator | reverse_begin () const |
| iterator | end () |
| const_iterator | end () const |
Additional Inherited Members | |
Public Types inherited from Common::List< T *> | |
| typedef ListInternal::Iterator< T * > | iterator |
| typedef ListInternal::ConstIterator< T * > | const_iterator |
| typedef T * | value_type |
| typedef uint | size_type |
Static Public Member Functions inherited from Titanic::CSaveableObject | |
| static void | initClassList () |
| static void | freeClassList () |
| static CSaveableObject * | createInstance (const Common::String &name) |
Static Public Attributes inherited from Titanic::CSaveableObject | |
| static ClassDef * | _type |
Protected Types inherited from Common::List< T *> | |
| typedef ListInternal::NodeBase | NodeBase |
| typedef ListInternal::Node< T * > | Node |
Protected Member Functions inherited from Common::List< T *> | |
| void | emplace (NodeBase *pos, TArgs &&... args) |
| void | insert (NodeBase *pos, const T * &element) |
| void | insert (NodeBase *pos, T * &&element) |
| NodeBase | erase (NodeBase *pos) |
Protected Attributes inherited from Common::List< T *> | |
| NodeBase | _anchor |
|
inlineoverridevirtual |
Save the data for the class to file
Reimplemented from Titanic::CSaveableObject.
|
inlineoverridevirtual |
Load the data for the class from file
Reimplemented from Titanic::CSaveableObject.
|
inline |
Clear the list and destroy any items in it
|
inline |
Add a new item to the list of the type the list contains