Stg::Option Class Reference

#include <option.hh>

List of all members.


Detailed Description

option.hh Class that encapsulates a boolean and pairs it with a string description Used to pass settings between the GUI and the drawing classes

Author: Jeremy Asher, Richard Vaughan SVN:

Id
option.hh 6825 2008-07-08 23:41:30Z jeremy_asher


Public Member Functions

void createMenuItem (Fl_Menu_Bar *menu, std::string path)
void invert ()
void Load (Worldfile *wf, int section)
void menuCallback (Fl_Callback *cb, Fl_Widget *w)
const std::string name () const
 operator bool ()
bool operator< (const Option &rhs) const
 Option (std::string n, std::string tok, std::string key, bool v)
void Save (Worldfile *wf, int section)
void set (bool val)
bool val () const

Static Public Member Functions

static void toggleCb (Fl_Widget *w, void *p)

Friends

bool compare (const Option *lhs, const Option *rhs)

Classes

struct  optComp

The documentation for this class was generated from the following files:
Generated on Wed Jul 30 11:36:06 2008 for Stage by  doxygen 1.4.7