Browse Subversion Repository
Contents of /common/AccessProperty.h
Parent Directory
| Revision Log
Revision 358 -
( show annotations)
( download)
( as text)
Tue Apr 15 22:27:04 2008 UTC
(16 years, 1 month ago)
by satofumi
File MIME type: text/x-chdr
File size: 688 byte(s)
erase comment.
| 1 |
#ifndef ACCESS_PROPERTY_H |
| 2 |
#define ACCESS_PROPERTY_H |
| 3 |
|
| 4 |
/*! |
| 5 |
\file |
| 6 |
\brief ŽŤîńĚÇÝoľĆĎX |
| 7 |
|
| 8 |
\author Satofumi KAMIMURA |
| 9 |
|
| 10 |
$Id$ |
| 11 |
*/ |
| 12 |
|
| 13 |
#include <memory> |
| 14 |
#include <string> |
| 15 |
|
| 16 |
|
| 17 |
namespace beego { |
| 18 |
class AccessProperty { |
| 19 |
AccessProperty(void); |
| 20 |
AccessProperty(const AccessProperty& rhs); |
| 21 |
AccessProperty& operator = (const AccessProperty& rhs); |
| 22 |
|
| 23 |
struct pImpl; |
| 24 |
const std::auto_ptr<pImpl> pimpl; |
| 25 |
|
| 26 |
public: |
| 27 |
AccessProperty(const char* fname); |
| 28 |
~AccessProperty(void); |
| 29 |
const char* what(void); |
| 30 |
|
| 31 |
std::string& operator[](const char* key) const; |
| 32 |
|
| 33 |
bool reload(void); |
| 34 |
bool save(void); |
| 35 |
bool isChangedByOther(void); |
| 36 |
}; |
| 37 |
}; |
| 38 |
|
| 39 |
#endif /*! ACCESS_PROPERTY_H */ |
|