# File lib/ruby-vpi/vpi.rb, line 110
110:     def get_value aFormat = VpiObjTypeVal
111:       val = get_value_wrapper(resolve_prop_type(aFormat))
112: 
113:       case val.format
114:         when VpiBinStrVal, VpiOctStrVal, VpiDecStrVal, VpiHexStrVal, VpiStringVal
115:           val.value.str
116: 
117:         when VpiScalarVal
118:           val.value.scalar
119: 
120:         when VpiIntVal
121:           get_value_wrapper(VpiHexStrVal).value.str.to_i(16)
122: 
123:         when VpiRealVal
124:           val.value.real
125: 
126:         when VpiTimeVal
127:           val.value.time
128: 
129:         when VpiVectorVal
130:           val.value.vector
131: 
132:         when VpiStrengthVal
133:           val.value.strength
134: 
135:         else
136:           raise "unknown S_vpi_value.format: #{val.format}"
137:       end
138:     end