ScummVM API documentation
Titanic::CMovieClipList Class Reference

#include <movie_clip.h>

Inheritance diagram for Titanic::CMovieClipList:
Titanic::List< CMovieClip > Titanic::CSaveableObject Common::List< CMovieClip *>

Public Member Functions

CMovieClipfindByName (const Common::String &name) const
 
bool existsByStart (const CString &name, int startFrame=0) const
 
bool existsByEnd (const CString &name, int endFrame=0) const
 
- Public Member Functions inherited from Titanic::List< CMovieClip >
void save (SimpleFile *file, int indent) override
 
void load (SimpleFile *file) override
 
void destroyContents ()
 
CMovieClipadd ()
 
bool contains (const CMovieClip *item) const
 
- Public Member Functions inherited from Titanic::CSaveableObject
virtual ClassDefgetType () 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< CMovieClip *>
constexpr List ()
 
 List (const List< CMovieClip * > &list)
 
iterator insert (iterator pos, const CMovieClip * &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 CMovieClip * &val)
 
void push_front (const CMovieClip * &element)
 
void push_back (const CMovieClip * &element)
 
void pop_front ()
 
void pop_back ()
 
CMovieClip * & front ()
 
const CMovieClip * & front () const
 
CMovieClip * & back ()
 
const CMovieClip * & back () const
 
List< CMovieClip * > & operator= (const List< CMovieClip * > &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< CMovieClip *>
typedef ListInternal::Iterator< CMovieClip * > iterator
 
typedef ListInternal::ConstIterator< CMovieClip * > const_iterator
 
typedef CMovieClip * value_type
 
typedef uint size_type
 
- Static Public Member Functions inherited from Titanic::CSaveableObject
static void initClassList ()
 
static void freeClassList ()
 
static CSaveableObjectcreateInstance (const Common::String &name)
 
- Static Public Attributes inherited from Titanic::CSaveableObject
static ClassDef_type
 
- Protected Types inherited from Common::List< CMovieClip *>
typedef ListInternal::NodeBase NodeBase
 
typedef ListInternal::Node< CMovieClip * > Node
 
- Protected Member Functions inherited from Common::List< CMovieClip *>
void insert (NodeBase *pos, const CMovieClip * &element)
 
NodeBase erase (NodeBase *pos)
 
- Protected Attributes inherited from Common::List< CMovieClip *>
NodeBase _anchor
 

Detailed Description

Movie clip list

Member Function Documentation

◆ findByName()

CMovieClip* Titanic::CMovieClipList::findByName ( const Common::String name) const

Finds and returns a movie clip in the list by name

◆ existsByStart()

bool Titanic::CMovieClipList::existsByStart ( const CString name,
int  startFrame = 0 
) const

Returns true if a clip exists in the list with a given name and starting frame number

◆ existsByEnd()

bool Titanic::CMovieClipList::existsByEnd ( const CString name,
int  endFrame = 0 
) const

Returns true if a clip exists in the list with a given name and starting frame number


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