Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

scim Namespace Reference


Classes

class  Attribute
 Class to store the string attributes. More...

class  BackEndError
 An exception class to hold BackEnd related errors. More...

class  BackEndBase
 The interface class to manage a set of ServerFactory instances. More...

class  CommonBackEnd
 The default implementation of scim::BackEndBase interface. More...

class  BoundSlot0_1
 Converts a slot taking one argument into a slot taking no arguments. More...

class  BoundSlot1_2
 Converts a slot taking two arguments into a slot taking one argument. More...

class  BoundSlot2_3
 Converts a slot taking three arguments into a slot taking two arguments. More...

class  BoundSlot3_4
 Converts a slot taking four arguments into a slot taking three arguments. More...

class  BoundSlot4_5
 Converts a slot taking five arguments into a slot taking four arguments. More...

class  BoundSlot5_6
 Converts a slot taking six arguments into a slot taking five arguments. More...

class  ConfigError
 An exception class to hold Config related errors. More...

class  ConfigBase
 The interface class to access the configuration data. More...

class  DummyConfig
 A dummy implementation of interface class scim::ConfigBase. More...

class  ConfigModule
 The class to manipulate the config modules. More...

class  Node
 Base class for classes managing slots. More...

class  Connection
 A signal connection class. More...

class  DebugOutput
 The class to filter and redirect the debug messages. More...

struct  KeyEvent
 The class to store a keyboard event. More...

class  Exception
 A base class of all other exception classes. More...

class  FrontEndError
 An exception class to hold FrontEnd related errors. More...

class  FrontEndBase
 The base class to implement the FrontEnd objects. More...

class  FrontEndModule
 The class to manipulate the frontend modules. More...

class  IConvert
 A class to convert strings between UCS-4 and local encodings. More...

class  LookupTable
 The base class of lookup table. More...

class  CommonLookupTable
 A common lookup table class. More...

class  ModuleError
class  Module
class  ReferencedObject
 Reference counted base class. More...

class  Pointer
 Smart pointer template class. More...

class  ServerError
 An exception class to hold Server related errors. More...

class  ServerFactoryBase
 The base class of the real input methods' ServerFactory classes. More...

class  ServerInstanceBase
 The base class of the real input methods' ServerInstance classes. More...

class  DummyServerFactory
class  DummyServerInstance
class  ServerModule
 The class to manipulate the server modules. More...

class  SlotNode
 A node class for managing slots connected to scim::Signal's. More...

class  DefaultMarshal
class  Signal
 Base class for the C++ signal interface. More...

class  Signal0
 A template for a signal passing no arguments and returning a value of type R. More...

class  Signal0< void, IgnoreMarshal >
class  Signal1
 A template for a signal passing one argument of type P1 and returning a value of type R. More...

class  Signal1< void, P1, IgnoreMarshal >
class  Signal2
 A template for a signal passing two arguments of type P1 and P2, and returning a value of type R. More...

class  Signal2< void, P1, P2, IgnoreMarshal >
class  Signal3
 A template for a signal passing three arguments of type P1, P2 and P3, and returning a value of type R. More...

class  Signal3< void, P1, P2, P3, IgnoreMarshal >
class  Signal4
 A template for a signal passing four arguments of type P1, P2, P3 and P4, and returning a value of type R. More...

class  Signal4< void, P1, P2, P3, P4, IgnoreMarshal >
class  Signal5
 A template for a signal passing five arguments of type P1, P2, P3, P4 and P5, and returning a value of type R. More...

class  Signal5< void, P1, P2, P3, P4, P5, IgnoreMarshal >
class  Signal6
 A template for a signal passing six arguments of type P1, P2, P3, P4, P5 and P6, and returning a value of type R. More...

class  Signal6< void, P1, P2, P3, P4, P5, P6, IgnoreMarshal >
class  Slot
 Base class for slots that can connect to scim::Signals. More...

class  Slot0
 Base class template for slots passing no arguments and returning a value of type R. More...

class  FunctionSlot0
 A slot template for static functions taking no arguments and returning a value of type R. More...

class  MethodSlot0
 A slot template for methods in a class of type T taking no arguments and returning a value of type R. More...

class  SignalSlot0
class  Slot1
 Base class template for slots passing one argument of type P1 and returning a value of type R. More...

class  FunctionSlot1
 A slot template for static functions taking one argument of type P1 and returning a value of type R. More...

class  MethodSlot1
 A slot template for methods in a class of type T taking one argument of type P1 and returning a value of type R. More...

class  SignalSlot1
class  Slot2
 Base class template for slots passing two arguments of type P1 and P2, and returning a value of type R. More...

