DDC::XS::CQueryOptions - XS interface to DDC C++ CQueryOptions objects
#---------------------------------------------------------------------- # DDC::XS::CQueryOptions : @ISA=qw(DDC::XS::Object); $CQueryOptions = DDC::XS::CQueryOptions->new(); undef $CQueryOptions; ##-- auto-magically freed # Accessors $size_t = $CQueryOptions->getContextSentencesCount(); undef = $CQueryOptions->setContextSentencesCount($ContextSentencesCount); $bool = $CQueryOptions->getEnableBibliography(); undef = $CQueryOptions->setEnableBibliography($bEnableBibliography); $bool = $CQueryOptions->getDebugRank(); undef = $CQueryOptions->setDebugRank($bDebugRank); $bool = $CQueryOptions->getSeparateHits(); undef = $CQueryOptions->setSeparateHits($bSeparateHits); $int = $CQueryOptions->getTextAreaNo(); undef = $CQueryOptions->setTextAreaNo($TextAreaNo); \@strings = $CQueryOptions->getWithin(); undef = $CQueryOptions->setWithin($Within); \@CQFilters = $CQueryOptions->getQFilters(); undef = $CQueryOptions->setQFilters(\@CQFilters); \@Subcopora = $CQueryOptions->getSubcorpora(); undef = $CQueryOptions->setSubcorpora(\@Subcorpora); \@Comments = $CQueryOptions->getComments(); undef = $CQueryOptions->setComments(\@Comments); \@LexerComments = $CQueryOptions->getLexerComments(); undef = $CQueryOptions->setLexerComments(\@LexerComments); # Methods undef = $CQueryOptions->swap($CQueryOptions2); undef = $CQueryOptions->Clear(); undef = $CQueryOptions->ClearComments(); $bool = $CQueryOptions->CanFilterByFile(); $string = $CQueryOptions->toString(); $string = $CQueryOptions->toJson();
The DDC::CQueryOptions class provides a perl interface to the DDC C++ CQueryOptions class. CQueryOptions objects may be created either manually or by a parsing a query-string with a DDC::XS::CQueryCompiler. See the caveats in DDC::XS::Object.
perl(1), DDC::XS(3perl), DDC::XS::Object(3perl), DDC::XS::CQueryCompiler(3perl), DDC::XS::CQueryFilter(3perl), DDC::XS::CQuery(3perl), DDC::XS::CQCount(3perl).
Bryan Jurish <moocow@cpan.org>
Copyright (C) 2015-2020 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.