TagData.js 821 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. "use strict";
  2. // Autogenerated by cport.py on 2013-09-17 14:37
  3. var TagData = module.exports = function TagData (){
  4. }, klass = TagData, base = Object , proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});
  5. /**
  6. * debugString pure virtual.
  7. *
  8. * @method debugString
  9. *
  10. */
  11. proto.debugString = function debugString() {
  12. throw Error('Virtual function called.');
  13. };
  14. // Below this line is manually generated based on inferred info in the source.
  15. /**
  16. * resets the tag data.
  17. *
  18. *@method reset
  19. */
  20. proto.reset = function reset( data ) {
  21. this._data = data;
  22. };
  23. /**
  24. * Sets the data tag
  25. * @method set
  26. * @param data
  27. */
  28. proto.set = function set( data ) {
  29. this._data = data;
  30. };
  31. /**
  32. * Gets the data tag
  33. *
  34. * @method get
  35. *
  36. */
  37. proto.get = function get(){
  38. return this._data;
  39. };