package netsdk.struct;

import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.List;

import com.sun.jna.Pointer;
import com.sun.jna.Structure;

public class NET_SDK_ST_SRECOGNIZEDFILTER extends Structure {
	public NET_SDK_ST_SRECOGNIZEDFILTER(Pointer p) {
		super(p,ALIGN_NONE);
		useMemory(p);
		read();
	}
	public NET_SDK_ST_SRECOGNIZEDFILTER() {
		super(ALIGN_NONE);
	}

	public static class ByReference extends NET_SDK_ST_SRECOGNIZEDFILTER implements Structure.ByReference {
	}

	public static class ByValue extends NET_SDK_ST_SRECOGNIZEDFILTER implements Structure.ByValue {
	}

	public int     isContainRecognized; //0 or 1
	public int     isContainNotRecognized; //0 or 1
	public int     groupsId;				//GROUP Id

	@Override
	protected List<String> getFieldOrder() {
		List<Field> flist = getFieldList();
		List<String> list = new ArrayList<>(flist.size());
		for (Field f : flist) {
		    list.add(f.getName());
		}
		return list;
	}
}