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

You Might Also Like
Deliver secure remote access with OpenVPN. Icon
Deliver secure remote access with OpenVPN.

Trusted by nearly 20,000 customers worldwide, and all major cloud providers.

OpenVPN's products provide scalable, secure remote access — giving complete freedom to your employees to work outside the office while securely accessing SaaS, the internet, and company resources.
Get started — no credit card required.
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