LibGetSet Icon

LibGetSet

A templated C++ library to load, tweak and store typed parameters.

Add a Review
3 Downloads (This Week)
Last Update:
Download GetSet2.5.0_win64_msvc2013_qt56.zip
Browse All Files

Screenshots

Description

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;

LibGetSet Web Site

Features

  • 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...

KEEP ME UPDATED

Write a Review

User Reviews

Be the first to post a review of LibGetSet!

Additional Project Details

Intended Audience

Developers

User Interface

Qt

Programming Language

C++

Registered

2012-06-27

Thanks for helping keep SourceForge clean.

Screenshot instructions:
Windows
Mac
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies
X

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks