Yoba Perl
code.hpp
1 #ifndef YOBAPERL_CODE_HPP
2 #define YOBAPERL_CODE_HPP
3 
4 #include "yobaperl/common.hpp"
5 #include "yobaperl/variable.hpp"
6 
7 namespace yoba {
8 
9 
10 
15 class YOBAPERL_EXPORT Code : public Variable
16 {
17 public:
18 
19 
20 
25  Code(Perl & perl, CV * cv, bool increase_refcount);
26 
27 
28 
30 
35  std::string toString() const;
36 
43  Scalar makeRef() const;
44 
46 
47 
48 
50 
55  CV * getCV() const;
56 
58 
59 
60 
61 };
62 
63 
64 
65 } // namespace yoba
66 
67 #endif // YOBAPERL_CODE_HPP
Definition: array.cpp:5
Base class for perl variables.
Definition: variable.hpp:20
Main class.
Definition: perl.hpp:32
Subroutine reference
Definition: code.hpp:15
Scalar reference
Definition: scalar.hpp:24