package com.nativelibs4java.mono.bridj;
import org.bridj.Pointer;
import org.bridj.StructObject;
import org.bridj.ann.Field;
import org.bridj.ann.Library;
/**
 * <i>native declaration : /Library/Frameworks/Mono.framework/Headers/mono-2.0/mono/metadata/reflection.h</i><br>
 * This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
 * a tool written by <a href="http://ochafik.com/">Olivier Chafik</a> that <a href="http://code.google.com/p/jnaerator/wiki/CreditsAndLicense">uses a few opensource projects.</a>.<br>
 * For help, please visit <a href="http://nativelibs4java.googlecode.com/">NativeLibs4Java</a> or <a href="http://bridj.googlecode.com/">BridJ</a> .
 */
@Library("mono") 
public class MonoDeclSecurityEntry extends StructObject {
	public MonoDeclSecurityEntry() {
		super();
	}
	public MonoDeclSecurityEntry(Pointer pointer) {
		super(pointer);
	}
	/**
	 * pointer to metadata blob<br>
	 * C type : char*
	 */
	@Field(0) 
	public Pointer<Byte > blob() {
		return this.io.getPointerField(this, 0);
	}
	/**
	 * pointer to metadata blob<br>
	 * C type : char*
	 */
	@Field(0) 
	public MonoDeclSecurityEntry blob(Pointer<Byte > blob) {
		this.io.setPointerField(this, 0, blob);
		return this;
	}
	/// size of the metadata blob
	@Field(1) 
	public int size() {
		return this.io.getIntField(this, 1);
	}
	/// size of the metadata blob
	@Field(1) 
	public MonoDeclSecurityEntry size(int size) {
		this.io.setIntField(this, 1, size);
		return this;
	}
	@Field(2) 
	public int index() {
		return this.io.getIntField(this, 2);
	}
	@Field(2) 
	public MonoDeclSecurityEntry index(int index) {
		this.io.setIntField(this, 2, index);
		return this;
	}
}
