NorMatchExpression.js 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. "use strict"
  2. // Autogenerated by cport.py on 2013-09-17 14:37
  3. var NorMatchExpression = module.exports = function (){
  4. }, klass = NorMatchExpression, base = Object , proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});
  5. /**
  6. *
  7. * This documentation was automatically generated. Please update when you touch this function.
  8. * @method NorMatchExpression
  9. * @param
  10. *
  11. */
  12. proto.NorMatchExpression = function NorMatchExpression( /* NOR */ ){
  13. // File: expression_tree.h lines: 99-98
  14. // NorMatchExpression() : ListOfMatchExpression( NOR ){}
  15. }
  16. /**
  17. *
  18. * This documentation was automatically generated. Please update when you touch this function.
  19. * @method debugString
  20. * @param
  21. *
  22. */
  23. proto.debugString = function debugString( /* StringBuilder& debug, int level */ ){
  24. // File: expression_tree.cpp lines: 138-141
  25. // void NorMatchExpression::debugString( StringBuilder& debug, int level ) const {
  26. // _debugAddSpace( debug, level );
  27. // debug << "$nor\n";
  28. // _debugList( debug, level );
  29. // }
  30. }
  31. /**
  32. *
  33. * This documentation was automatically generated. Please update when you touch this function.
  34. * @method matches
  35. * @param
  36. *
  37. */
  38. proto.matches = function matches( /* const MatchableDocument* doc, MatchDetails* details */ ){
  39. // File: expression_tree.cpp lines: 120-126
  40. // bool NorMatchExpression::matches( const MatchableDocument* doc, MatchDetails* details ) const {
  41. // for ( size_t i = 0; i < numChildren(); i++ ) {
  42. // if ( getChild(i)->matches( doc, NULL ) ) {
  43. // return false;
  44. // }
  45. // }
  46. // return true;
  47. // }
  48. }
  49. /**
  50. *
  51. * This documentation was automatically generated. Please update when you touch this function.
  52. * @method matchesSingleElement
  53. * @param
  54. *
  55. */
  56. proto.matchesSingleElement = function matchesSingleElement( /* const BSONElement& e */ ){
  57. // File: expression_tree.cpp lines: 129-135
  58. // bool NorMatchExpression::matchesSingleElement( const BSONElement& e ) const {
  59. // for ( size_t i = 0; i < numChildren(); i++ ) {
  60. // if ( getChild(i)->matchesSingleElement( e ) ) {
  61. // return false;
  62. // }
  63. // }
  64. // return true;
  65. // }
  66. }
  67. /**
  68. *
  69. * This documentation was automatically generated. Please update when you touch this function.
  70. * @method shallowClone
  71. * @param
  72. *
  73. */
  74. proto.shallowClone = function shallowClone( /* */ ){
  75. // File: expression_tree.h lines: 105-110
  76. // virtual MatchExpression* shallowClone() const {
  77. // NorMatchExpression* self = new NorMatchExpression();
  78. // for (size_t i = 0; i < numChildren(); ++i) {
  79. // self->add(getChild(i)->shallowClone());
  80. // }
  81. // return self;
  82. // }
  83. }
  84. /**
  85. *
  86. * This documentation was automatically generated. Please update when you touch this function.
  87. * @method ~NorMatchExpression
  88. * @param
  89. *
  90. */
  91. proto.~NorMatchExpression = function ~NorMatchExpression( /* */ ){
  92. // File: expression_tree.h lines: 100-99
  93. // virtual ~NorMatchExpression(){}
  94. }