dtDAL::NamedVec2Parameter Class Reference

#include <namedparameter.h>

Inheritance diagram for dtDAL::NamedVec2Parameter:

dtDAL::NamedVecParameter< osg::Vec2 > dtDAL::NamedGenericParameter< osg::Vec2 > dtDAL::NamedParameter dtDAL::AbstractParameter

List of all members.

Public Member Functions

 NamedVec2Parameter (const std::string &name, const osg::Vec2 &defaultValue=osg::Vec2(0.0, 0.0), bool isList=false)
virtual const dtDAL::DataTypeGetDataType () const
 
Returns:

virtual bool FromString (const std::string &value)
 
Returns:
true if it was able to assign the value based on the string or false if not.

virtual void SetFromProperty (const dtDAL::ActorProperty &property)
 Sets the message parameter's value from the actor property's value.
virtual void ApplyValueToProperty (dtDAL::ActorProperty &property) const
 Sets the actor property's value from the message parameter's value.

Protected Member Functions

virtual ~NamedVec2Parameter ()


Constructor & Destructor Documentation

dtDAL::NamedVec2Parameter::NamedVec2Parameter ( const std::string &  name,
const osg::Vec2 &  defaultValue = osg::Vec2(0.0,0.0),
bool  isList = false 
)

dtDAL::NamedVec2Parameter::~NamedVec2Parameter (  )  [protected, virtual]


Member Function Documentation

virtual const dtDAL::DataType& dtDAL::NamedVec2Parameter::GetDataType (  )  const [inline, virtual]

Returns:

Implements dtDAL::AbstractParameter.

virtual bool dtDAL::NamedVec2Parameter::FromString ( const std::string &  value  )  [inline, virtual]

Returns:
true if it was able to assign the value based on the string or false if not.

Parameters:
value the string value to assign the parameter to.

Reimplemented from dtDAL::NamedGenericParameter< osg::Vec2 >.

void dtDAL::NamedVec2Parameter::SetFromProperty ( const dtDAL::ActorProperty property  )  [virtual]

Sets the message parameter's value from the actor property's value.

Reimplemented from dtDAL::NamedParameter.

void dtDAL::NamedVec2Parameter::ApplyValueToProperty ( dtDAL::ActorProperty property  )  const [virtual]

Sets the actor property's value from the message parameter's value.

Reimplemented from dtDAL::NamedParameter.


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