Struct FBinaryPoint
- struct FBinaryPoint : public FPoint
-
Public Functions
- inline FBinaryPoint(TArray<bool> &InitialValues)
-
Construct a BinaryPoint from a TArray of bools.
- Parameters:
-
InitialValues – [in] An Array of Bools to initialize the BinaryPoint with
- inline FBinaryPoint(const bool *Data, int Num)
-
Construct a BinaryPoint from a raw array of bools.
- Parameters:
-
-
Data – [in] The raw array of bools, as a const ptr
-
Num – [in] The size of the array
-
- inline bool operator[](int Index) const
-
Get the value of the BinaryPoint at the given index or dimension.
- Parameters:
-
Index – [in] The dimension to get the value at
- Returns:
-
the value at the given index or dimension
- inline void Add(bool Value)
-
Add a value to the BinaryPoint.
Adds a new dimension to the point
- Parameters:
-
Value – [in] The value to add
- inline virtual void Reset() override
-
Reset the values of the BinaryPoint.
Clears the current values
Note
This is doesn’t reset the size of the array so subsequent calls to Add will not reallocate memory
- virtual void Accept(PointVisitor &Visitor) override
- virtual void Accept(ConstPointVisitor &Visitor) const override