CpgInstructionProperty

CpgInstructionProperty

Synopsis

#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;

Object Hierarchy

  CpgMiniObject
   +----CpgInstruction
         +----CpgInstructionProperty

Description

Details

CPG_INSTRUCTION_PROPERTY_CONST()

#define CPG_INSTRUCTION_PROPERTY_CONST(obj)		(G_TYPE_CHECK_INSTANCE_CAST ((obj), CPG_TYPE_INSTRUCTION_PROPERTY, CpgInstructionProperty const))


enum CpgInstructionPropertyBinding

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.

CPG_INSTRUCTION_PROPERTY_BINDING_NONE

none

CPG_INSTRUCTION_PROPERTY_BINDING_FROM

from

CPG_INSTRUCTION_PROPERTY_BINDING_TO

to

struct CpgInstructionProperty

struct CpgInstructionProperty;


struct CpgInstructionPropertyClass

struct CpgInstructionPropertyClass {
};


cpg_instruction_property_new ()

CpgInstruction *    cpg_instruction_property_new        (CpgProperty *property,
                                                         CpgInstructionPropertyBinding binding);

Create a new CpgInstructionProperty.

property :

A CpgProperty. [transfer none]

binding :

A CpgInstructionPropertyBinding

Returns :

A CpgInstruction

cpg_instruction_property_set_property ()

void                cpg_instruction_property_set_property
                                                        (CpgInstructionProperty *instruction,
                                                         CpgProperty *property);

Set the property executed by the instruction.

instruction :

A CpgInstructionProperty

property :

A CpgProperty. [transfer none]

cpg_instruction_property_get_property ()

CpgProperty *       cpg_instruction_property_get_property
                                                        (CpgInstructionProperty *instruction);

Get the property executed by the instruction.

instruction :

A CpgInstructionProperty

Returns :

A CpgProperty. [transfer none]

cpg_instruction_property_set_binding ()

void                cpg_instruction_property_set_binding
                                                        (CpgInstructionProperty *instruction,
                                                         CpgInstructionPropertyBinding binding);


cpg_instruction_property_get_binding ()

CpgInstructionPropertyBinding cpg_instruction_property_get_binding
                                                        (CpgInstructionProperty *instruction);


CpgInstructionPropertyPrivate

typedef struct _CpgInstructionPropertyPrivate CpgInstructionPropertyPrivate;