Public Member Functions | |
def | pack |
pack a source, command and target into a CommandPack instance | |
def | keep |
keeps only the keywords in cmnd | |
def | discard |
discards all of keywords found in cmnd | |
def | keywordmap |
maps keys in the kparams dictionary to the the value of the key in the mapDict note that if the key 'a' maps to 'b' and 'b' is already defined then the behavior becomes unpredictable | |
def | split |
split the command into 2 identical copies | |
def | truefalseHelper |
convert python boolean True/False values to 'y'/'n' strings |
Definition at line 146 of file Converter.py.
def pack | ( | cls, | ||
command, | ||||
stdin = True , |
||||
stdout = True | ||||
) |
pack a source, command and target into a CommandPack instance
Definition at line 155 of file Converter.py.
def keep | ( | cls, | ||
command, | ||||
keywords | ||||
) |
def discard | ( | cls, | ||
command, | ||||
keywords | ||||
) |
def keywordmap | ( | cls, | ||
command, | ||||
Dict | ||||
) |
maps keys in the kparams dictionary to the the value of the key in the mapDict note that if the key 'a' maps to 'b' and 'b' is already defined then the behavior becomes unpredictable
Definition at line 208 of file Converter.py.
def split | ( | cls, | ||
command | ||||
) |
def truefalseHelper | ( | cls, | ||
command, | ||||
true = 'y' , |
||||
false = 'n' | ||||
) |
convert python boolean True/False values to 'y'/'n' strings
Definition at line 235 of file Converter.py.