Objective Systems, Inc.  
Home
About ASN.1
Products
Free Software
Documents
Services
Resources
Resellers
Customers
Careers
About Us
Contact Us
 

Google


Objective Systems, Inc.

C/C++ Common and XML Runtime Classes and Library Functions

Version 1.0.0

The XBinder C++ run-time classes are wrapper classes that provide an object-oriented interface to the XBinder C run-time library functions. The categories of classes provided are as follows:
  • Context management classes manage the context structure (OSCTXT) used to keep track of the working variables required to encode or decode XML messages.
  • Message buffer classes are used to manage message buffers for encoding or decoding XML messages.
  • XSD type base classes are used as the base for compiler- generated C++ data structures.
  • Stream classes are used to read and write messages to and from files, sockets, and memory buffers.
  • TCP/IP or UDP socket classes provide utility methods for doing socket I/O.
  • Exception classes define exceptions that can be thrown from the C++ runtime classes.

The C run-time common library contains common C functions used by the XML low-level encode/decode functions. These functions are identified by their rtx prefixes.

The categories of functions provided are as follows:

  • Context management functions handle the allocation, initialization, and destruction of context variables (variables of type OSCTXT) that handle the working data used during the encoding or decoding of a message.
  • Diagnostic trace functions allow the output of trace messages to standard output.
  • Error formatting and print functions allow information about encode/decode errors to be added to a context block structure and printed out.
  • Memory allocation macros and functions provide an optimized memory management interface.
  • Memory buffer management functions handle the allocation, expansion, and de-allocation of dynamic memory buffers used by some encode/decode functions.
  • Doubly linked list (DList) functions are used to manipulate linked list structures that are used to model repeating XSD types and elements.
  • Formatted print functions allow binary data to be formatted and printed to standard output and other output devices.
  • UTF-8 and Unicode character string functions provide support for these string types within C or C++.
  • Pattern matching function compare string against patterns specified using regular expressions (regexp's).
  • Big Integer helper functions are arbitrary-precision integer manipulating functions used to maintain big integers.

This file was last modified on 1 Jun 2004.
XBinder, Version 1.0.0