GetSet  .9
A c++ library for load/saving typed and named properties and automatic GUI.
GetSetGui::File Class Reference

#include <GetSet.hxx>

Inheritance diagram for GetSetGui::File:
GetSet< std::string >

Public Member Functions

 File (GetSetDictionary &d, const std::string &s, const std::string k)
 File (const std::string &s, const std::string k)
void operator= (const std::string &v)
 Set the value of a GetSet property directly via assignment operator.
 operator std::string () const
 Cast operator directly to BasicType (behaves almost like a c++ variable of BasicType)
void setExtensions (const std::string &value)
std::string getExtensions () const
void setCreateNew (const bool &value)
bool getCreateNew () const
void setMultiple (const bool &value)
bool getMultiple () const
- Public Member Functions inherited from GetSet< std::string >
 GetSet (GetSetDictionary &d, const std::string &s, const std::string k)
 GetSet (const std::string &s, const std::string k)
std::string getString () const
 Get the value of the property as string.
void setString (const std::string &value)
 Set the value of this property from a string.

Protected Member Functions

void forceType ()
- Protected Member Functions inherited from GetSet< std::string >
 GetSet (GetSetDictionary &d)
void create ()

Additional Inherited Members

- Protected Attributes inherited from GetSet< std::string >
std::string section
std::string key
GetSetDictionarydict

Constructor & Destructor Documentation

GetSetGui::File::File ( GetSetDictionary d,
const std::string &  s,
const std::string  k 
)
inline
GetSetGui::File::File ( const std::string &  s,
const std::string  k 
)
inline

Member Function Documentation

void GetSetGui::File::forceType ( )
inlineprotected
bool GetSetGui::File::getCreateNew ( ) const
inline
std::string GetSetGui::File::getExtensions ( ) const
inline
bool GetSetGui::File::getMultiple ( ) const
inline
GetSetGui::File::operator std::string ( ) const
inline

Cast operator directly to BasicType (behaves almost like a c++ variable of BasicType)

Reimplemented from GetSet< std::string >.

void GetSetGui::File::operator= ( const std::string &  v)
inline

Set the value of a GetSet property directly via assignment operator.

Reimplemented from GetSet< std::string >.

void GetSetGui::File::setCreateNew ( const bool &  value)
inline
void GetSetGui::File::setExtensions ( const std::string &  value)
inline
void GetSetGui::File::setMultiple ( const bool &  value)
inline

The documentation for this class was generated from the following file: