CpgInstructionNumber

CpgInstructionNumber

Synopsis

#define             CPG_INSTRUCTION_NUMBER_CONST        (obj)
struct              CpgInstructionNumber;
struct              CpgInstructionNumberClass;
CpgInstruction *    cpg_instruction_number_new          (gdouble value);
CpgInstruction *    cpg_instruction_number_new_from_string
                                                        (gchar const *repr);
gchar *             cpg_instruction_number_get_representation
                                                        (CpgInstructionNumber *number);
gdouble             cpg_instruction_number_get_value    (CpgInstructionNumber *number);
void                cpg_instruction_number_set_value    (CpgInstructionNumber *number,
                                                         gdouble value);
                    CpgInstructionNumberPrivate;

Object Hierarchy

  CpgMiniObject
   +----CpgInstruction
         +----CpgInstructionNumber
               +----CpgInstructionConstant

Description

Details

CPG_INSTRUCTION_NUMBER_CONST()

#define CPG_INSTRUCTION_NUMBER_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CPG_TYPE_INSTRUCTION_NUMBER, CpgInstructionNumber const))


struct CpgInstructionNumber

struct CpgInstructionNumber;

The instruction class for CPG_INSTRUCTION_TYPE_NUMBER


struct CpgInstructionNumberClass

struct CpgInstructionNumberClass {
};


cpg_instruction_number_new ()

CpgInstruction *    cpg_instruction_number_new          (gdouble value);


cpg_instruction_number_new_from_string ()

CpgInstruction *    cpg_instruction_number_new_from_string
                                                        (gchar const *repr);


cpg_instruction_number_get_representation ()

gchar *             cpg_instruction_number_get_representation
                                                        (CpgInstructionNumber *number);


cpg_instruction_number_get_value ()

gdouble             cpg_instruction_number_get_value    (CpgInstructionNumber *number);


cpg_instruction_number_set_value ()

void                cpg_instruction_number_set_value    (CpgInstructionNumber *number,
                                                         gdouble value);


CpgInstructionNumberPrivate

typedef struct _CpgInstructionNumberPrivate CpgInstructionNumberPrivate;