Qt 4.8
Classes | Public Types | Public Functions | Public Variables | List of all members
QDeclarativeInstruction Class Reference

#include <qdeclarativeinstruction_p.h>

Classes

struct  AssignBindingInstruction
 
struct  AssignCustomTypeInstruction
 
struct  AssignSignalObjectInstruction
 
struct  AssignValueInterceptorInstruction
 
struct  AssignValueSourceInstruction
 
struct  BeginInstruction
 
struct  CreateComponentInstruction
 
struct  CreateInstruction
 
struct  CreateSimpleInstruction
 
struct  DeferInstruction
 
struct  FetchAttachedInstruction
 
struct  FetchInstruction
 
struct  FetchQmlListInstruction
 
struct  FetchValueInstruction
 
struct  InitInstruction
 
struct  SetIdInstruction
 
struct  StoreBoolInstruction
 
struct  StoreColorInstruction
 
struct  StoreDateInstruction
 
struct  StoreDateTimeInstruction
 
struct  StoreDoubleInstruction
 
struct  StoreFloatInstruction
 
struct  StoreIntegerInstruction
 
struct  StoreMetaInstruction
 
struct  StoreObjectInstruction
 
struct  StoreRealPairInstruction
 
struct  StoreRectInstruction
 
struct  StoreScriptInstruction
 
struct  StoreScriptStringInstruction
 
struct  StoreSignalInstruction
 
struct  StoreStringInstruction
 
struct  StoreTimeInstruction
 
struct  StoreUrlInstruction
 
struct  StoreVector3DInstruction
 

Public Types

enum  Type {
  Init, CreateObject, CreateSimpleObject, SetId,
  SetDefault, CreateComponent, StoreMetaObject, StoreFloat,
  StoreDouble, StoreInteger, StoreBool, StoreString,
  StoreUrl, StoreColor, StoreDate, StoreTime,
  StoreDateTime, StorePoint, StorePointF, StoreSize,
  StoreSizeF, StoreRect, StoreRectF, StoreVector3D,
  StoreVariant, StoreVariantInteger, StoreVariantDouble, StoreVariantBool,
  StoreObject, StoreVariantObject, StoreInterface, StoreSignal,
  StoreImportedScript, StoreScriptString, AssignSignalObject, AssignCustomType,
  StoreBinding, StoreBindingOnAlias, StoreCompiledBinding, StoreValueSource,
  StoreValueInterceptor, BeginObject, StoreObjectQList, AssignObjectList,
  FetchAttached, FetchQList, FetchObject, FetchValueType,
  PopFetchedObject, PopQList, PopValueType, Defer
}
 

Public Functions

void dump (QDeclarativeCompiledData *)
 
 QDeclarativeInstruction ()
 

Public Variables

union {
   AssignBindingInstruction   assignBinding
 
   AssignCustomTypeInstruction   assignCustomType
 
   AssignSignalObjectInstruction   assignSignalObject
 
   AssignValueInterceptorInstruction   assignValueInterceptor
 
   AssignValueSourceInstruction   assignValueSource
 
   BeginInstruction   begin
 
   CreateInstruction   create
 
   CreateComponentInstruction   createComponent
 
   CreateSimpleInstruction   createSimple
 
   DeferInstruction   defer
 
   FetchInstruction   fetch
 
   FetchAttachedInstruction   fetchAttached
 
   FetchQmlListInstruction   fetchQmlList
 
   FetchValueInstruction   fetchValue
 
   InitInstruction   init
 
   SetIdInstruction   setId
 
   StoreBoolInstruction   storeBool
 
   StoreColorInstruction   storeColor
 
   StoreDateInstruction   storeDate
 
   StoreDateTimeInstruction   storeDateTime
 
   StoreDoubleInstruction   storeDouble
 
   StoreFloatInstruction   storeFloat
 
   StoreIntegerInstruction   storeInteger
 
   StoreMetaInstruction   storeMeta
 
   StoreObjectInstruction   storeObject
 
   StoreRealPairInstruction   storeRealPair
 
   StoreRectInstruction   storeRect
 
   StoreScriptInstruction   storeScript
 
   StoreScriptStringInstruction   storeScriptString
 
   StoreSignalInstruction   storeSignal
 
   StoreStringInstruction   storeString
 
   StoreTimeInstruction   storeTime
 
   StoreUrlInstruction   storeUrl
 
   StoreVector3DInstruction   storeVector3D
 
}; 
 
unsigned short line
 
