Public Member Functions | |
void | save (SimpleFile *file, int indent) override |
void | load (SimpleFile *file) override |
const CString | getName () const override |
Public Member Functions inherited from Titanic::CTreeItem | |
void | dump (int indent) |
virtual CString | dumpItem (int indent) const |
void | save (SimpleFile *file, int indent) override |
void | load (SimpleFile *file) override |
virtual CGameManager * | getGameManager () const |
virtual bool | isFileItem () const |
virtual bool | isRoomItem () const |
virtual bool | isNodeItem () const |
virtual bool | isViewItem () const |
virtual bool | isLinkItem () const |
virtual bool | isPlaceHolderItem () const |
virtual bool | isNamedItem () const |
virtual bool | isGameObject () const |
virtual bool | isGameObjectDescItem () const |
virtual bool | isEquals (const CString &name, bool startsWith=false) const |
virtual int | compareTo (const CString &name, int maxLen=0) const |
virtual const CMovieClipList * | getMovieClips () const |
virtual bool | connectsTo (CViewItem *destView) const |
virtual void | draw (CScreenManager *screenManager) |
virtual Rect | getBounds () const |
virtual void | freeSurface () |
CTreeItem * | getParent () const |
CProjectItem * | getRoot () const |
CTreeItem * | getNextSibling () const |
CTreeItem * | getPriorSibling () const |
CTreeItem * | getLastSibling () |
CTreeItem * | getFirstChild () const |
CTreeItem * | getLastChild () const |
CTreeItem * | scan (CTreeItem *item) const |
CTreeItem * | findChildInstanceOf (ClassDef *classDef) const |
CTreeItem * | findNextInstanceOf (ClassDef *classDef, CTreeItem *startItem) const |
void | addUnder (CTreeItem *newParent) |
void | setParent (CTreeItem *newParent) |
void | addSibling (CTreeItem *item) |
void | moveUnder (CTreeItem *newParent) |
void | destroyAll () |
int | destroyChildren () |
void | detach () |
void | attach (CTreeItem *item) |
CNamedItem * | findByName (const CString &name, bool subMatch=false) |
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 Attributes | |
CLASSDEF | |
Public Attributes inherited from Titanic::CTreeItem | |
CLASSDEF | |
Protected Attributes | |
CString | _name |
CString | _string2 |
List< ListItem > | _list1 |
List< ListItem > | _list2 |
CMovieClipList | _clipList |
Additional Inherited Members | |
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 |
|
overridevirtual |
Save the data for the class to file
Reimplemented from Titanic::CSaveableObject.
|
overridevirtual |
Load the data for the class from file
Reimplemented from Titanic::CSaveableObject.
|
inlineoverridevirtual |
Gets the name of the item, if any
Reimplemented from Titanic::CTreeItem.