17 #ifndef AGXDATA_SCALAR_H
18 #define AGXDATA_SCALAR_H
62 Scalar(
const T& value = T());
71 operator const T& ()
const;
117 template <
typename T>
121 #if AGX_DEBUG_INTRUSIVE()
125 return *
static_cast<T *
>(
m_ptr);
128 template <
typename T>
132 #if AGX_DEBUG_INTRUSIVE()
136 return *
static_cast<const T *
>(
m_ptr);
144 template <
typename T>
147 template <
typename T>
150 template <
typename T>
155 template <
typename T>
158 template <
typename T>
161 template <
typename T>
164 template <
typename T>
167 template <
typename T>
170 template <
typename T>
173 template <
typename T>
176 template <
typename T>
AGXCORE_EXPORT Format * getFormat(const agx::String &typeFormatName)
void setStorage(void *storage)
Set the memory area for the scalar.
Scalar(const T &value=T())
Abstract representation of a scalar variable.
Representation of a session on disk created by the FileFrameWriter.
const AbstractScalar & asScalar() const
static const bool IsScalar
#define AGX_TEMPLATED_TYPE_BINDING(_Type, _Name)
T & operator[](size_t index)
Scalar< T > & operator=(const Scalar< T > &value)