Browse Source

ref #3253: Fill out TagData

Brennan Chesley 12 years ago
parent
commit
92406ec101
1 changed files with 37 additions and 10 deletions
  1. 37 10
      lib/pipeline/matcher/TagData.js

+ 37 - 10
lib/pipeline/matcher/TagData.js

@@ -1,9 +1,9 @@
-"use strict"
+"use strict";
 
 
 
 // Autogenerated by cport.py on 2013-09-17 14:37
-var TagData = module.exports = function (){
+var TagData = module.exports = function TagData (){
 
 }, klass = TagData, base =  Object  , proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});
 
@@ -12,17 +12,44 @@ var TagData = module.exports = function (){
 
 
 /**
- * 
- * This documentation was automatically generated. Please update when you touch this function.
- * @method ~TagData
- * @param
+ * debugString pure virtual.
+ *
+ * @method debugString
  *
  */
-proto.~TagData = function ~TagData( /*  */ ){
-// File: expression.h lines: 151-150
-//             virtual ~TagData() { }
+proto.debugString = function debugString() {
+	throw Error('Virtual function called.');
+};
 
+// Below this line is manually generated based on inferred info in the source.
 
+/**
+ * resets the tag data.
+ *
+ *@method reset
+ */
+proto.reset = function reset( data ) {
+	this._data = data;
+};
+
+/**
+ * Sets the data tag
+ * @method set
+ * @param data
+ */
+proto.set = function set( data ) {
+	this._data = data;
+};
 
 
-}
+
+/**
+ * Gets the data tag
+ *
+ * @method get
+ *
+ */
+proto.get = function get(){
+	return this._data;
+};
+