| 1 | package TUI::Objects; | ||
| 2 | # ABSTRACT: Base objects for the TUI::Vision framework | ||
| 3 | |||
| 4 | 5 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 5 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 5 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 5 | our $VERSION = '2.000003'; | |
| 9 | 5 | $VERSION =~ tr/_//d; | |
| 10 | 5 | our $AUTHORITY = 'cpan:BRICKPOOL'; | |
| 11 | |||
| 12 | 5 | ▶ | use Import::Into; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 5 | ▶ | use TUI::Objects::Const; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 5 | ▶ | use TUI::Objects::Object; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 5 | ▶ | use TUI::Objects::Point; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 5 | ▶ | use TUI::Objects::Rect; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 5 | ▶ | use TUI::Objects::NSCollection; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 5 | ▶ | use TUI::Objects::NSSortedCollection; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 5 | ▶ | use TUI::Objects::Collection; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 5 | ▶ | use TUI::Objects::SortedCollection; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | 5 | ▶ | use TUI::Objects::StringCollection; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | 5 | ▶ | use TUI::Objects::Stream; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 24 | |||
| 25 | 6 | ▶ | sub import { |
|
Subroutine
import: called CC=1 SCAR=0.0
| |||
| 26 | 6 | my $target = caller; | |
| 27 | 6 | TUI::Objects::Const->import::into( $target, qw( :all ) ); | |
| 28 | 6 | TUI::Objects::Object->import::into( $target ); | |
| 29 | 6 | TUI::Objects::Point->import::into( $target ); | |
| 30 | 6 | TUI::Objects::Rect->import::into( $target ); | |
| 31 | 6 | TUI::Objects::NSCollection->import::into( $target ); | |
| 32 | 6 | TUI::Objects::NSSortedCollection->import::into( $target ); | |
| 33 | 6 | TUI::Objects::Collection->import::into( $target ); | |
| 34 | 6 | TUI::Objects::SortedCollection->import::into( $target ); | |
| 35 | 6 | TUI::Objects::StringCollection->import::into( $target ); | |
| 36 | 6 | TUI::Objects::Stream->import::into( $target ); | |
| 37 | } | ||
| 38 | |||
| 39 | 0 | ▶ | sub unimport { |
|
Subroutine
unimport: not called CC=1 SCAR=6.9
| |||
| 40 | 0 | my $caller = caller; | |
| 41 | 0 | TUI::Objects::Const->unimport::out_of( $caller ); | |
| 42 | 0 | TUI::Objects::Object->unimport::out_of( $caller ); | |
| 43 | 0 | TUI::Objects::Point->unimport::out_of( $caller ); | |
| 44 | 0 | TUI::Objects::Rect->unimport::out_of( $caller ); | |
| 45 | 0 | TUI::Objects::NSCollection->unimport::out_of( $caller ); | |
| 46 | 0 | TUI::Objects::NSSortedCollection->unimport::out_of( $caller ); | |
| 47 | 0 | TUI::Objects::Collection->unimport::out_of( $caller ); | |
| 48 | 0 | TUI::Objects::SortedCollection->unimport::out_of( $caller ); | |
| 49 | 0 | TUI::Objects::StringCollection->unimport::out_of( $caller ); | |
| 50 | 0 | TUI::Objects::Stream->unimport::out_of( $caller ); | |
| 51 | } | ||
| 52 | |||
| 53 | 5 | 1 | |
| 54 | |||
| 55 | __END__ | ||