Lines Matching refs:valobj
6 def __init__(self, valobj, dict):
7 self.valobj = valobj # remember the SBValue since you will not have another chance to get it :-)
47 if self.valobj.IsValid() == False:
50 return self.valobj.GetChildMemberWithName("value")
53 op_chosen = self.valobj.GetChildMemberWithName("oper").GetValueAsUnsigned()
58 return self.valobj.CreateValueFromExpression("operator",'(const char*)"none"')
60 return self.valobj.CreateValueFromExpression("operator",'(const char*)"AND"')
62 return self.valobj.CreateValueFromExpression("operator",'(const char*)"OR"')
64 return self.valobj.CreateValueFromExpression("operator",'(const char*)"XOR"')
66 return self.valobj.CreateValueFromExpression("operator",'(const char*)"NAND"')
68 return self.valobj.CreateValueFromExpression("operator",'(const char*)"NOR"')
70 return self.valobj.CreateValueFromExpression("operator",'(const char*)"unknown"') # something else
72 return self.valobj.GetChildMemberWithName("mask")
76 value = self.valobj.GetChildMemberWithName("value").GetValueAsUnsigned()
77 operator = self.valobj.GetChildMemberWithName("oper").GetValueAsUnsigned()
78 mask = self.valobj.GetChildMemberWithName("mask").GetValueAsUnsigned()
95 return self.valobj.CreateValueFromExpression("apply()",'(uint32_t)(' + str(value) + ')')