class  FunctionSlot2
 A slot template for static functions taking two arguments of type P1 and P2, and returning a value of type R. More...

class  MethodSlot2
 A slot template for methods in a class of type T taking two arguments of type P1 and P2, and returning a value of type R. More...

class  SignalSlot2
class  Slot3
 Base class template for slots passing three arguments of type P1, P2 and P3, and returning a value of type R. More...

class  FunctionSlot3
 A slot template for static functions taking three arguments of type P1, P2 and P3, and returning a value of type R. More...

class  MethodSlot3
 A slot template for methods in a class of type T taking three arguments of type P1, P2 and P3, and returning a value of type R. More...

class  SignalSlot3
class  Slot4
 Base class template for slots passing four arguments of type P1, P2, P3 and P4, and returning a value of type R. More...

class  FunctionSlot4
 A slot template for static functions taking four arguments of type P1, P2, P3 and P4, and returning a value of type R. More...

class  MethodSlot4
 A slot template for methods in a class of type T taking four arguments of type P1, P2, P3 and P4, and returning a value of type R. More...

class  SignalSlot4
class  Slot5
 Base class template for slots passing five arguments of type P1, P2, P3, P4 and P5, and returning a value of type R. More...

class  FunctionSlot5
 A slot template for static functions taking five arguments of type P1, P2, P3, P4 and P5, and returning a value of type R. More...

class  MethodSlot5
 A slot template for methods in a class of type T taking five arguments of type P1, P2, P3, P4 and P5, and returning a value of type R. More...

class  SignalSlot5
class  Slot6
 Base class template for slots passing six arguments of type P1, P2, P3, P4, P5 and P6, and returning a value of type R. More...

class  FunctionSlot6
 A slot template for static functions taking six arguments of type P1, P2, P3, P4, P5 and P6, and returning a value of type R. More...

class  MethodSlot6
 A slot template for methods in a class of type T taking six arguments of type P1, P2, P3, P4, P5 and P6, and returning a value of type R. More...

class  SignalSlot6
class  SocketError
class  SocketAddress
class  Socket
class  SocketServer
class  SocketClient
class  SocketTransactionError
class  SocketTransaction

Bind functions returning a new BoundSlot.

template<typename R, typename P1> Slot0< R > * bind (Slot1< R, P1 > *s, P1 p1)
template<typename R, typename P1, typename P2> Slot1< R, P1 > * bind (Slot2< R, P1, P2 > *s, P2 p2)
template<typename R, typename P1, typename P2, typename P3> Slot2< R, P1, P2 > * bind (Slot3< R, P1, P2, P3 > *s, P3 p3)
template<typename R, typename P1, typename P2, typename P3, typename P4> Slot3< R, P1, P2, P3 > * bind (Slot4< R, P1, P2, P3, P4 > *s, P4 p4)
template<typename R, typename P1, typename P2, typename P3, typename P4, typename P5> Slot4< R, P1, P2, P3, P4 > * bind (Slot5< R, P1, P2, P3, P4, P5 > *s, P5 p5)
template<typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6> Slot5< R, P1, P2, P3, P4,
P5 > * 
bind (Slot6< R, P1, P2, P3, P4, P5, P6 > *s, P6 p6)

Equality operators

template<typename T1, typename T2> bool operator== (const Pointer< T1 > &t1, const Pointer< T2 > &t2)
template<typename T1, typename T2> bool operator!= (const Pointer< T1 > &t1, const Pointer< T2 > &t2)

C++-style casting functions

template<typename To, typename From> Pointer< To > cast_const (const Pointer< From > &from)
template<typename To, typename From> Pointer< To > cast_dynamic (const Pointer< From > &from)
template<typename To, typename From> Pointer< To > cast_static (const Pointer< From > &from)

Slot functions returning a new slot

