The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DDC::XS::Constants - XS interface to DDC C++ constants

SYNOPSIS

 use DDC::XS;
 # or
 use DDC::XS qw(:constants);
 
 ##---------------------------------------------------------------------
 ## Top-Level constants (not exported)
 
 $string = DDC::XS::library_version()
 
 ##---------------------------------------------------------------------
 ## ConcCommon.h: HitSortEnum (export-tag ":hitsort")

 # enum values are also available as $DDC::XS::HitSortEnum{NoSort}, etc.
 $i = DDC::XS::NoSort();
 $i = DDC::XS::LessByDate();
 $i = DDC::XS::GreaterByDate();
 $i = DDC::XS::LessBySize();
 $i = DDC::XS::GreaterBySize();
 $i = DDC::XS::LessByFreeBiblField();
 $i = DDC::XS::GreaterByFreeBiblField();
 $i = DDC::XS::LessByRank();
 $i = DDC::XS::GreaterByRank();
 $i = DDC::XS::LessByMiddleContext();
 $i = DDC::XS::GreaterByMiddleContext();
 $i = DDC::XS::LessByLeftContext();
 $i = DDC::XS::GreaterByLeftContext();
 $i = DDC::XS::LessByRightContext();
 $i = DDC::XS::GreaterByRightContext();
 $i = DDC::XS::RandomSort();
 $i = DDC::XS::LessByCountKey();
 $i = DDC::XS::GreaterByCountKey();
 $i = DDC::XS::LessByCountValue();
 $i = DDC::XS::GreaterByCountValue();
 $i = DDC::XS::HitSortsCount();

 # enum labels are also available as $DDC::XS::HitSortEnum[DDC::XS::NoSort], etc.
 $s = DDC::XS::HitSortEnumName($i);

 # enum keywords are also available as $DDC::XS::HitSortEnumStrings[DDC::XS::NoSort], etc.
 $s = DDC::XS::HitSortEnumString($i);

DESCRIPTION

The DDC::XS::Constants module provides a perl interface to the DDC C++ constants.

SEE ALSO

perl(1), DDC::XS(3perl).

AUTHOR

Bryan Jurish <moocow@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2014-2016 by Bryan Jurish

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.