Project OpenGeode
class ConstantAttribute
Read and write interface for constant attribute storage
cpp
Inherits from ReadOnlyAttribute<T>Inherits from ReadOnlyAttribute<T>Functions
ConstantAttribute
cpp
public void ConstantAttribute<T>(T value, AttributeProperties properties, PassKey )public void ConstantAttribute<T>(T value, AttributeProperties properties, PassKey )value
cpp
public const T & value(index_t )public const T & value(index_t )value
cpp
public const T & value()public const T & value()set_value
cpp
public void set_value(T value)public void set_value(T value)default_value
cpp
public const T & default_value()public const T & default_value()modify_value
cpp
public void modify_value(Modifier && modifier)public void modify_value(Modifier && modifier)compute_value
cpp
public void compute_value(index_t , index_t , PassKey )public void compute_value(index_t , index_t , PassKey )compute_value
cpp
public void compute_value(const AttributeLinearInterpolation & , index_t , PassKey )public void compute_value(const AttributeLinearInterpolation & , index_t , PassKey )resize
cpp
public void resize(index_t , PassKey )public void resize(index_t , PassKey )reserve
cpp
public void reserve(index_t , PassKey )public void reserve(index_t , PassKey )delete_elements
cpp
public void delete_elements(const std::vector<bool> & , PassKey )public void delete_elements(const std::vector<bool> & , PassKey )permute_elements
cpp
public void permute_elements(Span , PassKey )public void permute_elements(Span , PassKey )clone
cpp
public shared_ptr clone(PassKey )public shared_ptr clone(PassKey )copy
cpp
public void copy(const AttributeBase & attribute, index_t , PassKey )public void copy(const AttributeBase & attribute, index_t , PassKey )extract
cpp
public shared_ptr extract(Span , index_t , PassKey )public shared_ptr extract(Span , index_t , PassKey )extract
cpp
public shared_ptr extract(const GenericMapping<index_t> & , index_t , PassKey )public shared_ptr extract(const GenericMapping<index_t> & , index_t , PassKey )