diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-21 13:51:56 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-21 13:51:56 +0000 |
| commit | ca4940622c05e50a50f77c621ade914029663446 (patch) | |
| tree | 2715d87c6b4faa669ae317f6f95d9694630cd4a0 /src/AuthConfigFactory.h | |
| parent | ae957baa98d4f97ea2437596db5073f9c33d22ae (diff) | |
2010-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Changed naming standards for class member variable: now it looks
like var_ instead of _var.
Diffstat (limited to 'src/AuthConfigFactory.h')
| -rw-r--r-- | src/AuthConfigFactory.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/AuthConfigFactory.h b/src/AuthConfigFactory.h index ea6dc711..f3221800 100644 --- a/src/AuthConfigFactory.h +++ b/src/AuthConfigFactory.h @@ -53,7 +53,7 @@ class AuthResolver; class AuthConfigFactory { private: - SharedHandle<Netrc> _netrc; + SharedHandle<Netrc> netrc_; SharedHandle<AuthConfig> createAuthConfig(const std::string& user, const std::string& password) const; @@ -64,11 +64,11 @@ private: public: class BasicCred { public: - std::string _user; - std::string _password; - std::string _host; - std::string _path; - bool _activated; + std::string user_; + std::string password_; + std::string host_; + std::string path_; + bool activated_; BasicCred(const std::string& user, const std::string& password, const std::string& host, const std::string& path, @@ -83,7 +83,7 @@ public: bool operator<(const BasicCred& cred) const; }; private: - std::deque<BasicCred> _basicCreds; + std::deque<BasicCred> basicCreds_; public: AuthConfigFactory(); @@ -109,13 +109,13 @@ public: (const std::string& host, const std::string& path, const Option* op); // Find a BasicCred using host and path and return the iterator - // pointing to it. If not found, then return _basicCreds.end(). + // pointing to it. If not found, then return basicCreds_.end(). std::deque<AuthConfigFactory::BasicCred>::iterator findBasicCred(const std::string& host, const std::string& path); // If the same BasicCred is already added, then it is replaced with // given basicCred. Otherwise, insert given basicCred to - // _basicCreds. + // basicCreds_. void updateBasicCred(const BasicCred& basicCred); static const std::string ANONYMOUS; |