template<typename R> Slot0< R > * slot (R(*function)())
template<typename T1, typename T2, typename R> Slot0< R > * slot (T1 *&object, R(T2::*function)())
template<typename T1, typename T2, typename R> Slot0< R > * slot (T1 *const &object, R(T2::*function)())
template<typename T1, typename T2, typename R> Slot0< R > * slot (T1 &object, R(T2::*function)())
template<typename R, typename P1> Slot1< R, P1 > * slot (R(*function)(P1))
template<typename T1, typename T2, typename R, typename P1> Slot1< R, P1 > * slot (T1 *&object, R(T2::*function)(P1))
template<typename T1, typename T2, typename R, typename P1> Slot1< R, P1 > * slot (T1 *const &object, R(T2::*function)(P1))
template<typename T1, typename T2, typename R, typename P1> Slot1< R, P1 > * slot (T1 &object, R(T2::*function)(P1))
template<typename R, typename P1, typename P2> Slot2< R, P1, P2 > * slot (R(*function)(P1, P2))
template<typename T1, typename T2, typename R, typename P1, typename P2> Slot2< R, P1, P2 > * slot (T1 *&object, R(T2::*function)(P1, P2))
template<typename T1, typename T2, typename R, typename P1, typename P2> Slot2< R, P1, P2 > * slot (T1 *const &object, R(T2::*function)(P1, P2))
template<typename T1, typename T2, typename R, typename P1, typename P2> Slot2< R, P1, P2 > * slot (T1 &object, R(T2::*function)(P1, P2))
template<typename R, typename P1, typename P2, typename P3> Slot3< R, P1, P2, P3 > * slot (R(*function)(P1, P2, P3))
template<typename T1, typename T2, typename R, typename P1, typename P2, typename P3> Slot3< R, P1, P2, P3 > * slot (T1 *&object, R(T2::*function)(P1, P2, P3))
template<typename T1, typename T2, typename R, typename P1, typename P2, typename P3> Slot3< R, P1, P2, P3 > * slot (T1 *const &object, R(T2::*function)(P1, P2, P3))
template<typename T1, typename T2, typename R, typename P1, typename P2, typename P3> Slot3< R, P1, P2, P3 > * slot (T1 &object, R(T2::*function)(P1, P2, P3))
template<typename R, typename P1, typename P2, typename P3, typename P4> Slot4< R, P1, P2, P3, P4 > * slot (R(*function)(P1, P2, P3, P4))
template<typename T1, typename T2, typename R, typename P1, typename P2, typename P3, typename P4> Slot4< R, P1, P2, P3, P4 > * slot (T1 *&object, R(T2::*function)(P1, P2, P3, P4))
template<typename T1, typename T2, typename R, typename P1, typename P2, typename P3, typename P4> Slot4< R, P1, P2, P3, P4 > * slot (T1 *const &object, R(T2::*function)(P1, P2, P3, P4))
template<typename T1, typename T2, typename R, typename P1, typename P2, typename P3, typename P4> Slot4< R, P1, P2, P3, P4 > * slot (T1 &object, R(T2::*function)(P1, P2, P3, P4))
template<typename R, typename P1, typename P2, typename P3, typename P4, typename P5> Slot5< R, P1, P2, P3, P4,
P5 > * 
slot (R(*function)(P1, P2, P3, P4, P5))
template<typename T1, typename T2, typename R, typename P1, typename P2, typename P3, typename P4, typename P5> Slot5< R, P1, P2, P3, P4,
P5 > * 
slot (T1 *&object, R(T2::*function)(P1, P2, P3, P4, P5))
template<typename T1, typename T2, typename R, typename P1, typename P2, typename P3, typename P4, typename P5> Slot5< R, P1, P2, P3, P4,
P5 > * 
slot (T1 *const &object, R(T2::*function)(P1, P2, P3, P4, P5))
template<typename T1, typename T2, typename R, typename P1, typename P2, typename P3, typename P4, typename P5> Slot5< R, P1, P2, P3, P4,
P5 > * 
slot (T1 &object, R(T2::*function)(P1, P2, P3, P4, P5))
template<typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6> Slot6< R, P1, P2, P3, P4,
P5, P6 > * 
slot (R(*function)(P1, P2, P3, P4, P5, P6))
template<typename T1, typename T2, typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6> Slot6< R, P1, P2, P3, P4,
P5, P6 > * 
slot (T1 *&object, R(T2::*function)(P1, P2, P3, P4, P5, P6))
template<typename T1, typename T2, typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6> Slot6< R, P1, P2, P3, P4,
P5, P6 > * 
slot (T1 *const &object, R(T2::*function)(P1, P2, P3, P4, P5, P6))
template<typename T1, typename T2, typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6> Slot6< R, P1, P2, P3, P4,
P5, P6 > * 
slot (T1 &object, R(T2::*function)(P1, P2, P3, P4, P5, P6))

Typedefs

typedef std::vector< AttributeAttributeList
 The container to store a set of Attribute objects.

typedef Pointer< BackEndBaseBackEndPointer
typedef Pointer< ConfigBaseConfigPointer
typedef void(* ConfigModuleInitFunc )(void)
 The prototype of initialization function in config modules.

typedef ConfigPointer(* ConfigModuleCreateConfigFunc )(const String &app_name)
 The prototype of configure object creation function in config modules.

typedef std::vector< KeyEventKeyEventList
 The container to store a set of KeyEvent objects.

