| 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 "Graphics::Layout::Kiwisolver::Variable"; } |
| 10 |
|
| }; |
| 11 |
|
| } |
| 12 |
|
| |
| 13 |
|
| MODULE = Graphics::Layout::Kiwisolver PACKAGE = Graphics::Layout::Kiwisolver::Variable |
| 14 |
|
| PROTOTYPES: DISABLE |
| 15 |
|
| |
| 16 |
|
| kiwi::Variable* kiwi::Variable::new( std::string name = "" ) { |
| 17 |
2497 |
| RETVAL = new kiwi::Variable(name); |
| 18 |
2497 |
▶ | } |
Branch: 1 branch
| Branch | True | False | Total |
| } |
2497 |
0 |
2497 |
|
| 19 |
2497 |
▶ | |
Branch: 5 branches
| Branch | True | False | Total |
|
2497 |
0 |
2497 |
|
2497 |
0 |
2497 |
|
2497 |
0 |
2497 |
|
2497 |
0 |
2497 |
|
0 |
0 |
0 |
|
| 20 |
27 |
▶ | std::string kiwi::Variable::name() |
Branch: 2 branches
| Branch | True | False | Total |
| std::string kiwi::Variable::name() |
27 |
0 |
27 |
| std::string kiwi::Variable::name() |
27 |
0 |
27 |
|
| 21 |
|
| |
| 22 |
513 |
▶ | void kiwi::Variable::setName( std::string name ) |
Branch: 1 branch
| Branch | True | False | Total |
| void kiwi::Variable::setName( std::string name ) |
513 |
0 |
513 |
|
| 23 |
|
| |
| 24 |
784 |
▶ | double kiwi::Variable::value() |
Branch: 1 branch
| Branch | True | False | Total |
| double kiwi::Variable::value() |
731 |
53 |
784 |
|
| 25 |
|
| |
| 26 |
8 |
| void kiwi::Variable::setValue( double value ) |
| 27 |
|
| |
| 28 |
2 |
▶ | bool kiwi::Variable::equals( kiwi::Variable& other ) |
Branch: 1 branch
| Branch | True | False | Total |
| bool kiwi::Variable::equals( kiwi::Variable& other ) |
1 |
1 |
2 |
|
| 29 |
|
| |
| 30 |
|
| BOOT { |
| 31 |
8 |
▶ | Stash(__PACKAGE__, GV_ADD).mark_as_loaded(__MODULE__); |
Branch: 2 branches
| Branch | True | False | Total |
| Stash(__PACKAGE__, GV_ADD).mark_as_loaded(__MODULE__); |
8 |
0 |
8 |
| Stash(__PACKAGE__, GV_ADD).mark_as_loaded(__MODULE__); |
8 |
0 |
8 |
|
| 32 |
|
| } |