![]() |
![]() |
![]() |
cpg-network Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#define CPG_INSTRUCTION_PROPERTY_CONST (obj) enum CpgInstructionPropertyBinding; struct CpgInstructionProperty; struct CpgInstructionPropertyClass; CpgInstruction * cpg_instruction_property_new (CpgProperty *property
,CpgInstructionPropertyBinding binding
); void cpg_instruction_property_set_property (CpgInstructionProperty *instruction
,CpgProperty *property
); CpgProperty * cpg_instruction_property_get_property (CpgInstructionProperty *instruction
); void cpg_instruction_property_set_binding (CpgInstructionProperty *instruction
,CpgInstructionPropertyBinding binding
); CpgInstructionPropertyBinding cpg_instruction_property_get_binding (CpgInstructionProperty *instruction
); CpgInstructionPropertyPrivate;
#define CPG_INSTRUCTION_PROPERTY_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CPG_TYPE_INSTRUCTION_PROPERTY, CpgInstructionProperty const))
typedef enum { CPG_INSTRUCTION_PROPERTY_BINDING_NONE = 0, CPG_INSTRUCTION_PROPERTY_BINDING_FROM, CPG_INSTRUCTION_PROPERTY_BINDING_TO, } CpgInstructionPropertyBinding;
Enum used to indicate how the property in a CpgInstructionProperty was bound when the instruction was compiled.
CpgInstruction * cpg_instruction_property_new (CpgProperty *property
,CpgInstructionPropertyBinding binding
);
Create a new CpgInstructionProperty.
|
A CpgProperty. [transfer none] |
|
A CpgInstructionPropertyBinding |
Returns : |
A CpgInstruction |
void cpg_instruction_property_set_property (CpgInstructionProperty *instruction
,CpgProperty *property
);
Set the property executed by the instruction.
|
A CpgInstructionProperty |
|
A CpgProperty. [transfer none] |
CpgProperty * cpg_instruction_property_get_property
(CpgInstructionProperty *instruction
);
Get the property executed by the instruction.
|
A CpgInstructionProperty |
Returns : |
A CpgProperty. [transfer none] |
void cpg_instruction_property_set_binding (CpgInstructionProperty *instruction
,CpgInstructionPropertyBinding binding
);
CpgInstructionPropertyBinding cpg_instruction_property_get_binding
(CpgInstructionProperty *instruction
);