typedef Pointer< FrontEndBaseFrontEndPointer
typedef void(* FrontEndModuleInitFunc )(const BackEndPointer &backend, const ConfigPointer &config, int argc, char **argv)
 Initialize a FrontEnd Module.

typedef void(* FrontEndModuleRunFunc )(void)
 Run a FrontEnd Module.

typedef Pointer< ServerFactoryBaseServerFactoryPointer
typedef Pointer< ServerInstanceBaseServerInstancePointer
typedef Slot1< void, ServerInstanceBase * > ServerSlotVoid
typedef Slot2< void, ServerInstanceBase *,
int > 
ServerSlotInt
typedef Slot2< void, ServerInstanceBase *,
bool > 
ServerSlotBool
typedef Slot2< void, ServerInstanceBase *,
const WideString & > 
ServerSlotWideString
typedef Slot2< void, ServerInstanceBase *,
const KeyEvent & > 
ServerSlotKeyEvent
typedef Slot2< void, ServerInstanceBase *,
const LookupTable & > 
ServerSlotLookupTable
typedef Slot3< void, ServerInstanceBase *,
const WideString &, const
AttributeList & > 
ServerSlotWideStringAttributeList
typedef Signal1< void, ServerInstanceBase * > ServerSignalVoid
typedef Signal2< void, ServerInstanceBase *,
int > 
ServerSignalInt
typedef Signal2< void, ServerInstanceBase *,
bool > 
ServerSignalBool
typedef Signal2< void, ServerInstanceBase *,
const WideString & > 
ServerSignalWideString
typedef Signal2< void, ServerInstanceBase *,
const KeyEvent & > 
ServerSignalKeyEvent
typedef Signal2< void, ServerInstanceBase *,
const LookupTable & > 
ServerSignalLookupTable
typedef Signal3< void, ServerInstanceBase *,
const WideString &, const
AttributeList & > 
ServerSignalWideStringAttributeList
typedef unsigned int(* ServerModuleInitFunc )(const ConfigPointer &config)
 Initialize a Server Module.

typedef ServerFactoryPointer(* ServerModuleCreateFactoryFunc )(unsigned int server)
 Create a factory instance for a server,.

typedef Slot2< void, SocketServer *,
const Socket & > 
SocketServerSlotSocket
typedef Signal2< void, SocketServer *,
const Socket & > 
SocketServerSignalSocket
typedef uint16_t uint16
typedef uint32_t uint32
typedef uint64_t uint64
typedef uint32 ucs4_t
typedef std::basic_string<
char > 
String
typedef std::basic_string<
ucs4_t
WideString

Enumerations

enum  AttributeType { SCIM_ATTR_NONE, SCIM_ATTR_UNDERLINE, SCIM_ATTR_HIGHLIGHT, SCIM_ATTR_REVERSE }
 Enum values of the valid attributes. More...

enum  KeyMask {
  SCIM_KEY_NullMask = 0, SCIM_KEY_ShiftMask = (1<<0), SCIM_KEY_LockMask = (1<<1), SCIM_KEY_CapsLockMask = (1<<1),
  SCIM_KEY_ControlMask = (1<<2), SCIM_KEY_AltMask = (1<<3), SCIM_KEY_Mod1Mask = (1<<3), SCIM_KEY_Mod2Mask = (1<<4),
  SCIM_KEY_NumLockMask = (1<<4), SCIM_KEY_Mod3Mask = (1<<5), SCIM_KEY_Mod4Mask = (1<<6), SCIM_KEY_Mod5Mask = (1<<7),
  SCIM_KEY_ScrollLockMask = (1<<7), SCIM_KEY_ReleaseMask = (1<<30)
}
 Enum values of all valid key masks. More...

