Logo Search packages:      
Sourcecode: pan version File versions  Download package

pan::ProfilesImpl Class Reference

#include <profiles.h>

Inheritance diagram for pan::ProfilesImpl:

pan::Profiles pan::DataImpl

List of all members.


Detailed Description

This private class should only be used by classes in the same module.

It's an implementation of the Profiles class.

Definition at line 40 of file profiles.h.


Public Member Functions

virtual void add_profile (const std::string &profile_name, const Profile &profile)
virtual void delete_profile (const std::string &profile_name)
virtual bool get_profile (const std::string &profile_name, Profile &setme) const
virtual std::set< std::string > get_profile_names () const
virtual bool has_from_header (const StringView &from) const
virtual bool has_profiles () const
 ProfilesImpl (DataIO &io)

Private Types

typedef std::map< std::string,
Profile
profiles_t

Private Member Functions

void clear ()
void load (const StringView &filename)
void save () const
void serialize (std::ostream &) const

Private Attributes

DataIO_data_io
std::string active_profile
profiles_t profiles

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

Generated by  Doxygen 1.6.0   Back to index