| 1 | package TUI::StdDlg::DirCollection; | ||
| 2 | # ABSTRACT: A collection of directory entries | ||
| 3 | |||
| 4 | 6 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 6 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 6 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 6 | our $VERSION = '2.000002'; | |
| 9 | 6 | $VERSION =~ tr/_//d; | |
| 10 | 6 | our $AUTHORITY = 'cpan:BRICKPOOL'; | |
| 11 | |||
| 12 | 6 | ▶ | use Exporter 'import'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 6 | our @EXPORT = qw( | |
| 14 | TDirCollection | ||
| 15 | new_TDirCollection | ||
| 16 | ); | ||
| 17 | |||
| 18 | 6 | ▶ | use TUI::toolkit; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | 6 | ▶ | use TUI::Objects::NSCollection; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 6 | ▶ | use TUI::Objects::Collection; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | sub TDirCollection() { __PACKAGE__ } | ||
| 24 | sub name() { 'TDirCollection' }; | ||
| 25 | 0 | ▶ | sub new_TDirCollection { __PACKAGE__->from(@_) } |
|
Subroutine
new_TDirCollection: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 26 | |||
| 27 | 6 | extends TCollection; | |
| 28 | |||
| 29 | 2 | ▶ | sub at { # $dirEntry|undef ($index) |
|
Subroutine
at: called CC=1 SCAR=0.0
Pod
documented
| |||
| 30 | 2 | goto &TUI::Objects::NSCollection::at; | |
| 31 | } | ||
| 32 | |||
| 33 | 3 | ▶ | sub indexOf { # $index ($item|undef) |
|
Subroutine
indexOf: called CC=1 SCAR=0.0
Pod
documented
| |||
| 34 | 3 | goto &TUI::Objects::NSCollection::indexOf; | |
| 35 | } | ||
| 36 | |||
| 37 | 1 | ▶ | sub remove { # void ($item) |
|
Subroutine
remove: called CC=1 SCAR=0.0
Pod
documented
| |||
| 38 | 1 | goto &TUI::Objects::NSCollection::remove; | |
| 39 | } | ||
| 40 | |||
| 41 | 0 | ▶ | sub free { # void ($item) |
|
Subroutine
free: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 42 | 0 | goto &TUI::Objects::NSCollection::free; | |
| 43 | } | ||
| 44 | |||
| 45 | 2 | ▶ | sub atInsert { # void ($index, $item|undef) |
|
Subroutine
atInsert: called CC=1 SCAR=0.0
Pod
documented
| |||
| 46 | 2 | goto &TUI::Objects::NSCollection::atInsert; | |
| 47 | } | ||
| 48 | |||
| 49 | 0 | ▶ | sub atPut { # void ($index, $item|undef) |
|
Subroutine
atPut: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 50 | 0 | goto &TUI::Objects::NSCollection::atInsert; | |
| 51 | } | ||
| 52 | |||
| 53 | 2 | ▶ | sub insert { # $index ($item|undef) |
|
Subroutine
insert: called CC=1 SCAR=0.0
Pod
documented
| |||
| 54 | 2 | goto &TUI::Objects::NSCollection::insert; | |
| 55 | } | ||
| 56 | |||
| 57 | 0 | ▶ | sub firstThat { # $dirEntry|undef (\&Test, $arg|undef) |
|
Subroutine
firstThat: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 58 | 0 | goto &TUI::Objects::NSCollection::firstThat; | |
| 59 | } | ||
| 60 | |||
| 61 | 0 | ▶ | sub lastThat { # $dirEntry|undef (\&Test, $arg|undef) |
|
Subroutine
lastThat: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 62 | 0 | goto &TUI::Objects::NSCollection::lastThat; | |
| 63 | } | ||
| 64 | |||
| 65 | 6 | 1 | |
| 66 | |||
| 67 | __END__ | ||