GetSet  .9
A c++ library for load/saving typed and named properties and automatic GUI.
GetSetInternal Namespace Reference

A GetSet<double> with additional range information, so that it could be represented as a slider. More...

Classes

class  GetSetDataSlider
class  GetSetDataEnum
class  GetSetDataTrigger
class  GetSetDataStaticText
class  GetSetDataReadOnlyText
class  GetSetDataDirectory
class  GetSetDataFile
class  GetSetDataInterface
 Variant interface class. More...
class  GetSetData
 Templated Variant specialization. More...

Functions

template<typename T >
std::string getTypeName ()
 Get a c++ type name as string.
template<>
std::string getTypeName< bool > ()
template<>
std::string getTypeName< int > ()
template<>
std::string getTypeName< unsigned > ()
template<>
std::string getTypeName< float > ()
template<>
std::string getTypeName< double > ()
template<>
std::string getTypeName< std::string > ()
template<>
std::string getTypeName< std::vector< std::string > > ()
template<>
std::string getTypeName< std::vector< double > > ()
template<>
std::string getTypeName< std::vector< int > > ()

Detailed Description

A GetSet<double> with additional range information, so that it could be represented as a slider.

A file (or multiple semicolon seperated files if Multiple is set). Extensions is astring such as "Images (*.png *.xpm *.jpg);;All files (*)".

A directory.

An edit field, but read-only. Intended for output-values that the user can select and copy to clipboard but cannot change.

A static text with some information. StaticTexts are not included in ini-Files and are useful as seperators or user-info in GUI.

A button.

A pulldown menu with a number of choices (provided as a semicolon seperated list of strings)

Function Documentation

template<typename T >
std::string GetSetInternal::getTypeName ( )
inline

Get a c++ type name as string.

template<>
std::string GetSetInternal::getTypeName< bool > ( )
inline
template<>
std::string GetSetInternal::getTypeName< double > ( )
inline
template<>
std::string GetSetInternal::getTypeName< float > ( )
inline
template<>
std::string GetSetInternal::getTypeName< int > ( )
inline
template<>
std::string GetSetInternal::getTypeName< std::string > ( )
inline
template<>
std::string GetSetInternal::getTypeName< std::vector< double > > ( )
inline
template<>
std::string GetSetInternal::getTypeName< std::vector< int > > ( )
inline
template<>
std::string GetSetInternal::getTypeName< std::vector< std::string > > ( )
inline
template<>
std::string GetSetInternal::getTypeName< unsigned > ( )
inline