|
SHAPER
9.15.0
|
Step with strings values. More...

Public Member Functions | |
| StringStep (int step, int stamp, int nbElements, int nbComponents) | |
| Constructor. More... | |
| virtual XAO::Type | getType () |
| Gets the type of the step. More... | |
| std::vector< std::string > | getValues () |
| Gets all the values of the step as a list. More... | |
| std::vector< std::string > | getElement (int element) |
| Gets all the values for a given element. More... | |
| std::vector< std::string > | getComponent (int component) |
| Gets all the values for a given component. More... | |
| const std::string | getValue (int element, int component) |
| Gets the value for an element and a component. More... | |
| void | setValues (const std::vector< std::string > &values) |
| Sets all the values from a list. More... | |
| void | setElement (int element, const std::vector< std::string > &elements) |
| Sets the values for an element. More... | |
| void | setComponent (int component, const std::vector< std::string > &components) |
| Sets the values for a component. More... | |
| void | setValue (int element, int component, const std::string &value) |
| Sets the value for an element and a component. More... | |
| virtual const std::string | getStringValue (int element, int component) |
| Gets a value as a string. More... | |
| virtual void | setStringValue (int element, int component, const std::string &value) |
| Sets a value as a string. More... | |
| int | getStep () |
| Gets the step index. More... | |
| void | setStep (int step) |
| Sets the number of the step. More... | |
| int | getStamp () |
| Gets the stamp of the index. More... | |
| void | setStamp (int stamp) |
| Sets the stamp of the index. More... | |
| int | countComponents () |
| Gets the number of components of the step. More... | |
| int | countElements () |
| Gets the number of elements for the step. More... | |
| int | countValues () |
| Gets the number of values for the step. More... | |
Protected Member Functions | |
| void | checkElementIndex (int element) |
| Checks that given element index is in the range of element indexes. More... | |
| void | checkComponentIndex (int component) |
| Checks that given component index is in the range of component indexes. More... | |
| void | checkNbElements (int nbElements) |
| Checks that the given number of elements is correct. More... | |
| void | checkNbComponents (int nbComponents) |
| Checks that the given number of components is correct. More... | |
| void | checkNbValues (int nbValues) |
| checks that the given number of values is correct. More... | |
Protected Attributes | |
| int | m_step |
| the index of the step. More... | |
| int | m_stamp |
| The stamp of the step. More... | |
| int | m_nbComponents |
| The number of components. More... | |
| int | m_nbElements |
| The number of elements. More... | |
Step with strings values.
| StringStep::StringStep | ( | int | step, |
| int | stamp, | ||
| int | nbElements, | ||
| int | nbComponents | ||
| ) |
Constructor.
| step | the step number. |
| stamp | the stamp of the step. |
| nbElements | the number elements of the geometry. |
| nbComponents | the number of components of the field. |
|
inlinevirtual |
| std::vector< std::string > StringStep::getValues | ( | ) |
Gets all the values of the step as a list.
| std::vector< std::string > StringStep::getElement | ( | int | element | ) |
Gets all the values for a given element.
| element | the index of the element. |
| std::vector< std::string > StringStep::getComponent | ( | int | component | ) |
Gets all the values for a given component.
| component | the index of the component. |
| const std::string StringStep::getValue | ( | int | element, |
| int | component | ||
| ) |
Gets the value for an element and a component.
| element | the index of the element. |
| component | the index of the component. |
| void StringStep::setValues | ( | const std::vector< std::string > & | values | ) |
Sets all the values from a list.
| values | the list of values to set. |
| void StringStep::setElement | ( | int | element, |
| const std::vector< std::string > & | elements | ||
| ) |
Sets the values for an element.
| element | the index of the element to set. |
| elements | the values to set. |
| void StringStep::setComponent | ( | int | component, |
| const std::vector< std::string > & | components | ||
| ) |
Sets the values for a component.
| component | the index of the component to set. |
| components | the values to set. |
| void StringStep::setValue | ( | int | element, |
| int | component, | ||
| const std::string & | value | ||
| ) |
Sets the value for an element and a component.
| element | the index of the element. |
| component | the index of the component. |
| value | the value. |
|
virtual |
Gets a value as a string.
| element | the index of the element. |
| component | the index of the component. |
Implements XAO::Step.
|
virtual |
Sets a value as a string.
| element | the index of the element. |
| component | the index of the component. |
| value | the string value. |
| XAO_Exception | if the value is not valid. |
Implements XAO::Step.
|
inlineinherited |
Gets the step index.
|
inlineinherited |
Sets the number of the step.
| step | the index to set. |
|
inlineinherited |
Gets the stamp of the index.
|
inlineinherited |
Sets the stamp of the index.
| stamp | the stamp to set. |
|
inlineinherited |
Gets the number of components of the step.
|
inlineinherited |
Gets the number of elements for the step.
|
inlineinherited |
Gets the number of values for the step.
|
protectedinherited |
Checks that given element index is in the range of element indexes.
| element | the index to check. |
|
protectedinherited |
Checks that given component index is in the range of component indexes.
| component | the index to check. |
|
protectedinherited |
Checks that the given number of elements is correct.
| nbElements | the number of elements to check. |
|
protectedinherited |
Checks that the given number of components is correct.
| nbComponents | the number of components to check. |
|
protectedinherited |
checks that the given number of values is correct.
| nbValues | the number of values to check. |
|
protectedinherited |
the index of the step.
|
protectedinherited |
The stamp of the step.
|
protectedinherited |
The number of components.
|
protectedinherited |
The number of elements.