enum  KeyCode {
  SCIM_KEY_NullKey = 0, SCIM_KEY_Shift_L = 0xFFE1, SCIM_KEY_Shift_R = 0xFFE2, SCIM_KEY_Control_L = 0xFFE3,
  SCIM_KEY_Control_R = 0xFFE4, SCIM_KEY_Caps_Lock = 0xFFE5, SCIM_KEY_Shift_Lock = 0xFFE6, SCIM_KEY_Meta_L = 0xFFE7,
  SCIM_KEY_Meta_R = 0xFFE8, SCIM_KEY_Alt_L = 0xFFE9, SCIM_KEY_Alt_R = 0xFFEA, SCIM_KEY_Super_L = 0xFFEB,
  SCIM_KEY_Super_R = 0xFFEC, SCIM_KEY_Hyper_L = 0xFFED, SCIM_KEY_Hyper_R = 0xFFEE, SCIM_KEY_BackSpace = 0xFF08,
  SCIM_KEY_Tab = 0xFF09, SCIM_KEY_Linefeed = 0xFF0A, SCIM_KEY_Clear = 0xFF0B, SCIM_KEY_Return = 0xFF0D,
  SCIM_KEY_Pause = 0xFF13, SCIM_KEY_Scroll_Lock = 0xFF14, SCIM_KEY_Sys_Req = 0xFF15, SCIM_KEY_Escape = 0xFF1B,
  SCIM_KEY_Delete = 0xFFFF, SCIM_KEY_Multi_key = 0xFF20, SCIM_KEY_Codeinput = 0xFF37, SCIM_KEY_SingleCandidate = 0xFF3C,
  SCIM_KEY_MultipleCandidate = 0xFF3D, SCIM_KEY_PreviousCandidate = 0xFF3E, SCIM_KEY_Kanji = 0xFF21, SCIM_KEY_Muhenkan = 0xFF22,
  SCIM_KEY_Henkan_Mode = 0xFF23, SCIM_KEY_Henkan = 0xFF23, SCIM_KEY_Romaji = 0xFF24, SCIM_KEY_Hiragana = 0xFF25,
  SCIM_KEY_Katakana = 0xFF26, SCIM_KEY_Hiragana_Katakana = 0xFF27, SCIM_KEY_Zenkaku = 0xFF28, SCIM_KEY_Hankaku = 0xFF29,
  SCIM_KEY_Zenkaku_Hankaku = 0xFF2A, SCIM_KEY_Touroku = 0xFF2B, SCIM_KEY_Massyo = 0xFF2C, SCIM_KEY_Kana_Lock = 0xFF2D,
  SCIM_KEY_Kana_Shift = 0xFF2E, SCIM_KEY_Eisu_Shift = 0xFF2F, SCIM_KEY_Eisu_toggle = 0xFF30, SCIM_KEY_Kanji_Bangou = 0xFF37,
  SCIM_KEY_Zen_Koho = 0xFF3D, SCIM_KEY_Mae_Koho = 0xFF3E, SCIM_KEY_Home = 0xFF50, SCIM_KEY_Left = 0xFF51,
  SCIM_KEY_Up = 0xFF52, SCIM_KEY_Right = 0xFF53, SCIM_KEY_Down = 0xFF54, SCIM_KEY_Prior = 0xFF55,
  SCIM_KEY_Page_Up = 0xFF55, SCIM_KEY_Next = 0xFF56, SCIM_KEY_Page_Down = 0xFF56, SCIM_KEY_End = 0xFF57,
  SCIM_KEY_Begin = 0xFF58, SCIM_KEY_Select = 0xFF60, SCIM_KEY_Print = 0xFF61, SCIM_KEY_Execute = 0xFF62,
  SCIM_KEY_Insert = 0xFF63, SCIM_KEY_Undo = 0xFF65, SCIM_KEY_Redo = 0xFF66, SCIM_KEY_Menu = 0xFF67,
  SCIM_KEY_Find = 0xFF68, SCIM_KEY_Cancel = 0xFF69, SCIM_KEY_Help = 0xFF6A, SCIM_KEY_Break = 0xFF6B,
  SCIM_KEY_Mode_switch = 0xFF7E, SCIM_KEY_Num_Lock = 0xFF7F, SCIM_KEY_KP_Space = 0xFF80, SCIM_KEY_KP_Tab = 0xFF89,
  SCIM_KEY_KP_Enter = 0xFF8D, SCIM_KEY_KP_F1 = 0xFF91, SCIM_KEY_KP_F2 = 0xFF92, SCIM_KEY_KP_F3 = 0xFF93,
  SCIM_KEY_KP_F4 = 0xFF94, SCIM_KEY_KP_Home = 0xFF95, SCIM_KEY_KP_Left = 0xFF96, SCIM_KEY_KP_Up = 0xFF97,
  SCIM_KEY_KP_Right = 0xFF98, SCIM_KEY_KP_Down = 0xFF99, SCIM_KEY_KP_Prior = 0xFF9A, SCIM_KEY_KP_Page_Up = 0xFF9A,
  SCIM_KEY_KP_Next = 0xFF9B, SCIM_KEY_KP_Page_Down = 0xFF9B, SCIM_KEY_KP_End = 0xFF9C, SCIM_KEY_KP_Begin = 0xFF9D,
  SCIM_KEY_KP_Insert = 0xFF9E, SCIM_KEY_KP_Delete = 0xFF9F, SCIM_KEY_KP_Equal = 0xFFBD, SCIM_KEY_KP_Multiply = 0xFFAA,
  SCIM_KEY_KP_Add = 0xFFAB, SCIM_KEY_KP_Separator = 0xFFAC, SCIM_KEY_KP_Subtract = 0xFFAD, SCIM_KEY_KP_Decimal = 0xFFAE,
  SCIM_KEY_KP_Divide = 0xFFAF, SCIM_KEY_KP_0 = 0xFFB0, SCIM_KEY_KP_1 = 0xFFB1, SCIM_KEY_KP_2 = 0xFFB2,
  SCIM_KEY_KP_3 = 0xFFB3, SCIM_KEY_KP_4 = 0xFFB4, SCIM_KEY_KP_5 = 0xFFB5, SCIM_KEY_KP_6 = 0xFFB6,
  SCIM_KEY_KP_7 = 0xFFB7, SCIM_KEY_KP_8 = 0xFFB8, SCIM_KEY_KP_9 = 0xFFB9, SCIM_KEY_F1 = 0xFFBE,
  SCIM_KEY_F2 = 0xFFBF, SCIM_KEY_F3 = 0xFFC0, SCIM_KEY_F4 = 0xFFC1, SCIM_KEY_F5 = 0xFFC2,
  SCIM_KEY_F6 = 0xFFC3, SCIM_KEY_F7 = 0xFFC4, SCIM_KEY_F8 = 0xFFC5, SCIM_KEY_F9 = 0xFFC6,
  SCIM_KEY_F10 = 0xFFC7, SCIM_KEY_F11 = 0xFFC8, SCIM_KEY_F12 = 0xFFC9, SCIM_KEY_space = 0x020,
  SCIM_KEY_exclam = 0x021, SCIM_KEY_quotedbl = 0x022, SCIM_KEY_numbersign = 0x023, SCIM_KEY_dollar = 0x024,
  SCIM_KEY_percent = 0x025, SCIM_KEY_ampersand = 0x026, SCIM_KEY_apostrophe = 0x027, SCIM_KEY_quoteright = 0x027,
  SCIM_KEY_parenleft = 0x028, SCIM_KEY_parenright = 0x029, SCIM_KEY_asterisk = 0x02a, SCIM_KEY_plus = 0x02b,
  SCIM_KEY_comma = 0x02c, SCIM_KEY_minus = 0x02d, SCIM_KEY_period = 0x02e, SCIM_KEY_slash = 0x02f,
  SCIM_KEY_0 = 0x030, SCIM_KEY_1 = 0x031, SCIM_KEY_2 = 0x032, SCIM_KEY_3 = 0x033,
  SCIM_KEY_4 = 0x034, SCIM_KEY_5 = 0x035, SCIM_KEY_6 = 0x036, SCIM_KEY_7 = 0x037,
  SCIM_KEY_8 = 0x038, SCIM_KEY_9 = 0x039, SCIM_KEY_colon = 0x03a, SCIM_KEY_semicolon = 0x03b,
  SCIM_KEY_less = 0x03c, SCIM_KEY_equal = 0x03d, SCIM_KEY_greater = 0x03e, SCIM_KEY_question = 0x03f,
  SCIM_KEY_at = 0x040, SCIM_KEY_A = 0x041, SCIM_KEY_B = 0x042, SCIM_KEY_C = 0x043,
  SCIM_KEY_D = 0x044, SCIM_KEY_E = 0x045, SCIM_KEY_F = 0x046, SCIM_KEY_G = 0x047,
  SCIM_KEY_H = 0x048, SCIM_KEY_I = 0x049, SCIM_KEY_J = 0x04a, SCIM_KEY_K = 0x04b,
  SCIM_KEY_L = 0x04c, SCIM_KEY_M = 0x04d, SCIM_KEY_N = 0x04e, SCIM_KEY_O = 0x04f,
  SCIM_KEY_P = 0x050, SCIM_KEY_Q = 0x051, SCIM_KEY_R = 0x052, SCIM_KEY_S = 0x053,
  SCIM_KEY_T = 0x054, SCIM_KEY_U = 0x055, SCIM_KEY_V = 0x056, SCIM_KEY_W = 0x057,
  SCIM_KEY_X = 0x058, SCIM_KEY_Y = 0x059, SCIM_KEY_Z = 0x05a, SCIM_KEY_bracketleft = 0x05b,
  SCIM_KEY_backslash = 0x05c, SCIM_KEY_bracketright = 0x05d, SCIM_KEY_asciicircum = 0x05e, SCIM_KEY_underscore = 0x05f,
  SCIM_KEY_grave = 0x060, SCIM_KEY_a = 0x061, SCIM_KEY_b = 0x062, SCIM_KEY_c = 0x063,
  SCIM_KEY_d = 0x064, SCIM_KEY_e = 0x065, SCIM_KEY_f = 0x066, SCIM_KEY_g = 0x067,
  SCIM_KEY_h = 0x068, SCIM_KEY_i = 0x069, SCIM_KEY_j = 0x06a, SCIM_KEY_k = 0x06b,
  SCIM_KEY_l = 0x06c, SCIM_KEY_m = 0x06d, SCIM_KEY_n = 0x06e, SCIM_KEY_o = 0x06f,
  SCIM_KEY_p = 0x070, SCIM_KEY_q = 0x071, SCIM_KEY_r = 0x072, SCIM_KEY_s = 0x073,
  SCIM_KEY_t = 0x074, SCIM_KEY_u = 0x075, SCIM_KEY_v = 0x076, SCIM_KEY_w = 0x077,
  SCIM_KEY_x = 0x078, SCIM_KEY_y = 0x079, SCIM_KEY_z = 0x07a, SCIM_KEY_braceleft = 0x07b,
  SCIM_KEY_bar = 0x07c, SCIM_KEY_braceright = 0x07d, SCIM_KEY_asciitilde = 0x07e
}
 Enum values of all valid key codes. More...

