PixelLightAPI  .
Public Member Functions | Protected Member Functions
PLCore::ScriptBinding Class Reference

Abstract script binding class. More...

#include <ScriptBinding.h>

Inheritance diagram for PLCore::ScriptBinding:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual PLCORE_API ~ScriptBinding ()
 Destructor.

Protected Member Functions

PLCORE_API ScriptBinding ()
 Constructor.
PLCORE_API ScriptBinding (const ScriptBinding &cSource)
 Copy constructor.
PLCORE_API ScriptBindingoperator= (const ScriptBinding &cSource)
 Copy operator.

Detailed Description

Abstract script binding class.

Remarks:
This is actually a blank RTTI class. RTTI classes which are only used for "script binding" should be derived from this class. This doesn't mean that it will be impossible to bind any other RTTI class instance to a script - but usually it's useful to have such an abstract base class.

Usually the RTTI script binding class instance methods will be available to the script as simple global functions. So, this has nothing to do with using OOP within scripts. It's just adding global functions to scripts.

Each script binding should have the following property:


Constructor & Destructor Documentation

virtual PLCORE_API PLCore::ScriptBinding::~ScriptBinding ( ) [virtual]

Destructor.

PLCORE_API PLCore::ScriptBinding::ScriptBinding ( ) [protected]
PLCORE_API PLCore::ScriptBinding::ScriptBinding ( const ScriptBinding cSource) [protected]

Copy constructor.

Parameters:
[in]cSourceSource to copy from

Member Function Documentation

PLCORE_API ScriptBinding& PLCore::ScriptBinding::operator= ( const ScriptBinding cSource) [protected]

Copy operator.

Parameters:
[in]cSourceSource to copy from
Returns:
Reference to this instance

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


PixelLight PixelLight 0.9.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:15
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported