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 override
 
virtual bool ValueChanged () override
 
virtual void ResetValueChanged () override
 
virtual std::string ValueString () override
 
virtual void ValueString (const std::string &s) override
 
virtual long ValueInt () override
 
virtual void ValueInt (long val) override
 
virtual double ValueFloat () override
 
virtual void ValueFloat (double val) override
 
virtual std::ostream & WriteValue (std::ostream &outstr) override
 
virtual std::istream & ReadValue (std::istream &instr) override
 
virtual bool operator== (const DistiAttributeBase &r) override
 
virtual CallbackID RegisterObserver (AttributeObserver *callback) override
 
virtual void UnregisterObserver (CallbackID id) override
 
virtual void NotifyObservers () override
 
- 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) override
 
void NotifyWeakReferenceDestroyed (WeakReference *ref) override
 

Additional Inherited Members

- Public Types inherited from DistiAttributeBase
typedef unsigned int CallbackID
 Type for unique identifiers.
 
- Protected Member Functions inherited from WeakReferenceableMixin
 WeakReferenceableMixin (void)
 
virtual ~WeakReferenceableMixin ()
 
- Protected Attributes inherited from DistiAttributeBase
AttributeName _name
 
CallbackMethodCallerBase_callback
 
ScopedPtr< DistiAttributeObserverList > _observerList
 
bool _localStorage
 
- 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 ( )
overridevirtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual bool OkToWrite ( ) const
overridevirtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

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

Reimplemented from DistiAttributeBase.

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

Reimplemented from DistiAttributeBase.

virtual void ResetValueChanged ( )
overridevirtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual void UnregisterObserver ( CallbackID  id)
overridevirtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual bool ValueChanged ( )
overridevirtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual double ValueFloat ( )
overridevirtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual void ValueFloat ( double  val)
overridevirtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual long ValueInt ( )
overridevirtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

virtual void ValueInt ( long  val)
overridevirtual
See also
DistiAttributeBase

Reimplemented from DistiAttributeBase.

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

Reimplemented from DistiAttributeBase.

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

Reimplemented from DistiAttributeBase.

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

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