Type type
 

Detailed Description

Definition at line 61 of file qdeclarativeinstruction_p.h.

Enumerations

◆ Type

Enumerator
Init 
CreateObject 
CreateSimpleObject 
SetId 
SetDefault 
CreateComponent 
StoreMetaObject 
StoreFloat 
StoreDouble 
StoreInteger 
StoreBool 
StoreString 
StoreUrl 
StoreColor 
StoreDate 
StoreTime 
StoreDateTime 
StorePoint 
StorePointF 
StoreSize 
StoreSizeF 
StoreRect 
StoreRectF 
StoreVector3D 
StoreVariant 
StoreVariantInteger 
StoreVariantDouble 
StoreVariantBool 
StoreObject 
StoreVariantObject 
StoreInterface 
StoreSignal 
StoreImportedScript 
StoreScriptString 
AssignSignalObject 
AssignCustomType 
StoreBinding 
StoreBindingOnAlias 
StoreCompiledBinding 
StoreValueSource 
StoreValueInterceptor 
BeginObject 
StoreObjectQList 
AssignObjectList 
FetchAttached 
FetchQList 
FetchObject 
FetchValueType 
PopFetchedObject 
PopQList 
PopValueType 
Defer 

Definition at line 64 of file qdeclarativeinstruction_p.h.

64  {
65  //
66  // Object Creation
67  //
68  // CreateObject - Create a new object instance and push it on the
69  // object stack
70  // SetId - Set the id of the object on the top of the object stack
71  // SetDefault - Sets the instance on the top of the object stack to
72  // be the context's default object.
73  // StoreMetaObject - Assign the dynamic metaobject to object on the
74  // top of the stack.
75  Init, /* init */
76  CreateObject, /* create */
77  CreateSimpleObject, /* createSimple */
78  SetId, /* setId */
79  SetDefault,
80  CreateComponent, /* createComponent */
81  StoreMetaObject, /* storeMeta */
82 
83  //
84  // Precomputed single assignment
85  //
86  // StoreFloat - Store a float in a core property
87  // StoreDouble - Store a double in a core property
88  // StoreInteger - Store a int or uint in a core property
89  // StoreBool - Store a bool in a core property
90  // StoreString - Store a QString in a core property
91  // StoreUrl - Store a QUrl in a core property
92  // StoreColor - Store a QColor in a core property
93  // StoreDate - Store a QDate in a core property
94  // StoreTime - Store a QTime in a core property
95  // StoreDateTime - Store a QDateTime in a core property
96  // StoreVariant - Store a QVariant in a core property
97  // StoreObject - Pop the object on the top of the object stack and
98  // store it in a core property
99  StoreFloat, /* storeFloat */
100  StoreDouble, /* storeDouble */
101  StoreInteger, /* storeInteger */
102  StoreBool, /* storeBool */
103  StoreString, /* storeString */
104  StoreUrl, /* storeUrl */
105  StoreColor, /* storeColor */
106  StoreDate, /* storeDate */
107  StoreTime, /* storeTime */
108  StoreDateTime, /* storeDateTime */
109  StorePoint, /* storeRealPair */
110  StorePointF, /* storeRealPair */
111  StoreSize, /* storeRealPair */
112  StoreSizeF, /* storeRealPair */
113  StoreRect, /* storeRect */
114  StoreRectF, /* storeRect */
115  StoreVector3D, /* storeVector3D */
116  StoreVariant, /* storeString */
117  StoreVariantInteger, /* storeInteger */
118  StoreVariantDouble, /* storeDouble */
119  StoreVariantBool, /* storeBool */
120  StoreObject, /* storeObject */
121  StoreVariantObject, /* storeObject */
122  StoreInterface, /* storeObject */
123 
124  StoreSignal, /* storeSignal */
125  StoreImportedScript, /* storeScript */
126  StoreScriptString, /* storeScriptString */
127 
128  //
129  // Unresolved single assignment
130  //
131  AssignSignalObject, /* assignSignalObject */
132  AssignCustomType, /* assignCustomType */
133 
134  StoreBinding, /* assignBinding */
135  StoreBindingOnAlias, /* assignBinding */
136  StoreCompiledBinding, /* assignBinding */
137  StoreValueSource, /* assignValueSource */
138  StoreValueInterceptor, /* assignValueInterceptor */
139 
140  BeginObject, /* begin */
141 
142  StoreObjectQList, /* NA */
143  AssignObjectList, /* NA */
144 
145  FetchAttached, /* fetchAttached */
146  FetchQList, /* fetch */
147  FetchObject, /* fetch */
148  FetchValueType, /* fetchValue */
149 
150  //
151  // Stack manipulation
152  //
153  // PopFetchedObject - Remove an object from the object stack
154  // PopQList - Remove a list from the list stack
156  PopQList,
157  PopValueType, /* fetchValue */
158 
159  //
160  // Deferred creation
161  //
162  Defer /* defer */
163  };

