Previous section   Next section

C++

Access Caché from C++ programs.

Background Information

C++ is a commonly used programming language.

Available Tools

Caché C++ bindings
Enable you to access Caché objects from within a C++ application. InterSystems provides several bindings:
  • Caché C++ binding — Lets C++ applications work with objects on a Caché server. The Caché Class Generator can create a C++ proxy class for any Caché class. Proxy classes contain standard C++ code that can be compiled and used within your C++ application, providing access to the properties and methods of the corresponding Caché class.
    The C++ binding offers complete support for object database persistence, including concurrency and transaction control. In addition, there is a sophisticated data caching scheme to minimize network traffic when the Caché server and C++ applications are located on separate machines.
  • Dynamic binding — Instead of using compiled C++ proxy classes, you can work with Caché classes dynamically, at runtime. This can be useful for writing applications or tools that deal with classes in general and do not depend on particular Caché classes.
  • Light binding — The Light C++ binding is a limited subset of the Caché C++ library intended primarily for loading simple data at very high speed. It combines your C++ application and the Caché Object Server into a single process, using intraprocess communications rather than TCP/IP to exchange data between them. For basic object manipulation, it is ten to twenty times faster than the standard C++ binding.
For maximum flexibility, applications can use the Caché ODBC driver and the Caché C++ binding at the same time.
Availability: All namespaces.

See Also

Previous section   Next section