FBinaryPoint
struct FBinaryPoint : public FPoint
Dependencies: ConstPointVisitor, FPoint, PointVisitor
Inherits from: public FPoint
Public Interface
Constructors:
FBinaryPoint
inline FBinaryPoint()
Construct an empty BinaryPoint.
Attributes: inline
Source: Schola/Source/Schola/Public/Common/Points/BinaryPoint.h
(line 18, column 1)
FBinaryPoint
inline FBinaryPoint(TArray<bool> &InitialValues)
Construct a BinaryPoint from a TArray of bools.
Parameters:
InitialValues
(TArray<bool> &
) – [in] An Array of Bools to initialize the BinaryPoint with
Attributes: inline
Source: Schola/Source/Schola/Public/Common/Points/BinaryPoint.h
(line 27, column 1)
FBinaryPoint
inline FBinaryPoint(const bool *Data, int Num)
Construct a BinaryPoint from a raw array of bools.
Parameters:
Data
(const bool *
) – [in] The raw array of bools, as a const ptrNum
(int
) – [in] The size of the array
Attributes: inline
Source: Schola/Source/Schola/Public/Common/Points/BinaryPoint.h
(line 38, column 1)
Destructor:
~FBinaryPoint
inline virtual ~FBinaryPoint()
Attributes: inline
, virtual
Source: Schola/Source/Schola/Public/Common/Points/BinaryPoint.h
(line 45, column 9)
Public Functions:
operator[]
inline bool operator[](int Index) const const
Get the value of the BinaryPoint at the given index or dimension.
Returns: the value at the given index or dimension
Parameters:
Index
(int
) – [in] The dimension to get the value at
Returns: bool
Attributes: const
, inline
Source: Schola/Source/Schola/Public/Common/Points/BinaryPoint.h
(line 51, column 6)
Add
inline void Add(bool Value)
Add a value to the BinaryPoint.
Adds a new dimension to the point
Parameters:
Value
(bool
) – [in] The value to add
Attributes: inline
Source: Schola/Source/Schola/Public/Common/Points/BinaryPoint.h
(line 60, column 6)
Reset
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
Attributes: inline
, virtual
Source: Schola/Source/Schola/Public/Common/Points/BinaryPoint.h
(line 69, column 6)
Accept
virtual void Accept(PointVisitor &Visitor) override
Parameters:
Name | Type | Default |
---|---|---|
Visitor | PointVisitor & | “ |
Attributes: virtual
Source: Schola/Source/Schola/Public/Common/Points/BinaryPoint.h
(line 74, column 6)
Implementation: Schola/Source/Schola/Private/Common/Points/BinaryPoint.cpp
(lines 11-14)
Accept
virtual void Accept(ConstPointVisitor &Visitor) const override const
Parameters:
Name | Type | Default |
---|---|---|
Visitor | ConstPointVisitor & | “ |
Attributes: const
, virtual
Source: Schola/Source/Schola/Public/Common/Points/BinaryPoint.h
(line 76, column 6)
Implementation: Schola/Source/Schola/Private/Common/Points/BinaryPoint.cpp
(lines 6-9)
Public Members:
TArray<bool> Values
TArray<bool> Values
the values of this point
Source: Schola/Source/Schola/Public/Common/Points/BinaryPoint.h
(line 14, column 8)
Used By
This type is used by:
- ConstPointVisitor
- IBinaryActuatorWrapper
- IBinaryObserverWrapper
- IBlueprintBinaryActuatorWrapper
- IBlueprintBinaryObserverWrapper
- PointSerializer
- PointVisitor
- ProtobufSerializer
- UBinaryActuator
- UBinaryObserver
- UBlueprintBinaryActuator
- UBlueprintBinaryObserver
- UDebugBinaryActuator
- UDebugBinaryObserver
- UEventObserver
Source: Schola/Source/Schola/Public/Common/Points/BinaryPoint.h
(line 9, column 1)