|
Pol
Revision:cb584c9
|
#include <strset.h>
Public Types | |
| typedef std::set< std::string >::const_iterator | const_iterator |
| typedef std::set< std::string >::iterator | iterator |
Public Member Functions | |
| void | add (const char *str) |
| iterator | begin () |
| const_iterator | begin () const |
| bool | contains (const char *str) const |
| bool | empty () const |
| iterator | end () |
| const_iterator | end () const |
| size_t | estimatedSize () const |
| std::string | extract () const |
| void | readfrom (const std::string &str) |
| void | remove (const char *str) |
Private Attributes | |
| std::set< std::string > | strings_ |
| typedef std::set<std::string>::const_iterator Pol::Clib::StringSet::const_iterator |
| typedef std::set<std::string>::iterator Pol::Clib::StringSet::iterator |
| void Pol::Clib::StringSet::add | ( | const char * | str | ) |
Definition at line 19 of file strset.cpp.
References strings_.
Referenced by Pol::Mobile::Character::grant_privilege(), and Pol::Mobile::Character::set_setting().
| StringSet::iterator Pol::Clib::StringSet::begin | ( | ) |
Definition at line 57 of file strset.cpp.
References strings_.
| StringSet::const_iterator Pol::Clib::StringSet::begin | ( | ) | const |
Definition at line 67 of file strset.cpp.
References strings_.
| bool Pol::Clib::StringSet::contains | ( | const char * | str | ) | const |
Definition at line 14 of file strset.cpp.
References strings_.
Referenced by Pol::Mobile::Character::grant_privilege(), Pol::Mobile::Character::has_privilege(), and Pol::Mobile::Character::setting_enabled().
| bool Pol::Clib::StringSet::empty | ( | ) | const |
Definition at line 28 of file strset.cpp.
References strings_.
Referenced by Pol::Mobile::Character::printProperties(), and Pol::Accounts::Account::writeto().
| StringSet::iterator Pol::Clib::StringSet::end | ( | ) |
Definition at line 62 of file strset.cpp.
References strings_.
| StringSet::const_iterator Pol::Clib::StringSet::end | ( | ) | const |
Definition at line 72 of file strset.cpp.
References strings_.
| size_t Pol::Clib::StringSet::estimatedSize | ( | ) | const |
Definition at line 77 of file strset.cpp.
References strings_.
Referenced by Pol::Accounts::Account::estimatedSize(), and Pol::Mobile::Character::estimatedSize().
| std::string Pol::Clib::StringSet::extract | ( | ) | const |
Definition at line 46 of file strset.cpp.
References strings_.
Referenced by Pol::Mobile::Character::all_privs(), Pol::Mobile::Character::all_settings(), Pol::Accounts::Account::default_privlist(), Pol::Mobile::Character::printProperties(), and Pol::Accounts::Account::writeto().
| void Pol::Clib::StringSet::readfrom | ( | const std::string & | str | ) |
Definition at line 33 of file strset.cpp.
References ISTRINGSTREAM, and strings_.
Referenced by Pol::Mobile::Character::readCommonProperties(), Pol::Accounts::Account::readfrom(), and Pol::Mobile::Character::set_privs().
| void Pol::Clib::StringSet::remove | ( | const char * | str | ) |
Definition at line 23 of file strset.cpp.
References strings_.
Referenced by Pol::Mobile::Character::revoke_privilege(), and Pol::Mobile::Character::set_setting().
|
private |
Definition at line 40 of file strset.h.
Referenced by add(), begin(), contains(), empty(), end(), estimatedSize(), extract(), readfrom(), and remove().