devel/xtl 1.4.2 FreeBSD
Library for R/W structured data to/from an external representation
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- LGPL20+
- Categories
- devel
- Package size
- 20.8 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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/xtl | 1.4.2 |
| DragonFly | devel/xtl | 1.4.2 |
Install
Binary package:
pkg install xtl
From the ports tree:
cd /usr/ports/devel/xtl/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= xtl>0:devel/xtl
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.4.2 | 1.4.2 | 1.4.2 | 1.4.2 | 1.4.2 |
| FreeBSD:14:quarterly | 1.4.2 | 1.4.2 | n/a | 1.4.2 | 1.4.2 |
| FreeBSD:15:latest | 1.4.2 | 1.4.2 | n/a | 1.4.2 | 1.4.2 |
| FreeBSD:15:quarterly | 1.4.2 | 1.4.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.4.2 | 1.4.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
Message after installing
Files
pkg-plist 12
- include/xtl.h
- include/xtl/autobuf.h
- include/xtl/autoio.h
- include/xtl/config.h
- include/xtl/giop.h
- include/xtl/graphio.h
- include/xtl/iostrbuf.h
- include/xtl/macros.h
- include/xtl/objio.h
- include/xtl/text.h
- include/xtl/vobjio.h
- include/xtl/xdr.h
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| xtl-1.4.2.tar.gz | 50645 | df7f1f4c7ce1282524b9235d0cbf1b149ec0efe24bed8e6b2913f946ccb62270 |
Master sites 1
- SF/xtl/xtl/xtl-1.4.2
Commit history 0
No commits in the history this site was built from.