Beyond the first simple program, user interface developers soon find that managing the relationships between on screen data elements can be tricky. It is usually helpful to de-couple the application data from the actual window controls, and the result will be a more elegant, easily maintainable design.

UIRepo is a small C++ class constructed using the Standard Template Library (STL). It uses the unordered_map class to store away mixed data items of type bool, int, double, string or wstring. Items are keyed by either int or string, which would normally be the identifiers of the related window controls (but of course any type of data could be stored). UIRepo should give faster data access than searching arrays or lists. It includes optional mutex locks for use in a multi-threaded environment.

Example multi-threaded implementations for wxWidgets and .NET are included in the download.

Features

  • In memory repository
  • Mixed types
  • Supports multi-threading

Project Activity

See All Activity >

License

Creative Commons Attribution License

Follow UIRepo++

UIRepo++ Web Site

Other Useful Business Software
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Try it free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of UIRepo++!

Additional Project Details

Intended Audience

Developers

Programming Language

C++

Related Categories

C++ Software Development Software, C++ User Interface (UI) Software, C++ Admin Templates

Registered

2012-06-08