GL Studio API
|
#include <gls_metadata_attributes.h>
Public Member Functions | |
virtual std::ostream & | WriteValue (std::ostream &outstr) |
virtual std::istream & | ReadValue (std::istream &instr) |
![]() | |
DistiAttribute (CallbackMethodCallerBase *callback, const AttributeName &name, Vertex *attribPtr) | |
DistiAttribute (CallbackMethodCallerBase *callback, const AttributeName &name, const Vertex &initialValue) | |
virtual bool | Copyable () const |
virtual long | ValueInt () |
virtual void | ValueInt (long val) |
virtual double | ValueFloat () |
virtual void | ValueFloat (double val) |
virtual DistiAttributeBase & | operator= (const DistiAttributeBase &oldClass) |
virtual Vertex | Value () |
virtual void | Value (const Vertex &val) |
virtual bool | operator== (const DistiAttributeBase &rArg) |
virtual | ~DistiAttribute () |
![]() | |
DistiAttributeBase (CallbackMethodCallerBase *callback, const AttributeName &name, bool localStorage) | |
const AttributeName & | Name () const |
AttributeName & | Name () |
bool | LocalStorage () const |
virtual bool | OkToWrite () const |
virtual bool | ValueChanged () |
virtual void | ResetValueChanged () |
virtual std::string | ValueString () |
virtual void | ValueString (const std::string &s) |
virtual void | CallCallback () |
template<class valType > | |
DistiAttributeBase & | operator<< (const valType &val) |
template<class valType > | |
DistiAttributeBase & | operator>> (valType &val) |
virtual CallbackID | RegisterObserver (AttributeObserver *observer) |
virtual void | UnregisterObserver (CallbackID id) |
virtual void | NotifyObservers () |
![]() | |
void | AddWeakReference (WeakReference *weakRef) |
void | NotifyWeakReferenceDestroyed (WeakReference *ref) |
Additional Inherited Members | |
![]() | |
typedef unsigned int | CallbackID |
Type for unique identifiers. | |
![]() | |
AttributeName | _name |
CallbackMethodCallerBase * | _callback |
bool | _localStorage |
![]() | |
WeakReferenceableMixin (void) | |
virtual | ~WeakReferenceableMixin () |
![]() | |
Vertex * | _attribPtr |
int | _precision |
![]() | |
DynamicArray< WeakReference * > * | _weakRefs |
Attribute for Location
|
virtual |
Reads the data from the stream The ReadValue call shall consume only what it needs. It is the responsibility of the calling function to read to the end of line, or to clean up from a bad read. The calling function will also ensure that the data starts as the next byte in the stream.
Reimplemented from DistiAttribute< Vertex >.
|
virtual |
Writes the data to the stream
Reimplemented from DistiAttribute< Vertex >.