SPH
Public Member Functions | List of all members
VirtualSettings::IEntryProc Class Referenceabstract

Interface allowing to enumerate all entries in the settings. More...

#include <VirtualSettings.h>

Inheritance diagram for VirtualSettings::IEntryProc:
Polymorphic AddParamProc AddParamsProc CopyEntriesProc LoadProc LoadProc SaveProc SetAccessorsProc

Public Member Functions

virtual void onCategory (const std::string &name) const =0
 Called for every category in the settings. More...
 
virtual void onEntry (const std::string &key, IVirtualEntry &entry) const =0
 Called for every entry in the current category. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Interface allowing to enumerate all entries in the settings.

Definition at line 293 of file VirtualSettings.h.

Member Function Documentation

◆ onCategory()

virtual void VirtualSettings::IEntryProc::onCategory ( const std::string &  name) const
pure virtual

Called for every category in the settings.

Every subsequent call of onEntry corresponds to an entry belonging to this category.

Parameters
nameName of the category

Implemented in AddParamsProc.

◆ onEntry()

virtual void VirtualSettings::IEntryProc::onEntry ( const std::string &  key,
IVirtualEntry entry 
) const
pure virtual

Called for every entry in the current category.

Parameters
keyIdentifier of the entry
entryStored entry

Implemented in LoadProc, SaveProc, CopyEntriesProc, LoadProc, AddParamProc, and SetAccessorsProc.


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