#include <movie_clip.h>
Public Member Functions | |
CMovieClip * | findByName (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 () |
CMovieClip * | add () |
bool | contains (const CMovieClip *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< 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 CSaveableObject * | createInstance (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 |
Movie clip list
CMovieClip* Titanic::CMovieClipList::findByName | ( | const Common::String & | name | ) | const |
Finds and returns a movie clip in the list by name
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
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