Home You are here: Home > Support > Reference v1.0

Change language: German

XmAtomHandler Class Reference

List of all members.

Detailed Description

This class support the conversion between different formats of atomic data.

The default implementation of XmAtomHandler enable the format conversions between all exom supported atomic data types (see ATOM_TYPE). The available formats are described in XmData.

The need to derive from this class is given only, if you have to support your own type of atomic data. To enable the derivation to work, it have to be set by SetAtomHandler().


Static Public Member Functions

static bool AtomToAtom (XmAtom &dest, const XmAtom &src)
 Convert a given atom to another.
static bool AtomToString (XmString &dest, const XmAtom &src, const XmIOCondition &ioc=g_DisplayIOCondition)
 Convert a given atom to a string, considering the io conditions.
static bool StringToAtom (XmAtom &dest, const XmString &str, const XmIOCondition &ioc=g_DisplayIOCondition)
 Convert a given string to an stom, considering the io conditions.
static bool AtomToByte (XmDataBytes &dest, const XmAtom &src, const XmIOCondition &ioc=g_DisplayIOCondition)
 Convert a given atom to the given byte array.
static bool ByteToAtom (XmAtom &dest, const XmDataBytes &src, const XmIOCondition &ioc=g_DisplayIOCondition)
 Convert a given byte array to the given atom.

Protected Member Functions

Overridables
virtual bool ConvertAtomToAtom (XmAtom &dest, const XmAtom &src)
 Perform a conversion from an atom to another atom.
virtual bool ConvertAtomToString (XmString &dest, const XmAtom &src, const XmIOCondition &ioc)
 Perform a conversion from an atom to a string.
virtual bool ConvertStringToAtom (XmAtom &dest, const XmString &src, const XmIOCondition &ioc)
 Perform a conversion from a string to an atom.
virtual bool ConvertAtomToByteArray (XmDataBytes &dest, const XmAtom &src, const XmIOCondition &ioc)
 Perform a conversion from an atom to a byte array.
virtual bool ConvertByteArrayToAtom (XmAtom &dest, const XmDataBytes &src, const XmIOCondition &ioc)
 Perform a conversion from a byte array to an atom.

Copyright © 2006 Praetz Software Development - www.exomware.com