wxOptionGroup Class Reference

Implementation for option group. More...

#include <wxOptionGroup.h>

Inheritance diagram for wxOptionGroup:

Inheritance graph
[legend]
Collaboration diagram for wxOptionGroup:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 wxOptionGroup (const wxString &name)
wxOptionGroupAdd (wxOptionGroup *group)
wxOptionGroupAdd (wxOption *option)
bool Save ()
wxOptionGroupGetParent () const
wxString GetName () const
bool HasGroups () const
const wxOptionGroups * GetGroups () const
bool HasOptions () const
const Options * GetOptions () const
 ~wxOptionGroup ()
void SetParent (wxOptionGroup *parent)

Private Member Functions

 wxOptionGroup ()

Private Attributes

wxString m_name
wxOptionGroupm_parent
wxOptionGroups m_optionGroups
Options m_options


Detailed Description

Implementation for option group.

wxOption groups are used to setup menus that can be traversed in the options dialog. It can either contain a set of option groups (which will be used to define a menu), or a set of options that will be used to define a set of options to be displayed

This class is not meant to be a base class.

Definition at line 54 of file wxOptionGroup.h.


Constructor & Destructor Documentation

wxOptionGroup::wxOptionGroup ( const wxString &  name  )  [inline]

Definition at line 57 of file wxOptionGroup.h.

wxOptionGroup::~wxOptionGroup (  )  [inline]

Definition at line 74 of file wxOptionGroup.h.

wxOptionGroup::wxOptionGroup (  )  [inline, private]

Definition at line 86 of file wxOptionGroup.h.


Member Function Documentation

wxOptionGroup * wxOptionGroup::Add ( wxOptionGroup group  ) 

Definition at line 41 of file wxOptionGroup.cpp.

wxOptionGroup * wxOptionGroup::Add ( wxOption option  ) 

Definition at line 54 of file wxOptionGroup.cpp.

bool wxOptionGroup::Save (  ) 

Definition at line 63 of file wxOptionGroup.cpp.

wxOptionGroup* wxOptionGroup::GetParent (  )  const [inline]

Definition at line 65 of file wxOptionGroup.h.

wxString wxOptionGroup::GetName (  )  const [inline]

Definition at line 66 of file wxOptionGroup.h.

bool wxOptionGroup::HasGroups (  )  const [inline]

Definition at line 68 of file wxOptionGroup.h.

const wxOptionGroups* wxOptionGroup::GetGroups (  )  const [inline]

Definition at line 69 of file wxOptionGroup.h.

bool wxOptionGroup::HasOptions (  )  const [inline]

Definition at line 71 of file wxOptionGroup.h.

const Options* wxOptionGroup::GetOptions (  )  const [inline]

Definition at line 72 of file wxOptionGroup.h.

void wxOptionGroup::SetParent ( wxOptionGroup parent  )  [inline]

Definition at line 79 of file wxOptionGroup.h.


Member Data Documentation

wxString wxOptionGroup::m_name [private]

Definition at line 86 of file wxOptionGroup.h.

Definition at line 89 of file wxOptionGroup.h.

wxOptionGroups wxOptionGroup::m_optionGroups [private]

Definition at line 91 of file wxOptionGroup.h.

Options wxOptionGroup::m_options [private]

Definition at line 92 of file wxOptionGroup.h.


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

Generated on Sun Jul 27 17:26:22 2008 for Roadnav by  doxygen 1.5.5