Class ProtobufPointSerializer
Class ProtobufPointSerializer
- Defined in File ProtobufSerializer.h
Inheritance Relationships
Base Type
public ConstPointVisitor(Class ConstPointVisitor)
class ProtobufPointSerializer : public ConstPointVisitorSource: Source/Schola/Protobuf/Public/ProtobufUtils/ProtobufSerializer.h
Dependencies: FBoxPoint, FDictPoint, FDiscretePoint, FMultiBinaryPoint, FMultiDiscretePoint
A visitor class that serializes Unreal Point structures into protobuf Point messages.
This class implements the visitor pattern to traverse different Point types (Box, Discrete, MultiBinary, MultiDiscrete, Dict) and serialize them into their corresponding protobuf representations for network transmission or storage.
Public Functions
| Symbol | Details |
|---|---|
ProtobufPointSerializer | Constructs a serializer with a target protobuf Point buffer. |
operator() | Visits a const DictPoint. |
operator() | Visits a const MultiBinaryPoint. |
operator() | Visits a const DiscretePoint. |
operator() | Visits a const MultiDiscretePoint. |
operator() | Visits a const BoxPoint. |
GetDictPoint | — |
ProtobufPointSerializer
inline ProtobufPointSerializer(Point *InitialPoint)Constructs a serializer with a target protobuf Point buffer.
Parameters
InitialPoint – [in] Pointer to the protobuf Point object to fill during traversal.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | InitialPoint | Point * | Pointer to the protobuf Point object to fill during traversal. |
Attributes: inline
Source: Source/Schola/Protobuf/Public/ProtobufUtils/ProtobufSerializer.h
operator()
inline virtual void operator()(const FDictPoint &Point) overrideVisits a const DictPoint.
Parameters
Point – [in] The const DictPoint to visit.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Point | const FDictPoint & | The const DictPoint to visit. |
Attributes: inline, virtual
Source: Source/Schola/Protobuf/Public/ProtobufUtils/ProtobufSerializer.h
operator()
inline virtual void operator()(const FMultiBinaryPoint &Point) overrideVisits a const MultiBinaryPoint.
Parameters
Point – [in] The const MultiBinaryPoint to visit.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Point | const FDictPoint & | The const DictPoint to visit. |
Attributes: inline, virtual
Source: Source/Schola/Protobuf/Public/ProtobufUtils/ProtobufSerializer.h
operator()
inline virtual void operator()(const FDiscretePoint &Point) overrideVisits a const DiscretePoint.
Parameters
Point – [in] The const DiscretePoint to visit.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Point | const FDictPoint & | The const DictPoint to visit. |
Attributes: inline, virtual
Source: Source/Schola/Protobuf/Public/ProtobufUtils/ProtobufSerializer.h
operator()
inline virtual void operator()(const FMultiDiscretePoint &Point) overrideVisits a const MultiDiscretePoint.
Parameters
Point – [in] The const MultiDiscretePoint to visit.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Point | const FDictPoint & | The const DictPoint to visit. |
Attributes: inline, virtual
Source: Source/Schola/Protobuf/Public/ProtobufUtils/ProtobufSerializer.h
operator()
inline virtual void operator()(const FBoxPoint &Point) overrideVisits a const BoxPoint.
Parameters
Point – [in] The const BoxPoint to visit.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Point | const FDictPoint & | The const DictPoint to visit. |
Attributes: inline, virtual
Source: Source/Schola/Protobuf/Public/ProtobufUtils/ProtobufSerializer.h
GetDictPoint
inline Schola::Point *GetDictPoint()Attributes: inline
Source: Source/Schola/Protobuf/Public/ProtobufUtils/ProtobufSerializer.h