enum  SocketFamily { SCIM_SOCKET_UNKNOWN, SCIM_SOCKET_LOCAL, SCIM_SOCKET_INET }
enum  SocketTransactionDataType {
  SCIM_TRANS_DATA_UNKNOWN, SCIM_TRANS_DATA_COMMAND, SCIM_TRANS_DATA_RAW, SCIM_TRANS_DATA_UINT32,
  SCIM_TRANS_DATA_STRING, SCIM_TRANS_DATA_WSTRING, SCIM_TRANS_DATA_KEYEVENT, SCIM_TRANS_DATA_ATTRLIST,
  SCIM_TRANS_DATA_LOOKUP_TABLE, SCIM_TRANS_DATA_VECTOR_UINT32, SCIM_TRANS_DATA_VECTOR_STRING, SCIM_TRANS_DATA_VECTOR_WSTRING
}

Functions

int scim_get_config_module_list (std::vector< String > &mod_list)
 Get a name list of currently available configuration modules.

bool scim_key_to_string (String &str, const KeyEvent &key)
 Convert a key event to a string.

bool scim_string_to_key (KeyEvent &key, const String &str)
 Convert a string to a KeyEvent.

bool scim_key_list_to_string (String &str, const KeyEventList &keylist)
 Convert a set of KeyEvents to a string.

