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 Types

typedef std::vector< std::string > strings_t

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 const std::string & get_active_editor () const
virtual void get_editors (strings_t &setme) const
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)
virtual void set_active_editor (const StringView &)
virtual void set_editors (const strings_t &)

Private Types

typedef std::map< std::string,

Private Member Functions

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

Private Attributes

std::string active_editor
std::string active_profile
strings_t editors
profiles_t profiles

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

Generated by  Doxygen 1.6.0   Back to index