Sha256: 8cb85723406a001314001b8dbae56341da31ec998bf1b1ceb3d1ebbcc29f8124

Contents?: true

Size: 1.6 KB

Versions: 11

Compression:

Stored size: 1.6 KB

Contents

package Javonet::Sdk::Core::PerlCommandType;
use strict;
use warnings;
use Exporter;

our @ISA = qw(Exporter);
our @EXPORT = qw(get_command_type);

my %command_type = (
    'Value'                     => 0,
    'LoadLibrary'               => 1,
    'InvokeStaticMethod'        => 2,
    'GetStaticField'            => 3,
    'SetStaticField'            => 4,
    'CreateClassInstance'       => 5,
    'GetType'                   => 6,
    'Reference'                 => 7,
    'GetModule'                 => 8,
    'InvokeInstanceMethod'      => 9,
    'Exception'                 => 10,
    'HeartBeat'                 => 11,
    'Cast'                      => 12,
    'GetInstanceField'          => 13,
    'Optimize'                  => 14,
    'GenerateLib'               => 15,
    'InvokeGlobalMethod'        => 16,
    'DestructReference'         => 17,
    'Array'                     => 18,
    'ArrayGetItem'              => 19,
    'ArrayGetSize'              => 20,
    'ArrayGetRank'              => 21,
    'ArraySetItem'              => 22,
    'Array'                     => 23,
    'RetrieveArray'             => 24,
    'SetInstanceField'          => 25,
    'InvokeGenericStaticMethod' => 26,
    'InvokeGenericMethod'       => 27,
    'GetEnumItem'               => 28,
    'GetEnumName'               => 29,
    'GetEnumValue'              => 30,
    'AsRef'                     => 31,
    'AsOut'                     => 32,
    'GetRefValue'               => 33,



);

sub get_command_type {
    my $command = shift;
    return $command_type{$command};
}

1;

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
javonet-ruby-sdk-2.4.7 lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm
javonet-ruby-sdk-2.4.6 lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm
javonet-ruby-sdk-2.4.5 lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm
javonet-ruby-sdk-2.4.4 lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm
javonet-ruby-sdk-2.4.3 lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm
javonet-ruby-sdk-2.4.2 lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm
javonet-ruby-sdk-2.3.0 lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm
javonet-ruby-sdk-2.2.0 lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm
javonet-ruby-sdk-2.1.14 lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm
javonet-ruby-sdk-2.1.13 lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm
javonet-ruby-sdk-2.1.12 lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm