Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Version 4 (modified by landauf, 16 years ago) (diff)

Util

TracNav(TracNav/TOC_Documentation)?

Description

The Util library contains several functions, classes and templates? that can be used in different parts of the orxonox-code. They provide functionalities for mathematical use, string manipulation, typeconversion, multi-types, functors and executors and many more.

Additionally it contains the TinyXML?-library that provides many easy-to-use utilities to read and write xml-files plus the extension TinyXML++ which implements wrappers for TinyXML? that are more STL?-like (iterators, error handling, …).

Util features

Name Description
Convert? A generic template? to convert values of one type to another type
Executor Uses a Functor to execute functions with several features
Functor Encapsules a function pointer with parameters and a return value
Math Defines several mathematical functions
MultiType Defines an enum that denotes the type of a value
MultiTypeMath? Extension of MultiTypeString? with mathematical classes
MultiTypePrimitive? A class that can encapsulate every primitive value
MultiTypeString? Extension of MultiTypePrimitive? with strings
String Defines several string-functions
SubString Splits a string up into a set of substrings
TinyXML? An external library to read and write xml-files