ScriptModule
Public Slots | List of all members
PersistentItem Class Reference

#include <PersistentDataInterface.h>

Inheritance diagram for PersistentItem:
Inheritance graph
[legend]
Collaboration diagram for PersistentItem:
Collaboration graph
[legend]

Public Slots

bool isNull () const
 Query nullness of current item. This state is true whenever the queried item could not be find in the SM_PersistentData. More...
 
double numberValue () const
 Fetch Number value of current item. More...
 
bool boolValue () const
 Fetch Boolean value of current item. More...
 
String stringValue () const
 Fetch String value of current item. More...
 

Detailed Description

Persistent item data. contains a value which was stored in PersistentData.

Member Function Documentation

bool PersistentItem::boolValue ( ) const
slot

Fetch Boolean value of current item.

Returns
bool value, or false if not in SM_PersistentData
bool PersistentItem::isNull ( ) const
slot

Query nullness of current item. This state is true whenever the queried item could not be find in the SM_PersistentData.

Returns
bool state
double PersistentItem::numberValue ( ) const
slot

Fetch Number value of current item.

Returns
Number value, or 0 if not in SM_PersistentData
String PersistentItem::stringValue ( ) const
slot

Fetch String value of current item.

Returns
String value, or "(nil)" if not in SM_PersistentData

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