ork::Value2< U, T, V > Class Template Reference
[render]

A Value holding a two vector value. More...

#include <Value.h>

Inheritance diagram for ork::Value2< U, T, V >:
ork::Value ork::Object

List of all members.

Public Member Functions

 Value2 (const string &name)
 Creates an uninitialized Value2.
 Value2 (const string &name, const vec2< T > &value)
 Creates a Value2.
virtual ~Value2 ()
 Deletes this Value2.
virtual UniformType getType () const
 Returns the type of this value.
vec2< T > get () const
 Returns the current value of this Value2.
void set (const vec2< T > &value)
 Sets the value of this Value2.

Detailed Description

template<UniformType U, class T, const char * V>
class ork::Value2< U, T, V >

A Value holding a two vector value.


Constructor & Destructor Documentation

template<UniformType U, class T , const char * V>
ork::Value2< U, T, V >::Value2 ( const string &  name  )  [inline]

Creates an uninitialized Value2.

template<UniformType U, class T , const char * V>
ork::Value2< U, T, V >::Value2 ( const string &  name,
const vec2< T > &  value 
) [inline]

Creates a Value2.

template<UniformType U, class T , const char * V>
virtual ork::Value2< U, T, V >::~Value2 (  )  [inline, virtual]

Deletes this Value2.


Member Function Documentation

template<UniformType U, class T , const char * V>
vec2<T> ork::Value2< U, T, V >::get (  )  const [inline]

Returns the current value of this Value2.

template<UniformType U, class T , const char * V>
virtual UniformType ork::Value2< U, T, V >::getType (  )  const [inline, virtual]

Returns the type of this value.

Implements ork::Value.

template<UniformType U, class T , const char * V>
void ork::Value2< U, T, V >::set ( const vec2< T > &  value  )  [inline]

Sets the value of this Value2.

Parameters:
value the new value for this Value2.

Generated on Mon Oct 18 09:36:10 2010 for ork by  doxygen 1.6.1