Back to index

im-sdk  12.3.91
Public Member Functions | Private Attributes
IMEditorDescriptorList Class Reference

#include <IMEditorDescriptorList.hh>

Collaboration diagram for IMEditorDescriptorList:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 IMEditorDescriptorList ()
 ~IMEditorDescriptorList ()
void add (UTFCHAR *, int, char *, char *, int, char **, int)
int count () const
IMEditorDescriptorListoperator= (const IMEditorDescriptorList &)
IMEditorStructgetIME (unsigned int index) const
IMEditorStructgetFirstIME ()
IMEditorStructgetNextIME ()

Private Attributes

IMList< IMEditorStructime_list

Detailed Description

Definition at line 58 of file IMEditorDescriptorList.hh.


Constructor & Destructor Documentation

Definition at line 60 of file IMEditorDescriptorList.hh.

{}

Definition at line 44 of file IMEditorDescriptorList.cpp.

                                                {
}

Member Function Documentation

void IMEditorDescriptorList::add ( UTFCHAR name,
int  name_len,
char *  domain,
char *  leid,
int  id,
char **  locales,
int  count_locales 
)

Definition at line 66 of file IMEditorDescriptorList.cpp.

                                            {
  IMEditorStruct *ime = new IMEditorStruct;
  ime->name = name;
  ime->domain = domain;
  ime->name_length = name_len;
  ime->leid = leid;
  ime->id = id;
  ime->locales = locales;
  ime->count_locales = count_locales;
  ime_list.addItem(ime);
}

Here is the call graph for this function:

Definition at line 61 of file IMEditorDescriptorList.cpp.

                                    {
  return ime_list.getSize();
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 68 of file IMEditorDescriptorList.hh.

                                {
    return ime_list.getFirstItem();
  }

Here is the call graph for this function:

Here is the caller graph for this function:

IMEditorStruct& IMEditorDescriptorList::getIME ( unsigned int  index) const [inline]

Definition at line 65 of file IMEditorDescriptorList.hh.

                                                   {
    return ime_list.getItem(index);
  }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 71 of file IMEditorDescriptorList.hh.

                               {
    return ime_list.getNextItem();
  }

Here is the call graph for this function:

Here is the caller graph for this function:

IMEditorDescriptorList & IMEditorDescriptorList::operator= ( const IMEditorDescriptorList a)

Definition at line 48 of file IMEditorDescriptorList.cpp.

                                                                 {
  ime_list.destroy();
  int n = a.count();
  for (int i = 1; i <= n; i++) {
    IMEditorStruct ime = a.getIME(i);
    IMEditorStruct *ime_copy = new IMEditorStruct;
    *ime_copy = ime;
    ime_list.addItem(ime_copy);
  }
  return *this;
}

Here is the call graph for this function:


Member Data Documentation

Definition at line 75 of file IMEditorDescriptorList.hh.


The documentation for this class was generated from the following files: