BSONMatchableDocument.js 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. "use strict"
  2. // Autogenerated by cport.py on 2013-09-17 14:37
  3. var BSONMatchableDocument = module.exports = function (){
  4. }, klass = BSONMatchableDocument, base = Object , proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});
  5. // File: matchable.h lines: 49-49
  6. // BSONObj _obj;
  7. proto._obj = undefined;
  8. // File: matchable.h lines: 49-49
  9. // BSONObj _obj;
  10. proto._obj = undefined;
  11. /**
  12. *
  13. * This documentation was automatically generated. Please update when you touch this function.
  14. * @method BSONMatchableDocument
  15. * @param
  16. *
  17. */
  18. proto.BSONMatchableDocument = function BSONMatchableDocument( /* const BSONObj& obj */ ){
  19. // File: matchable.cpp lines: 28-29
  20. // BSONMatchableDocument::BSONMatchableDocument( const BSONObj& obj )
  21. // : _obj( obj ) {
  22. // }
  23. }
  24. /**
  25. *
  26. * This documentation was automatically generated. Please update when you touch this function.
  27. * @method getIterator
  28. * @param
  29. *
  30. */
  31. proto.getIterator = function getIterator( /* const ElementPath& path */ ){
  32. // File: matchable.h lines: 44-45
  33. // virtual ElementIterator* getIterator( const ElementPath& path ) const {
  34. // return new BSONElementIterator( path, _obj );
  35. // }
  36. }
  37. /**
  38. *
  39. * This documentation was automatically generated. Please update when you touch this function.
  40. * @method toBSON
  41. * @param
  42. *
  43. */
  44. proto.toBSON = function toBSON( /* */ ){
  45. // File: matchable.h lines: 42-41
  46. // virtual BSONObj toBSON() const { return _obj; }
  47. }
  48. /**
  49. *
  50. * This documentation was automatically generated. Please update when you touch this function.
  51. * @method ~BSONMatchableDocument
  52. * @param
  53. *
  54. */
  55. proto.~BSONMatchableDocument = function ~BSONMatchableDocument( /* */ ){
  56. // File: matchable.cpp lines: 32-32
  57. // BSONMatchableDocument::~BSONMatchableDocument() {
  58. // }
  59. }