blob: e660f76fdef6e477863ed254d802c83b700d3ccc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
/**
* Protected.h
*
* Class for adding public properties to a class
*
* @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
* @copyright 2013 Copernica BV
*/
/**
* Namespace
*/
namespace Php {
/**
* Class definition
*/
class Protected : public Member
{
public:
/**
* Constructor
* @param name Name of the property
* @param value Default value of the property
*/
Protected(const char *name, const Value &value) : Member(name, false, value) {}
/**
* Destructor
*/
virtual ~Protected() {}
};
/**
* End of namespace
*/
}
|