GetSet is a simple templated C++ library, which allows its users to focus on algorithm development by allowing retrieval, tuning and storage of typed parameters.

Optionally, GetSet can automatically generate a simple GUI for command line application. Notification works over a simple call-back mechanism.

GetSet is intended for small-sized projects, for example in the sciences, in algorithm development and for small tools. It is also able to generate GUI descriptions for existing command line tools.

Its simplicity is best illustrated in an example:

// Get
double step=GetSet<double>("Optimizer/Step Size");
// Set
GetSet<int>("Optimizer/Max. Iterations")=123;

// GetSet also works with more complex types
std::vector<int> labels=GetSet<std::vector<int> >("Segmentation/Labels");

// All types can be set and retrieved via std::string
GetSet<>("Debug/Run Tests")="true";
// Or values/variables of the right type
GetSet<bool>("Debug/Run Examples")=false;


  • Ini-file loading and saving
  • Automatic GUI for command line tools (Optional)
  • For Header-Only: no need to link to anything!
  • For Qt-based: simple call-back mechanism for advanced GUI
  • XML support for typed parameters
  • GUI generation by XML description
  • Configuring parameters for executables that run remotely
  • Support for basic C-types (bool, int, float etc.), std::string and std::vector<T>
  • Additional GUI elements Slider, File, Enum etc...

Project Samples

Project Activity

See All Activity >

Follow LibGetSet

LibGetSet Web Site

Other Useful Business Software

Identify and respond to threats before damage is done Identify and respond to threats before damage is done Icon
Identify and respond to threats before damage is done Icon

A SIEM that makes it easy to use logs for security, compliance, and troubleshooting.

SolarWinds® Log & Event Manager (LEM) delivers comprehensive Security Information and Event Management (SIEM) capabilities in a highly affordable, easy-to-use, and quick-to-deploy virtual appliance. LEM provides the visibility, security, and control that IT professionals need to alert on and respond to security threats, and assist in meeting the regulatory compliance guidelines of HIPAA, PCI DSS, SOX, and more. Try it free for 30 days!

Rate This Project

Login To Rate This Project

User Reviews

Be the first to post a review of LibGetSet!

Additional Project Details

Intended Audience


User Interface


Programming Language