mmSectionTree Class Reference

#include <mmoptionswrapper.h>

Collaboration diagram for mmSectionTree:
Collaboration graph
[legend]

Public Types

typedef std::vector
< mmOptionSection
SectionVector

Public Member Functions

 mmSectionTree ()
 ~mmSectionTree ()
void AddSection (const mmOptionSection &section)
mmOptionSection GetSection (const wxString &key)
void Clear ()

Protected Types

typedef std::map< wxString,
mmOptionSection
SectionMap
typedef wxFileConfig ConfigType

Protected Member Functions

void AddSection (const wxString &path, const mmOptionSection &section)
wxString FindParentpath (const wxString &parent_key)
bool FindRecursive (const wxString &parent_key, wxString &path)

Protected Attributes

SectionMap m_section_map
boost::shared_ptr< ConfigTypem_tree

Detailed Description

Todo:
needs deep copy

Definition at line 16 of file mmoptionswrapper.h.


Member Typedef Documentation

typedef wxFileConfig mmSectionTree::ConfigType [protected]

Definition at line 36 of file mmoptionswrapper.h.

typedef std::map< wxString, mmOptionSection > mmSectionTree::SectionMap [protected]

Definition at line 34 of file mmoptionswrapper.h.

Definition at line 26 of file mmoptionswrapper.h.


Constructor & Destructor Documentation

mmSectionTree::mmSectionTree (  ) 

Definition at line 617 of file mmoptionswrapper.cpp.

mmSectionTree::~mmSectionTree (  ) 

Definition at line 621 of file mmoptionswrapper.cpp.


Member Function Documentation

void mmSectionTree::AddSection ( const wxString path,
const mmOptionSection section 
) [protected]

Definition at line 630 of file mmoptionswrapper.cpp.

void mmSectionTree::AddSection ( const mmOptionSection section  ) 

Definition at line 678 of file mmoptionswrapper.cpp.

void mmSectionTree::Clear (  ) 

Definition at line 698 of file mmoptionswrapper.cpp.

wxString mmSectionTree::FindParentpath ( const wxString parent_key  )  [protected]

Definition at line 669 of file mmoptionswrapper.cpp.

bool mmSectionTree::FindRecursive ( const wxString parent_key,
wxString path 
) [protected]

Definition at line 639 of file mmoptionswrapper.cpp.

mmOptionSection mmSectionTree::GetSection ( const wxString key  ) 

Field Documentation

Definition at line 35 of file mmoptionswrapper.h.

boost::shared_ptr<ConfigType> mmSectionTree::m_tree [protected]

Definition at line 37 of file mmoptionswrapper.h.


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

Generated on Thu Dec 29 00:11:47 2011 for SpringLobby by doxygen 1.6.3