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) |
Public Member Functions inherited from DistiAttribute< Vertex > | |
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 () |
Public Member Functions inherited from DistiAttributeBase | |
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 () |
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 DistiAttribute< Vertex > | |
Vertex * | _attribPtr |
int | _precision |
Protected Attributes inherited from WeakReferenceableMixin | |
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 >.