bool scim_string_to_key_list (KeyEventList &keylist, const String &str)
 Covnert a string to a set of KeyEvents.

int scim_get_frontend_module_list (std::vector< String > &mod_list)
 Get a name list of currently available frontend modules.

int scim_get_module_list (std::vector< String > &mod_list, const String &type="")
int scim_get_server_module_list (std::vector< String > &mod_list)
 Get a name list of currently available server modules.

int utf8_mbtowc (ucs4_t *pwc, const unsigned char *src, int src_len)
 Convert an utf8 char sequence to ucs4.

int utf8_wctomb (unsigned char *dest, ucs4_t wc, int dest_size)
 Convert an ucs4 code to utf8 char sequence.

WideString utf8_mbstowcs (const String &str)
 Convert an utf8 string to an ucs4 string.

WideString utf8_mbstowcs (const char *str, int len=-1)
 Convert an utf8 string to an ucs4 string.

String utf8_wcstombs (const WideString &wstr)
 Convert an ucs4 string to an utf8 string.

String utf8_wcstombs (const ucs4_t *wstr, int len=-1)
 Convert an ucs4 string to an utf8 string.

ucs4_t utf8_read_wchar (std::istream &is)
 Read a wide char from istream.

std::ostream & utf8_write_wchar (std::ostream &os, ucs4_t wc)
 Write a wide char to ostream.

WideString utf8_read_wstring (std::istream &is, ucs4_t delim=(ucs4_t) '\n', bool rm_delim=true)
 Read a wide string from istream.

std::ostream & utf8_write_wstring (std::ostream &os, const WideString &wstr)
 Write a wide string to ostream.

void scim_uint32tobytes (unsigned char *bytes, uint32 n)
 Convert an uint32 variable into a sequence of bytes.

uint32 scim_bytestouint32 (const unsigned char *bytes)
 Convert a sequence of bytes into an uint32 value.

void scim_uint16tobytes (unsigned char *bytes, uint16 n)
 Convert an uint16 variable into a sequence of bytes.

uint16 scim_bytestouint16 (const unsigned char *bytes)
 Convert a sequence of bytes into an uint16 value.

String scim_validate_locale (const String &locale)
 Test if the locale is valid, and return the good locale name.

String scim_get_locale_encoding (const String &locale)
 Get the encoding for a locale.

