21 #ifndef __XAO_BOOLEANSTEP_HXX__
22 #define __XAO_BOOLEANSTEP_HXX__
27 #include "XAO_XaoUtils.hxx"
28 #include "XAO_Step.hxx"
31 #pragma warning(disable:4290)
32 #pragma warning(disable:4251)
52 BooleanStep(
int step,
int stamp,
int nbElements,
int nbComponents);
54 virtual XAO::Type
getType() {
return XAO::BOOLEAN; }
60 std::vector<bool> getValues();
67 std::vector<bool> getElement(
int element);
74 std::vector<bool> getComponent(
int component);
82 bool getValue(
int element,
int component);
88 void setValues(
const std::vector<bool>& values);
95 void setElement(
int element,
const std::vector<bool>& elements);
102 void setComponent(
int component,
const std::vector<bool>& components);
110 void setValue(
int element,
int component,
bool value);
112 virtual const std::string getStringValue(
int element,
int component);
113 virtual void setStringValue(
int element,
int component,
const std::string& value);
116 std::vector< std::vector<bool> > m_values;
Step with boolean values.
Definition: XAO_BooleanStep.hxx:43
virtual XAO::Type getType()
Gets the type of the step.
Definition: XAO_BooleanStep.hxx:54
Base class for steps.
Definition: XAO_Step.hxx:39