dtDAL::GameEventActorProperty Class Reference

This actor property represents a game event property. More...

#include <enginepropertytypes.h>

Inheritance diagram for dtDAL::GameEventActorProperty:

dtDAL::GenericActorProperty< SetType, GetType > dtDAL::ActorProperty dtDAL::AbstractParameter

List of all members.

Public Member Functions

 GameEventActorProperty (ActorProxy &actorProxy, const std::string &name, const std::string &label, Functor1< GameEvent * > set, Functor0Ret< GameEvent * > get, const std::string &desc="", const std::string &groupName="")
virtual bool FromString (const std::string &value)
 Sets the value of this property using the given string.
virtual const std::string ToString () const
 Gets a string version of the game event data.

Protected Member Functions

virtual ~GameEventActorProperty ()


Detailed Description

This actor property represents a game event property.

Constructor & Destructor Documentation

dtDAL::GameEventActorProperty::GameEventActorProperty ( ActorProxy actorProxy,
const std::string &  name,
const std::string &  label,
Functor1< GameEvent * >  set,
Functor0Ret< GameEvent * >  get,
const std::string &  desc = "",
const std::string &  groupName = "" 
) [inline]

virtual dtDAL::GameEventActorProperty::~GameEventActorProperty (  )  [inline, protected, virtual]


Member Function Documentation

bool dtDAL::GameEventActorProperty::FromString ( const std::string &  value  )  [virtual]

Sets the value of this property using the given string.

Parameters:
value The string representing the game event. This string contains unique id of the game event. This is used to look up the actual event which then gets referenced by this property.
Returns:
True if the value could be parsed and the specified event was found, false otherwise.

Implements dtDAL::AbstractParameter.

const std::string dtDAL::GameEventActorProperty::ToString (  )  const [virtual]

Gets a string version of the game event data.

Returns:
A string containing the unique id of the game event.
See also:
FromString

Implements dtDAL::AbstractParameter.


http://www.delta3d.org
2.0.0 generated 14 Feb 2008