// return the current value for a given output /*------------------------------------------------- * output_get_value - return the value of an * output * -------------------------------------------------*/ public int get_value(string outname) { output_item item = find_item(outname); // if no item, value is 0 return(item != null?item.get() : 0); }
//operator s32() const { return m_item->get(); } //s32 operator=(s32 value) { m_item->set(value); return m_item->get(); } public s32 op() { return(m_item.get()); }