home
 
 index of namespace default
 
 index of project core
 
 index of module core

Class core.Value


SynopsisAn object container for arbitrary script values.

  Base classes:
  Derived classes:
  Methods:
  Constants: See also:  


Method derefObjectValue
Signature
derefObjectValue():var
Returns
var

 
 top of page
Method getDeref
Signature
getDeref():var
Returns
var

 
 top of page
Method getFloatValue
Signature
getFloatValue():float
Returns
float

 
 top of page
Method getIntValue
Signature
getIntValue():int
Returns
int

 
 top of page
Method getObjectValue
Signature
getObjectValue():Object
Returns
Object

 
 top of page
Method getString
Signature
getString():String
Returns
String

 
 top of page
Method getStringValue
Signature
getStringValue():String
Returns
String

 
 top of page
Method getType
Signature
getType():int
Returns
int

 
 top of page
Method getValue
Signature
getValue():var
Returns
var

 
 top of page
Method initNull
Signature
initNull()

 
 top of page
Method initVoid
Signature
initVoid()

 
 top of page
Method isDeletable
Check whether the associated object value is deletable.
Signature
isDeletable():boolean
Returns
boolean1(true) if object value is deletable, 0(false) if value is not an object or the object is not deletable.

 
 top of page
Method setFloatValue
Signature
setFloatValue(floatf)
Arguments
floatf

 
 top of page
Method setIntValue
Signature
setIntValue(inti)
Arguments
inti

 
 top of page
Method setNewObject
Signature
setNewObject(Objecttemplate)
 :Object
Arguments
Objecttemplate
Returns
Object

 
 top of page
Method setObjectValue
Signature
setObjectValue(Objecto)
Arguments
Objecto

 
 top of page
Method setStringValue
Signature
setStringValue(Strings)
Arguments
Strings

 
 top of page
Method setValue
Signature
setValue(Valuevalue)
Arguments
Valuevalue

 
 top of page
Method typecast
Signature
typecast(inttype)
Arguments
inttype

 
 top of page
Method unlinkObject
Unlink deletable object pointer from value container.
Signature
unlinkObject():var
Returns
varDeletable object value or regular int/float/Object value.
Description
The object will be tagged as non-deletable in this container.

 
 top of page
Method unset
Signature
unset()

 
 top of page
Method yacOperatorAssign
Signature
yacOperatorAssign(Objecto)
Arguments
Objecto

 
 top of page
Constant YAC_TYPE_FLOAT (int)
Script type id (2) for 32bit single precision IEEE floating point values.
Constant YAC_TYPE_INT (int)
Script type id (1) for 32bit signed integer values.
Constant YAC_TYPE_OBJECT (int)
Script type id (3) for object pointer values.
Constant YAC_TYPE_STRING (int)
Script type id (4) for string values. 
Description

The string type id is more like a hint for the script engine.
Strings are just Objects, too.
Constant YAC_TYPE_VOID (int)
Script type id (0) for void values.

 

Project Modules:core 
Project Classes:Boolean , Buffer , Byte , Class , ClassArray , Condition , Configuration , Double , Envelope , Event , Exception , File , Float , FloatArray , FloatArray128 , FloatArray16 , FloatArray32 , FloatArray64 , FloatArray8 , Function , HashTable , IntArray , IntArray128 , IntArray16 , IntArray32 , IntArray64 , IntArray8 , Integer , List , ListNode , Long , Mailbox , Mutex , Object , ObjectArray , PakFile , PointerArray , Pool , Script , SharedBuffer , Short , Stack , StdErrStream , StdInStream , StdOutStream , Stream , String , String128 , String16 , String32 , String64 , String8 , StringArray , StringIterator , Thread , Time , TKS , TreeNode , UnsignedByte , UnsignedInteger , UnsignedLong , UnsignedShort , Value , ValueArray , Variable 
Project Functions:ceil , exit , floor , GetCurrentThread , getenv , lcchar , mathAbsMaxf , mathAbsMinf , mathAbsMini , mathAbsMini , mathClampf , mathClampi , mathDistancePointPlane2d , mathLerpf , mathMaxf , mathMaxi , mathMinf , mathMini , mathPowerf , mathPoweri , mathSmoothStepf , mathWrapf , mathWrapi , milliSeconds , psystem , putenv , srand , system , ucchar 
All Namespaces:default , ui 
All Projects:core , debugtext , tkfreetype2 , tkmath , tkmidi , tkopengl , tkportaudio , tksdl , tkui , tkunit 


auto-generated by "DOG", the TkScript document generator. Sun, 17/Aug/2014 16:22:27