String scim_get_current_locale ()
 Get current system locale.

int scim_get_locale_maxlen (const String &locale)
 Get the max length of the multibyte char of a locale.

int scim_split_string_list (std::vector< String > &vec, const String &str, char delim= ',')
 Split string list into a string vector according to the delim char.

String scim_combine_string_list (const std::vector< String > &vec, char delim= ',')
 Combine a string vector into one string list, separated by char delim.

bool scim_is_little_endian ()
 Get machine endian type.

bool scim_if_wchar_ucs4_equal ()
 Test if wchar_t is using UCS4 encoding.

ucs4_t scim_wchar_to_full_width (ucs4_t code)
 Convert a half width unicode char to its full width counterpart.

ucs4_t scim_wchar_to_half_width (ucs4_t code)
 Convert a full width unicode char to its half width counterpart.

String scim_get_home_dir ()
 Get the home dir of current user.

String scim_get_user_name ()
 Get the name of current user.

size_t scim_load_file (const String &filename, char **bufptr)
 Load a file into memory.

bool scim_make_dir (const String &dir)
 Make a directory.


Variables

const int SCIM_TRANS_CMD_PANEL_EXIT
const int SCIM_TRANS_CMD_UNKNOWN


Typedef Documentation

typedef Pointer< BackEndBase > scim::BackEndPointer
 

A smart pointer for scim::BackEndBase and its derived classes.

Definition at line 94 of file scim_backend.h.

typedef uint16_t scim::uint16
 

Definition at line 38 of file scim_types.h.

typedef uint32_t scim::uint32
 

Definition at line 39 of file scim_types.h.

Referenced by scim::DebugOutput::operator<<().

typedef uint64_t scim::uint64
 

Definition at line 40 of file scim_types.h.

typedef uint32 scim::ucs4_t
 

Definition at line 45 of file scim_types.h.

typedef std::basic_string<char> scim::String
 

Definition at line 48 of file scim_types.h.

Referenced by scim::BackEndError::BackEndError(), scim::ConfigError::ConfigError(), scim::Exception::Exception(), scim::FrontEndError::FrontEndError(), scim::ModuleError::ModuleError(), scim::DebugOutput::operator<<(), scim::ServerError::ServerError(), scim::SocketError::SocketError(), and scim::SocketTransactionError::SocketTransactionError().

typedef std::basic_string<ucs4_t> scim::WideString
 

Definition at line 49 of file scim_types.h.

Referenced by scim::ServerInstanceBase::commit_string(), scim::ServerInstanceBase::update_aux_string(), scim::ServerInstanceBase::update_preedit_string(), and scim::ServerInstanceBase::update_status_string().


Variable Documentation

const int scim::SCIM_TRANS_CMD_PANEL_EXIT
 

Initial value:

 SCIM_TRANS_CMD_USER_DEFINED + 0

    
    SCIM_TRANS_CMD_PANEL_TURN_ON               = SCIM_TRANS_CMD_USER_DEFINED + 1
    SCIM_TRANS_CMD_PANEL_TURN_OFF              = SCIM_TRANS_CMD_USER_DEFINED + 2
    SCIM_TRANS_CMD_PANEL_UPDATE_DISPLAY        = SCIM_TRANS_CMD_USER_DEFINED + 3
    SCIM_TRANS_CMD_PANEL_UPDATE_SCREEN         = SCIM_TRANS_CMD_USER_DEFINED + 4
    SCIM_TRANS_CMD_PANEL_UPDATE_SPOT_LOCATION  = SCIM_TRANS_CMD_USER_DEFINED + 5
    SCIM_TRANS_CMD_PANEL_UPDATE_SERVER_INFO    = SCIM_TRANS_CMD_USER_DEFINED + 6
    SCIM_TRANS_CMD_PANEL_SHOW_HELP             = SCIM_TRANS_CMD_USER_DEFINED + 7
    SCIM_TRANS_CMD_PANEL_SHOW_SERVER_MENU      = SCIM_TRANS_CMD_USER_DEFINED + 8

    
    SCIM_TRANS_CMD_PANEL_REQUEST_HELP          = SCIM_TRANS_CMD_USER_DEFINED + 32
    SCIM_TRANS_CMD_PANEL_REQUEST_SERVER_MENU   = SCIM_TRANS_CMD_USER_DEFINED + 33
    SCIM_TRANS_CMD_PANEL_CHANGE_SERVER_FACTORY = SCIM_TRANS_CMD_USER_DEFINED + 34

Definition at line 40 of file scim_panel.h.


Generated on Fri May 7 17:27:26 2004 for scim by doxygen 1.3.6