File Coverage

Variable.xsi
Criterion Covered Total %
statement 9 9 100.0
branch 11 22 50.0
condition n/a
subroutine n/a
pod n/a
total 20 31 64.5


line stmt bran cond sub pod time code
1             MODE: INLINE
2              
3             #include <xs.h>
4             #include <kiwi/kiwi.h>
5              
6             namespace xs {
7             template <>
8             struct Typemap<kiwi::Variable*> : TypemapObject<kiwi::Variable*, kiwi::Variable*, ObjectTypeRefcntPtr, ObjectStorageMG, StaticCast> {
9             static std::string package () { return "Intertangle::API::Kiwisolver::Variable"; }
10             };
11             }
12              
13             MODULE = Intertangle::API::Kiwisolver PACKAGE = Intertangle::API::Kiwisolver::Variable
14             PROTOTYPES: DISABLE
15              
16             kiwi::Variable* kiwi::Variable::new( std::string name = "" ) {
17 4994           RETVAL = new kiwi::Variable(name);
18 2497 50         }
19 2497 50          
    50          
    50          
20 27 50         std::string kiwi::Variable::name()
    50          
21              
22 513 50         void kiwi::Variable::setName( std::string name )
23              
24 784 50         double kiwi::Variable::value()
25              
26 8           void kiwi::Variable::setValue( double value )
27              
28 2 50         bool kiwi::Variable::equals( kiwi::Variable& other )
29              
30             BOOT {
31 8 50         Stash(__PACKAGE__, GV_ADD).mark_as_loaded(__MODULE__);
    50          
32             }