Context.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. "use strict";
  2. // Autogenerated by cport.py on 2013-09-17 14:37
  3. var Context = module.exports = function (){
  4. }, klass = Context, base = Object, proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});
  5. // File: path.h lines: 62-62
  6. proto._arrayOffset = undefined;
  7. // File: path.h lines: 61-61
  8. proto._element = undefined;
  9. // File: path.h lines: 63-63
  10. proto._outerArray = undefined;
  11. /**
  12. *
  13. * Return the _arrayOffset property
  14. * @method arrayOffset
  15. *
  16. */
  17. proto.arrayOffset = function arrayOffset( ){
  18. // File: path.h lines: 57-56
  19. return this._arrayOffset;
  20. };
  21. /**
  22. *
  23. * Return the _element property
  24. * @method element
  25. *
  26. */
  27. proto.element = function element( ){
  28. // File: path.h lines: 56-55
  29. return this._element;
  30. };
  31. /**
  32. *
  33. * Return the _outerArray property
  34. * @method outerArray
  35. *
  36. */
  37. proto.outerArray = function outerArray( ){
  38. // File: path.h lines: 58-57
  39. return this._outerArray;
  40. };
  41. /**
  42. *
  43. * Set _element to a new empty object
  44. * @method reset
  45. *
  46. */
  47. proto.reset = function reset(){
  48. // File: path.cpp lines: 37-38
  49. this._element = {};
  50. };
  51. /**
  52. *
  53. * Set _arrayOffset property to the input element
  54. * @method setArrayOffset
  55. * @param e
  56. *
  57. */
  58. proto.setArrayOffset = function setArrayOffset(e){
  59. // File: path.h lines: 54-53
  60. this._arrayOffset = e;
  61. };