Constructors and Destructors

◆ QDeclarativeInstruction()

QDeclarativeInstruction::QDeclarativeInstruction ( )
inline

Definition at line 164 of file qdeclarativeinstruction_p.h.

165  : line(0) {}

Functions

◆ dump()

void QDeclarativeInstruction::dump ( QDeclarativeCompiledData )

Properties

◆ @136

union { ... }

◆ assignBinding

AssignBindingInstruction QDeclarativeInstruction::assignBinding

◆ assignCustomType

AssignCustomTypeInstruction QDeclarativeInstruction::assignCustomType

◆ assignSignalObject

AssignSignalObjectInstruction QDeclarativeInstruction::assignSignalObject

◆ assignValueInterceptor

AssignValueInterceptorInstruction QDeclarativeInstruction::assignValueInterceptor

◆ assignValueSource

AssignValueSourceInstruction QDeclarativeInstruction::assignValueSource

◆ begin

BeginInstruction QDeclarativeInstruction::begin

◆ create

CreateInstruction QDeclarativeInstruction::create

◆ createComponent

CreateComponentInstruction QDeclarativeInstruction::createComponent

◆ createSimple

CreateSimpleInstruction QDeclarativeInstruction::createSimple

◆ defer

DeferInstruction QDeclarativeInstruction::defer

◆ fetch

FetchInstruction QDeclarativeInstruction::fetch

◆ fetchAttached

FetchAttachedInstruction QDeclarativeInstruction::fetchAttached

◆ fetchQmlList

FetchQmlListInstruction QDeclarativeInstruction::fetchQmlList

Definition at line 328 of file qdeclarativeinstruction_p.h.

Referenced by QDeclarativeCompiler::genListProperty().

◆ fetchValue

FetchValueInstruction QDeclarativeInstruction::fetchValue

◆ init

InitInstruction QDeclarativeInstruction::init

◆ line

unsigned short QDeclarativeInstruction::line

◆ setId

SetIdInstruction QDeclarativeInstruction::setId

◆ storeBool

StoreBoolInstruction QDeclarativeInstruction::storeBool

◆ storeColor

StoreColorInstruction QDeclarativeInstruction::storeColor

◆ storeDate

StoreDateInstruction QDeclarativeInstruction::storeDate

◆ storeDateTime

StoreDateTimeInstruction QDeclarativeInstruction::storeDateTime

◆ storeDouble

StoreDoubleInstruction QDeclarativeInstruction::storeDouble

◆ storeFloat

StoreFloatInstruction QDeclarativeInstruction::storeFloat

◆ storeInteger

StoreIntegerInstruction QDeclarativeInstruction::storeInteger

◆ storeMeta

StoreMetaInstruction QDeclarativeInstruction::storeMeta

◆ storeObject

StoreObjectInstruction QDeclarativeInstruction::storeObject

◆ storeRealPair

StoreRealPairInstruction QDeclarativeInstruction::storeRealPair

◆ storeRect

StoreRectInstruction QDeclarativeInstruction::storeRect

◆ storeScript

StoreScriptInstruction QDeclarativeInstruction::storeScript

Definition at line 336 of file qdeclarativeinstruction_p.h.

Referenced by QDeclarativeCompiledData::dump().

◆ storeScriptString

StoreScriptStringInstruction QDeclarativeInstruction::storeScriptString

◆ storeSignal

StoreSignalInstruction QDeclarativeInstruction::storeSignal

◆ storeString

StoreStringInstruction QDeclarativeInstruction::storeString

◆ storeTime

StoreTimeInstruction QDeclarativeInstruction::storeTime

◆ storeUrl

StoreUrlInstruction QDeclarativeInstruction::storeUrl

◆ storeVector3D

StoreVector3DInstruction QDeclarativeInstruction::storeVector3D

Definition at line 344 of file qdeclarativeinstruction_p.h.

Referenced by QDeclarativeCompiledData::dump().

◆ type

Type QDeclarativeInstruction::type

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