summaryrefslogtreecommitdiff
path: root/include/arguments.h
blob: 65476c366e15f085f77a87e28ec75b661c72eb62 (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
/**
 *  Arguments.h
 *
 *  When a function is invoked, it is passed a vector of arguments. This
 *  arguments class, that overrides from vector, takes care of that.
 *
 *  @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
 *  @copyright 2013 Copernica BV
 */

/**
 *  Set up namespace
 */
namespace PhpCpp {

/**
 *  Class definition
 */
class Arguments : public std::vector<Value>
{
public:
    /**
     *  Constructor
     *  @param  argc    The number of arguments
     */
    Arguments(int argc);
    
    /**
     *  Destructor
     */
    virtual ~Arguments() {}

};

/**
 *  End of namespace
 */
}