Lines Matching refs:m_value
77 …StridedValueRead (const VariableType& type, const Scalar* value) : m_type(type), m_value(value) {} in StridedValueRead()
80 const Scalar* getValuePtr (void) const { return m_value; } in getValuePtr()
84 const Scalar* m_value; member in rsg::StridedValueRead
91 ConstStridedValueAccess (void) : m_type(DE_NULL), m_value(DE_NULL) {} in ConstStridedValueAccess()
92 …cess (const VariableType& type, const Scalar* valuePtr) : m_type(&type), m_value(const_cast<Scalar… in ConstStridedValueAccess()
97 …Ndx) const { return ConstStridedValueAccess(getType().getElementType(), m_value + Stride*compNdx)… in component()
98 …tNdx) const { return ConstStridedValueAccess(getType().getElementType(), m_value + Stride*getType(… in arrayElement()
99 …urn ConstStridedValueAccess(getType().getMembers()[memberNdx].getType(), m_value + Stride*getType(… in member()
101 float asFloat (void) const { DE_STATIC_ASSERT(Stride == 1); return m_value->floatVal; } in asFloat()
102 int asInt (void) const { DE_STATIC_ASSERT(Stride == 1); return m_value->intVal; } in asInt()
103 bool asBool (void) const { DE_STATIC_ASSERT(Stride == 1); return m_value->boolVal; } in asBool()
104 Scalar asScalar (void) const { DE_STATIC_ASSERT(Stride == 1); return *m_value; } in asScalar()
106 …float asFloat (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value… in asFloat()
107 …int asInt (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value[nd… in asInt()
108 …bool asBool (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value[n… in asBool()
109 … asScalar (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value[ndx]; } in asScalar()
112 …T as (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[… in as()
115 …alueRead<Stride> value (void) const { return StridedValueRead<Stride>(getType(), m_value); } in value()
119 …Scalar* m_value; // \note Non-const internal pointer is used so that ValueAccess can extend t… member in rsg::ConstStridedValueAccess
130 …dx) { return StridedValueAccess(this->getType().getElementType(), this->m_value + Stride*compNdx)… in component()
131 …Ndx) { return StridedValueAccess(this->getType().getElementType(), this->m_value + Stride*this->ge… in arrayElement()
132 …idedValueAccess(this->getType().getMembers()[memberNdx].getType(), this->m_value + Stride*this->ge… in member()
134 float& asFloat (void) { DE_STATIC_ASSERT(Stride == 1); return this->m_value->floatVal; } in asFloat()
135 int& asInt (void) { DE_STATIC_ASSERT(Stride == 1); return this->m_value->intVal; } in asInt()
136 bool& asBool (void) { DE_STATIC_ASSERT(Stride == 1); return this->m_value->boolVal; } in asBool()
137 Scalar& asScalar (void) { DE_STATIC_ASSERT(Stride == 1); return *this->m_value; } in asScalar()
139 …float& asFloat (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value… in asFloat()
140 …int& asInt (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[ndx… in asInt()
141 …bool& asBool (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[n… in asBool()
142 … asScalar (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[ndx]; } in asScalar()
145 …T& as (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[ndx].t… in as()
172 std::copy(valueRead.getValuePtr(), valueRead.getValuePtr() + scalarSize*Stride, this->m_value); in operator =()
176 …std::fill(this->m_value + scalarNdx*Stride, this->m_value + (scalarNdx+1)*Stride, valueRead.getVal… in operator =()
318 …getValue (const VariableType& type) { return StridedValueAccess<Stride>(type, &m_value[0]); } in getValue()
319 …e (const VariableType& type) const { return ConstStridedValueAccess<Stride>(type, &m_value[0]); } in getValue()
325 std::vector<Scalar> m_value; member in rsg::ValueStorage
342 m_value.resize(type.getScalarSize() * Stride); in setStorage()