Blender V5.0
blender::io::serialize::PrimitiveValue< T, V > Class Template Reference

#include <BLI_serialize.hh>

Inherits blender::io::serialize::Value.

Public Member Functions

 PrimitiveValue (const T value)
T value () const
Public Member Functions inherited from blender::io::serialize::Value
 Value ()=delete
virtual ~Value ()=default
eValueType type () const
const StringValueas_string_value () const
const IntValueas_int_value () const
const DoubleValueas_double_value () const
const BooleanValueas_boolean_value () const
const EnumValueas_enum_value () const
const ArrayValueas_array_value () const
const DictionaryValueas_dictionary_value () const

Additional Inherited Members

Protected Member Functions inherited from blender::io::serialize::Value
 Value (eValueType type)

Detailed Description

template<typename T, eValueType V>
class blender::io::serialize::PrimitiveValue< T, V >

For generating value types that represent types that are typically known processor data types.

Template Parameters
TWrapped C/C++ data type that is used to store the value.
VValue type of the class.

Definition at line 178 of file BLI_serialize.hh.

Constructor & Destructor Documentation

◆ PrimitiveValue()

template<typename T, eValueType V>
blender::io::serialize::PrimitiveValue< T, V >::PrimitiveValue ( const T value)
inlineexplicit

Definition at line 183 of file BLI_serialize.hh.

Member Function Documentation

◆ value()

template<typename T, eValueType V>
T blender::io::serialize::PrimitiveValue< T, V >::value ( ) const
inline

The documentation for this class was generated from the following file: