Back to index

im-sdk  12.3.91
Classes | Typedefs | Functions
basictype.hh File Reference
#include <config.h>
#include <string>
#include <utility>
#include <functional>
#include <algorithm>
#include <string.h>
#include <stdlib.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Functor_strcmp
struct  Functor_deleteobject
struct  Functor_destroyobject
struct  UTFCHAR_char_traits
class  u16string

Typedefs

typedef CARD16BIT UTFCHAR

Functions

template<typename T >
void delete_all (T &x)
template<typename T >
void destroy_all (T &x)
bool operator< (const u16string &lhs, const u16string &rhs)
bool operator== (const u16string &lhs, const u16string &rhs)

Typedef Documentation

typedef CARD16BIT UTFCHAR

Definition at line 75 of file basictype.hh.


Function Documentation

template<typename T >
void delete_all ( T &  x)

Definition at line 43 of file basictype.hh.

{
    for_each(x.begin(), x.end(), Functor_deleteobject());
}

Here is the caller graph for this function:

template<typename T >
void destroy_all ( T &  x)

Definition at line 65 of file basictype.hh.

{
    for_each(x.begin(), x.end(), Functor_destroyobject());
}

Here is the caller graph for this function:

bool operator< ( const u16string lhs,
const u16string rhs 
) [inline]

Definition at line 240 of file basictype.hh.

{
  return (lhs.compare (rhs) < 0);
}

Here is the call graph for this function:

bool operator== ( const u16string lhs,
const u16string rhs 
) [inline]

Definition at line 249 of file basictype.hh.

{
  return (lhs.compare (rhs) == 0);
}

Here is the call graph for this function: