Back to index

im-sdk  12.3.91
Classes | Defines | Functions | Variables
print-misc.c File Reference
#include <iiimp-data.h>
#include <iiimp-opcode.h>
#include "print-misc.h"

Go to the source code of this file.

Classes

struct  id_string_pair

Defines

#define FEEDBACK_NUM   (3)
#define OBJECT_DESCRIPTOR_CATEGORY_NUM   (5)
#define CHARACTER_SUBSETS_STRING_NUM   (73)

Functions

const char * opcode_string_get (int num)
const char * feedback_string_get (int num)
const char * object_descriptor_category_string_get (int num)
static const char * id_string_pair_search (id_string_pair *p, int key, int key_stop)
const char * annotation_id_string_get (int num)
const char * imattribute_id_string_get (int num)
const char * icattribute_id_string_get (int num)
const char * lookup_choice_master_string_get (int num)
const char * lookup_choice_direction_string_get (int num)
const char * lookup_choice_label_owner_string_get (int num)
const char * lookup_choice_process_page_string_get (int num)
const char * character_subsets_string_get (int num)
const char * iiimp_opcode_string (int num)

Variables

static id_string_pair opcode_string []
static char * feedback_string []
static char * object_descriptor_category_string []
static id_string_pair annotation_id_string []
static id_string_pair imattribute_id_string []
static id_string_pair icattribute_id_string []
static id_string_pair lookup_choice_master_string []
static id_string_pair lookup_choice_direction_string []
static id_string_pair lookup_choice_label_owner_string []
static id_string_pair lookup_choice_process_page_string []
static char * character_subsets_string []

Class Documentation

struct id_string_pair

Definition at line 7 of file print-misc.c.

Class Members
int id
char * string

Define Documentation

#define CHARACTER_SUBSETS_STRING_NUM   (73)

Definition at line 248 of file print-misc.c.

#define FEEDBACK_NUM   (3)

Definition at line 160 of file print-misc.c.

Definition at line 169 of file print-misc.c.


Function Documentation

const char* annotation_id_string_get ( int  num)

Definition at line 363 of file print-misc.c.

Here is the call graph for this function:

Here is the caller graph for this function:

const char* character_subsets_string_get ( int  num)

Definition at line 412 of file print-misc.c.

{
    if ((num < 0) || (CHARACTER_SUBSETS_STRING_NUM < num)) {
       num = 0;
    }
    return character_subsets_string[num];
}

Here is the caller graph for this function:

const char* feedback_string_get ( int  num)

Definition at line 335 of file print-misc.c.

{
    if ((num < 0) || (FEEDBACK_NUM < num)) {
       num = FEEDBACK_NUM;
    }
    return feedback_string[num];
}

Here is the caller graph for this function:

const char* icattribute_id_string_get ( int  num)

Definition at line 377 of file print-misc.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static const char* id_string_pair_search ( id_string_pair p,
int  key,
int  key_stop 
) [static]

Definition at line 355 of file print-misc.c.

{
    for (; (key != p->id) && (key_stop != p->id); p++) {}
    return p->string;
}

Here is the caller graph for this function:

const char* iiimp_opcode_string ( int  num)

Definition at line 422 of file print-misc.c.

{
    return opcode_string[0x7f & num].string;
}
const char* imattribute_id_string_get ( int  num)

Definition at line 370 of file print-misc.c.

Here is the call graph for this function:

Here is the caller graph for this function:

const char* lookup_choice_direction_string_get ( int  num)

Definition at line 391 of file print-misc.c.

Here is the call graph for this function:

Here is the caller graph for this function:

const char* lookup_choice_label_owner_string_get ( int  num)

Definition at line 398 of file print-misc.c.

Here is the call graph for this function:

Here is the caller graph for this function:

const char* lookup_choice_master_string_get ( int  num)

Definition at line 384 of file print-misc.c.

Here is the call graph for this function:

Here is the caller graph for this function:

const char* lookup_choice_process_page_string_get ( int  num)

Definition at line 405 of file print-misc.c.

Here is the call graph for this function:

Here is the caller graph for this function:

const char* object_descriptor_category_string_get ( int  num)

Definition at line 345 of file print-misc.c.

Here is the caller graph for this function:

const char* opcode_string_get ( int  num)

Definition at line 328 of file print-misc.c.

{
    return opcode_string[0x7f & num].string;
}

Here is the caller graph for this function:


Variable Documentation

Initial value:
 {
       {IIIMP_ANNOTATION_TEXT_INPUT_BEFORE_CONVERSION,
        "text input before conversion"},
       {IIIMP_ANNOTATION_READING_OF_THE_TEXT,    "reading of the text"},
       {IIIMP_ANNOTATION_TYPE_OF_SPEECH,  "type of speech"},
       {IIIMP_ANNOTATION_TYPE_OF_CLAUSE,  "type of clause"},
       {0x00,                             "invalid"}
}

Definition at line 179 of file print-misc.c.

char* character_subsets_string[] [static]

Definition at line 249 of file print-misc.c.

char* feedback_string[] [static]
Initial value:
 {
       "Normal",
       "Reverse",
       "Underline",
       "Undefined"
}

Definition at line 161 of file print-misc.c.

Initial value:
 {
       {IIIMP_ICATTRIBUTE_INPUT_LANGUAGE, "Input Language"},
       {IIIMP_ICATTRIBUTE_CHARACTER_SUBSETS,     "Character Subsets"},
       {IIIMP_ICATTRIBUTE_INPUT_METHOD_NAME,     "Input Method Name"},
       {IIIMP_ICATTRIBUTE_INPUT_METHOD,   "Input Method"},
       {0x00,                             "undefined"}
}

Definition at line 212 of file print-misc.c.

Initial value:
 {
       {IIIMP_IMATTRIBUTE_INPUT_METHOD_LIST,
        "Input Method List"},
       {IIIMP_IMATTRIBUTE_OBJECT_DESCRIPTOR_LIST,
        "Object Descriptor List"},
       {IIIMP_IMATTRIBUTE_CLIENT_DESCRIPTOR,
        "Client Descriptor"},
       {IIIMP_IMATTRIBUTE_CHARACTER_CONVERSION_DEFINITION_RULE,
        "Character Conversion Definition Rule"},
       {IIIMP_IMATTRIBUTE_JAR_GUI_OBJECT,
        "Jar GUI Object"},
       {IIIMP_IMATTRIBUTE_JAR_LIGHT_WEIGHT_ENGINE_OBJECT,
        "Jar Light Weight Engine Object"},
       {IIIMP_IMATTRIBUTE_BINARY_GUI_OBJECT,
        "Binary GUI Object"},
       {IIIMP_IMATTRIBUTE_BINARY_LIGHT_WEIGHT_ENGINE_OBJECT,
        "Binary Light Weight Engine Object"},
       {IIIMP_IMATTRIBUTE_SCRIPT_GUI_OBJECT,
        "SCRIPT GUI Object"},
       {IIIMP_IMATTRIBUTE_SCRIPT_LIGHT_WEIGHT_ENGINE_OBJECT,
        "SCRIPT Light Weight Engine Object"},
       {0x0000,                    "undefined"},
}

Definition at line 188 of file print-misc.c.

Initial value:

Definition at line 227 of file print-misc.c.

Initial value:
 {
       {IM_LOOKUP_CHOICE_START_SERVER_OWNS_LABEL,       "ServerOwnsLabel"},
       {IM_LOOKUP_CHOICE_START_CLIENT_OWNS_LABEL,       "ClientOwnsLabel"},
       {-1,                                      "UnknownOwnsLabel"}
}

Definition at line 233 of file print-misc.c.

Initial value:

Definition at line 220 of file print-misc.c.

Initial value:

Definition at line 239 of file print-misc.c.

Initial value:
 {
       "GUI",
       "LWE",
       "Syntax Rule",
       "IM Manager rule",
       "Preloading LWE",
       "unknown"
}

Definition at line 170 of file print-misc.c.

Definition at line 12 of file print-misc.c.