AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
CzXomlActions_Resource Class Reference

Implements actions that relate to resources. More...

#include <CzActionsResource.h>

Inheritance diagram for CzXomlActions_Resource:
IzXomlAction

List of all members.

Public Types

enum  eActionType { Action_RemoveResource = 0, Action_RemoveResources = 1, Action_Max = 2 }

Public Member Functions

 CzXomlActions_Resource (eActionType type)
void Execute (IzXomlResource *source, CzAction *action)
 The main actions executor for resource related actions. All resource specific actions such as RemoveResource are implemented by this method.

Protected Member Functions

 CzXomlActions_Resource ()

Protected Attributes

eActionType Type

Detailed Description

Implements actions that relate to resources.

The CzXomlActions_Resource class holds Actions (IzXomlAction) that deal with XOML resources such as RemoveResource

The following actions are supported:

  • RemoveResource
  • RemoveResources

The above actions have the following XOML prototypes:

  • RemoveResource(resource-name)
    • resource-name - Name of the resource to remove and destroy
  • RemoveResources(tag-name)
    • tag-name - Resource tag name to remove and destory (all resources matching the tag will be removd)

For more information on resources see IzXomlResource and CzXomlResourceManager


Member Enumeration Documentation

Enumerator:
Action_RemoveResource 
Action_RemoveResources 
Action_Max 

Constructor & Destructor Documentation


Member Function Documentation

void CzXomlActions_Resource::Execute ( IzXomlResource source,
CzAction action 
) [virtual]

The main actions executor for resource related actions. All resource specific actions such as RemoveResource are implemented by this method.

Parameters:
[in]source- The source of the action
[in]action- The action to execute

Implements IzXomlAction.


Member Data Documentation


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