API Documentation
|
#include <DesignParameterAccumulator.h>
Public Types | |
enum | AccumulateMode { e_get_max_min , e_get_average , e_get_variance , e_get_std_dev , e_get_strings , e_get_total , e_get_indices , e_get_floats } |
Public Types inherited from ModelIterator | |
enum | ParseResult { e_continue_parsing , e_do_not_parse_children , e_finish_parsing } |
Public Member Functions | |
DesignParameterAccumulator (const DesignParameter &design_parameter, BitFlag mode=BitFlag(0)) | |
void | accumulate (fltp08 value, const uint01 &dim=X, bool to_unit=true) |
ParseResult | process (Model &model) final override |
ParseResult | process (Model &model, Geometry &geo) final override |
ParseResult | process (Model &model, Material &mat) final override |
void | _parseAll () final override |
void | accumulate (const DesignObject &object, fltp08 known_avg=Constant< fltp08 >::NaN) |
void | setToDefaults (const DesignObject &object) |
DesignObject::DesignObjectType | type () |
void | clear () |
virtual ParseResult | postProcess (Model &m) final override |
void | addToTotal (fltp08 value) |
void | setCollectVerticesByPrimitive (PrimitiveProperty vertex_collection_primitive) |
Public Member Functions inherited from ModelIterator | |
ModelIterator () | |
ModelIterator (const Model &model) | |
ModelIterator (Buffer< Model > models) | |
void | parseAll (const Model &model) |
void | parseAll (const Buffer< Model > &models) |
void | parseAll () |
ParseResult | parseNext () |
Model | currentModel () const |
Protected Member Functions | |
bool | _setupValues (const DesignObject &object) |
void | _accumulate (const DesignObject &object) |
Matrix< fltp08 > | _matrix (const DesignObject &object) |
void | _accumulateVertices (const Geometry &geo, const TableColumn &column) |
void | _accumulate (const DesignObject &object, uint04 row, const TableColumn &column) |
void | _accumulate (const String &data) |
Protected Member Functions inherited from ModelIterator | |
void | removeFromPostProcessStack () |
Model | popNextModel () |
Protected Attributes | |
fltp08 | total_value_c = 0.0 |
bool | is_matrix_prop = false |
bool | is_design_index = false |
bool | is_vertex_index = false |
bool | is_special_field = false |
PrimitiveProperty | m_vertex_collection_primitive = PrimitiveProperty::Vertices |
DesignObject::DesignObjectType | m_design_type = DesignObject::DesignObjectType::e_model |
uint04 | property_index = Constant<uint04>::NaN |
Protected Attributes inherited from ModelIterator | |
Buffer< Model > | m_model_stack |
Buffer< uint04 > | m_model_parent_child_count |
Buffer< Model > | m_model_parent_stack |
enum AccumulateMode |
|
explicit |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
finaloverridevirtual |
Reimplemented from ModelIterator.
|
protected |
void accumulate | ( | const DesignObject & | object, |
fltp08 | known_avg = Constant<fltp08>::NaN ) |
void addToTotal | ( | fltp08 | value | ) |
void clear | ( | ) |
|
finaloverridevirtual |
Reimplemented from ModelIterator.
|
finaloverridevirtual |
Reimplemented from ModelIterator.
|
finaloverridevirtual |
Reimplemented from ModelIterator.
|
finaloverridevirtual |
Reimplemented from ModelIterator.
void setCollectVerticesByPrimitive | ( | PrimitiveProperty | vertex_collection_primitive | ) |
void setToDefaults | ( | const DesignObject & | object | ) |
|
inline |
BitFlag accumulate_mode |
bool add_commas = false |
String default_value |
bool include_unit_symbols = true |
|
protected |
|
protected |
bool is_normal_prop = false |
|
protected |
|
protected |
fltp08 lower_std_dev = 0.0 |
fltp08 lower_variance = 0.0 |
|
protected |
|
protected |
uint04 min_digits = 0 |
uint04 min_num_of_decimals = 0 |
ConstPointer<Unit> override_unit |
DesignParameter parameter |
bool recursive_matrix = false |
String string_cache |
uint04 total_count = 0 |
uint04 total_lower = 0 |
uint04 total_upper = 0 |
fltp08 total_value = 0.0 |
|
protected |
fltp08 upper_std_dev = 0.0 |
fltp08 upper_variance = 0.0 |
bool use_defaults = false |