|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSFE.BOAL.IO
public class IO
IO An IO object describes an interaction with Alice or Bob for input/output.
Constructor Summary | |
---|---|
IO(boolean is_alice)
Constructor for class IO |
Method Summary | |
---|---|
void |
addLinenum(int line_num)
addLinenum: add a line-number for the list of gate-wires that this IO object is responsible for. |
int |
getLinenum(int index)
getLinenum: get the line number of gate wire at the specified index. |
int |
getNLines()
getNLines: get the number of lines specified for this IO. |
java.lang.String |
getPrefix()
getPrefix: get the prefix string |
boolean |
isAlice()
isAlice: get the Alice/Bob indicator boolean flag |
boolean |
isInput()
isInput: get the input/output indicator boolean flag |
void |
setInputFlag(boolean is_input)
setInputFlag: set the input/output indicator flag |
void |
setLinenum(int index,
int val)
|
void |
setPrefix(java.lang.String str)
setPrefix: set the prefix string |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IO(boolean is_alice)
is_alice
- - boolean indicating if this is IO format for Alice or
Bob.Method Detail |
---|
public void setInputFlag(boolean is_input)
is_input
- - boolean indicating wether this IO is for input or
output.public boolean isAlice()
public boolean isInput()
public void setPrefix(java.lang.String str)
str
- - the prefix string.public java.lang.String getPrefix()
public void addLinenum(int line_num)
line_num
- - the line numberpublic int getLinenum(int index)
index
- the index of the IO bit we are intersted in
public void setLinenum(int index, int val)
public int getNLines()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |