DDC::XS::Constants - XS interface to DDC C++ constants
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);
The DDC::XS::Constants module provides a perl interface to the DDC C++ constants.
perl(1), DDC::XS(3perl).
Bryan Jurish <moocow@cpan.org>
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.
To install DDC::XS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DDC::XS
CPAN shell
perl -MCPAN -e shell install DDC::XS
For more information on module installation, please visit the detailed CPAN module installation guide.