2024年5月28日发(作者:)

Poco入门介绍

库简介

官方网站: /

POCO C++库是开源的用于简化和加速C++开发面向网络、可移植应用程序的C++库集,

POCO库和C++标准库可以很好的集成并填补了C++标准库缺乏的功能空隙。POCO库的模块

化、高效的设计及实现使得POCO特别适合嵌入式开发。

核心库是: Foundation, XML, Util 和 Net. 附加库中其中2个是NetSSL和Data,NetSSL

为Net库中的网络类提供SSL支持, Data库提供访问不同SQL数据库的一致性接口

支持的平台:

Microsoft Windows

Linux

Mac OS X

HP-UX,Solaris,AIX*

Embedded Linux(UcLibc,glibc)

iOS

Winodows Embedded CE

QNX

1

2.常用功能点

> Any and DynamicAny classes

> Cache framework

> Cryptography (cryptographic hashes, encryption based on OpenSSL)

> Date and Time classes

> Events (signal/slot mechanism) and notifications framework

> FTP client for transferring files

> Filesystem classes for platform-independent path manipulation,directory listing and globing

> HTML form handling

> HTTP server and client (also secure), C++ Server Page Compiler

> Logging framework

> Multithreading: basic threads and synchronization and advanced facilities (thread pool, active

objects, work queues, etc.)

> POP3 client for receiving mail

> Platform Abstraction: write once, compile and run on multiple platforms

> Processes and IPC

> Reactor framework

> Regular expressions (based on PCRE)

> SMTP client for sending mail

> SQL database access (SQLite, MySQL, ODBC)

> SSL/TLS support based on OpenSSL

> Shared library and class loading

> Smart pointers and memory management (buffer, pool)

> Sockets and raw sockets

> Stream classes for Base64 and HexBinary encoding/decoding, compression (zlib), line ending

conversion, reading/writing to

memory, etc

> String formatting and string utilities

> TCP server framework (multithreaded)

> Text encodings and conversions

> Tuples

> URI handling

> UTF-8 and Unicode support

> UUID handling and generation

> XML parsing (SAX2 and DOM) and XML generation

> Zip file manipulation

2