Qore Programming Language  0.9.3
QoreExternalStaticMember Class Reference

external wrapper base class for class static members More...

#include <QoreReflection.h>

Inheritance diagram for QoreExternalStaticMember:
Collaboration diagram for QoreExternalStaticMember:

Public Member Methods

DLLEXPORT QoreValue getValue () const
 returns the current value of the member; caller owns an reference returned
 
DLLEXPORT int setValue (const QoreValue val, ExceptionSink *xsink) const
 sets the value of the member More...
 
- Public Member Methods inherited from QoreExternalMemberVarBase
DLLEXPORT ClassAccess getAccess () const
 returns the access info for the member
 
DLLEXPORT const char * getAccessString () const
 returns a string for the access info for the member
 
- Public Member Methods inherited from QoreExternalMemberBase
DLLEXPORT QoreValue getDefaultValue (ExceptionSink *xsink) const
 evaluates the initialization expression for the member and returns the referenced value
 
DLLEXPORT const QoreExternalProgramLocationgetSourceLocation () const
 returns the source location of the member's declaration
 
DLLEXPORT const QoreTypeInfo * getTypeInfo () const
 returns the type info for the member
 

Detailed Description

external wrapper base class for class static members

Since
Qore 0.9

Member Function Documentation

◆ setValue()

DLLEXPORT int QoreExternalStaticMember::setValue ( const QoreValue  val,
ExceptionSink xsink 
) const

sets the value of the member

Parameters
valthe value to set
xsinkQore-language exception info is stored here
Returns
0 = no error, -1 Qore-language exception raised

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