The clanCore library is the base library used by all other ClanLib libraries. It provides a basic framework with common functionality needed by almost all types of applications.
Platform abstraction
General utility classes
Thread run-loop
Signals and callbacks
-
clan::Signal_v0, clan::Signal_v1, clan::Signal_v2, clan::Signal_v3, clan::Signal_v4, clan::Signal_v5, clan::Signal_v6
-
clan::Slot, clan::SlotContainer
-
clan::Callback_v0, clan::Callback_v1, clan::Callback_v2, clan::Callback_v3, clan::Callback_v4, clan::Callback_v5, clan::Callback_v6
-
clan::Callback_0, clan::Callback_1, clan::Callback_2, clan::Callback_3, clan::Callback_4, clan::Callback_5, clan::Callback_6
Math
-
clan::VecXx (clan::Vec4i, clan::Vec3f, clan::Vec2ub, etc) - Vector templates for 2D, 3D and 4D
-
clan::HalfFloat, clan::VecXhf - Half-float converters
-
clan::MatXx (clan::Mat4f, clan::Mat3f, etc) - Matrix templates
-
clan::Quaternionf, clan::Quaterniond - Quaternion rotation/orientation classes
-
clan::Rect, clan::Rectf, clan::Rectd - 2D (left,top,right,bottom) rectangle structure
-
clan::Point, clan::Pointf, clan::Pointd - 2D (x,y) point structure
-
clan::Size, clan::Sizef, clan::Sized - 2D (width,height) size structure
Text
All strings are assumed to be UTF-8, unless otherwise specified. std::string is used as the main string class.
XML
JSON
The clan::JsonValue class allows you to parse or generate JSON strings.
I/O devices
File systems
Zip files
Resource management
Crypto
Error reporting