BSD Ports

devel/xtl 1.4.2 DragonFly

Library for R/W structured data to/from an external representation

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
LGPL20+
Categories
devel
Package size
19.5 KiB, 83.1 KiB installed

Description

XTL is a library of template classes and functions for reading/writing structured data to/from an external (platform independent) representation. This process is also usually known as marshalling, serialization or pickling, and is useful both for heterogeneous network programming and portable persistent storage.

Currently, XTL supports XDR (Internet standard), GIOP CDR (CORBA standard) and readable ascii text (write-only) as data formats. Memory buffers and C++ iostreams are usable as data sources/targets. Besides the usual C data types (basic, structs, pointers, unions), the XTL also supports C++ constructs, such as pointers to base classes and template types, namely, STL containers.

XTL does not include any kind of IDL, and as such, the programmer is required to write a "filter" for each data type. The API is somewhat modeled on the original XDR library by Sun, in that the same filter is used for both reading and writing. However, heavy usage of templates makes the API simpler and type safe. Function inlining and careful avoidance of pointers or virtual functions, also make generated code faster.

In the other systems

SystemPortVersion
DragonFlydevel/xtl1.4.2
FreeBSDdevel/xtl1.4.2
HardenedBSDdevel/xtl1.4.2
GhostBSDdevel/xtl1.4.2

Install

Binary package:

pkg install xtl

From DPorts:

cd /usr/dports/devel/xtl && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

===>   NOTICE:

The xtl port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing