GL Studio C++ Runtime API
DistiAttributeAlias Class Reference

#include <gls_metadata_attributes.h>

Inheritance diagram for DistiAttributeAlias:
DistiAttributeBase WeakReferenceableMixin WeakReferenceable

Public Member Functions

virtual bool OkToWrite () const
 
virtual bool ValueChanged ()
 
virtual void ResetValueChanged ()
 
virtual std::string ValueString ()
 
virtual void ValueString (const std::string &s)
 
virtual long ValueInt ()
 
virtual void ValueInt (long val)
 
virtual double ValueFloat ()
 
virtual void ValueFloat (double val)
 
virtual std::ostream & WriteValue (std::ostream &outstr)
 
virtual std::istream & ReadValue (std::istream &instr)
 
virtual bool operator== (const DistiAttributeBase &r)
 
virtual CallbackID RegisterObserver (AttributeObserver *callback)
 
virtual void UnregisterObserver (CallbackID id)
 
virtual void NotifyObservers ()
 
- Public Member Functions inherited from DistiAttributeBase
 DistiAttributeBase (CallbackMethodCallerBase *callback, const AttributeName &name, bool localStorage)
 
virtual DistiAttributeBaseoperator= (const DistiAttributeBase &oldClass)
 
const AttributeNameName () const
 
AttributeNameName ()
 
bool LocalStorage () const
 
virtual bool Copyable () const
 
virtual void CallCallback ()
 
template<class valType >
DistiAttributeBaseoperator<< (const valType &val)
 
template<class valType >
DistiAttributeBaseoperator>> (valType &val)
 
- Public Member Functions inherited from WeakReferenceableMixin
void AddWeakReference (WeakReference *weakRef)
 
void NotifyWeakReferenceDestroyed (WeakReference *ref)
 

Additional Inherited Members

- Public Types inherited from DistiAttributeBase
typedef unsigned int CallbackID
 Type for unique identifiers.
 
- Public Attributes inherited from DistiAttributeBase
AttributeName _name
 
CallbackMethodCallerBase_callback
 
bool _localStorage
 
- Protected Member Functions inherited from WeakReferenceableMixin
 WeakReferenceableMixin (void)
 
virtual ~WeakReferenceableMixin ()
 
- Protected Attributes inherited from WeakReferenceableMixin
DynamicArray< WeakReference * > * _weakRefs
 

Detailed Description

Give an alternate name to an existing attribute. This is used for compatability mostly. i.e. GlsTextBox "String" as an alias of "Text".

Member Function Documentation

virtual void NotifyObservers ( )
virtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual bool OkToWrite ( ) const
virtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual bool operator== ( const DistiAttributeBase r)
virtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual std::istream& ReadValue ( std::istream &  instr)
virtual
virtual CallbackID RegisterObserver ( AttributeObserver callback)
virtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual void ResetValueChanged ( )
virtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual void UnregisterObserver ( CallbackID  id)
virtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual bool ValueChanged ( )
virtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual double ValueFloat ( )
virtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual void ValueFloat ( double  val)
virtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual long ValueInt ( )
virtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual void ValueInt ( long  val)
virtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual std::string ValueString ( )
virtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual void ValueString ( const std::string &  s)
virtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual std::ostream& WriteValue ( std::ostream &  outstr)
virtual

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