Package org.eclipse.cdt.core.dom.ast.tag
Interface IWritableTag
-
- All Superinterfaces:
ITag
public interface IWritableTag extends ITag
Tags are used to annotateITagWriter's with extra information. They are created by implementations ofIBindingTaggerwhich are contributed using the org.eclipse.cdt.core.tagger extension point.- Since:
- 5.5
- See Also:
IBindingTagger,ITagReader,ITagWriter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanputByte(int offset, byte data)Writes the given byte to the given offset in the tag.booleanputBytes(int offset, byte[] data, int len)Writes the argument buffer into the receiver's payload starting at the specified offset.-
Methods inherited from interface org.eclipse.cdt.core.dom.ast.tag.ITag
getByte, getBytes, getDataLen, getTaggerId
-
-
-
-
Method Detail
-
putByte
boolean putByte(int offset, byte data)Writes the given byte to the given offset in the tag. Returnstrueif successful.
-
putBytes
boolean putBytes(int offset, byte[] data, int len)Writes the argument buffer into the receiver's payload starting at the specified offset. Writes the specified number of bytes or the full buffer whenlenis -1. Returnstrueif successful.
-
-