SingleElementElementIterator.js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. "use strict"
  2. // Autogenerated by cport.py on 2013-09-17 14:37
  3. var SingleElementElementIterator = module.exports = function (){
  4. }, klass = SingleElementElementIterator, base = Object , proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});
  5. // File: path.h lines: 88-88
  6. // ElementIterator::Context _element;
  7. proto._element = undefined;
  8. // File: path.h lines: 87-87
  9. // bool _seen;
  10. proto._seen = undefined;
  11. // File: path.h lines: 88-88
  12. // ElementIterator::Context _element;
  13. proto._element = undefined;
  14. // File: path.h lines: 87-87
  15. // bool _seen;
  16. proto._seen = undefined;
  17. /**
  18. *
  19. * This documentation was automatically generated. Please update when you touch this function.
  20. * @method SingleElementElementIterator
  21. * @param
  22. *
  23. */
  24. proto.SingleElementElementIterator = function SingleElementElementIterator( /* BSONElement e */ ){
  25. // File: path.h lines: 77-79
  26. // explicit SingleElementElementIterator( BSONElement e )
  27. // : _seen( false ) {
  28. // _element.reset( e, BSONElement(), false );
  29. // }
  30. }
  31. /**
  32. *
  33. * This documentation was automatically generated. Please update when you touch this function.
  34. * @method more
  35. * @param
  36. *
  37. */
  38. proto.more = function more( /* */ ){
  39. // File: path.h lines: 83-82
  40. // virtual bool more() { return !_seen; }
  41. }
  42. /**
  43. *
  44. * This documentation was automatically generated. Please update when you touch this function.
  45. * @method next
  46. * @param
  47. *
  48. */
  49. proto.next = function next( /* */ ){
  50. // File: path.h lines: 84-83
  51. // virtual Context next() { _seen = true; return _element; }
  52. }
  53. /**
  54. *
  55. * This documentation was automatically generated. Please update when you touch this function.
  56. * @method ~SingleElementElementIterator
  57. * @param
  58. *
  59. */
  60. proto.~SingleElementElementIterator = function ~SingleElementElementIterator( /* */ ){
  61. // File: path.h lines: 81-80
  62. // virtual ~SingleElementElementIterator(){}
  63. }