Skip to content

FDictPoint

struct FDictPoint

A dictionary of points.

This is used to store multiple points, indexed by an integer key

Dependencies: ConstPointVisitor, PointVisitor

Public Interface

Constructor:

FDictPoint

inline FDictPoint()

Construct an empty dictionary of points.

Note: We need to allocate the Buffer first before we start handing out array views which means we can’t do it here

Attributes: inline

Source: Schola/Source/Schola/Public/Common/Points/DictPoint.h (line 28, column 1)

Public Functions:

Reset

void Reset()

Reset all the points in the dictionary.

Source: Schola/Source/Schola/Public/Common/Points/DictPoint.h (line 22, column 6)

Implementation: Schola/Source/Schola/Private/Common/Points/DictPoint.cpp (lines 5-8)

Add

inline TPoint & Add()

Add a point to the dictionary, by emplacing it, and returning it to the caller for initialization.

Returns: a reference to the newly added point

Returns: TPoint &

Attributes: inline

Source: Schola/Source/Schola/Public/Common/Points/DictPoint.h (line 37, column 8)

Add

inline void Add(TPoint &Point)

Add a preallocated point to the dictionary.

Parameters:

  • Point (TPoint &) – [in] The point to add

Attributes: inline

Source: Schola/Source/Schola/Public/Common/Points/DictPoint.h (line 45, column 6)

operator[]

inline TPoint & operator[](int Index)

Get the point at the given Index, but const.

Returns: a reference to the point at the given Index

Parameters:

  • Index (int) – The index of the point to get

Returns: TPoint &

Attributes: inline

Source: Schola/Source/Schola/Public/Common/Points/DictPoint.h (line 55, column 8)

operator[]

inline const TPoint & operator[](int Index) const const

Get the point at the given Index, in a const context.

Returns: a const reference to the point at the given Index

Parameters:

  • Index (int) – The index of the point to get

Returns: const TPoint &

Attributes: const, inline

Source: Schola/Source/Schola/Public/Common/Points/DictPoint.h (line 64, column 14)

Accept

inline void Accept(PointVisitor &Visitor)

Parameters:

NameTypeDefault
VisitorPointVisitor &

Attributes: inline

Source: Schola/Source/Schola/Public/Common/Points/DictPoint.h (line 69, column 6)

Accept

inline void Accept(ConstPointVisitor &Visitor) const const

Parameters:

NameTypeDefault
VisitorConstPointVisitor &

Attributes: const, inline

Source: Schola/Source/Schola/Public/Common/Points/DictPoint.h (line 77, column 6)

Accept

inline void Accept(PointVisitor *Visitor)

Parameters:

NameTypeDefault
VisitorPointVisitor *

Attributes: inline

Source: Schola/Source/Schola/Public/Common/Points/DictPoint.h (line 85, column 6)

Accept

inline void Accept(ConstPointVisitor *Visitor) const const

Parameters:

NameTypeDefault
VisitorConstPointVisitor *

Attributes: const, inline

Source: Schola/Source/Schola/Public/Common/Points/DictPoint.h (line 90, column 6)

Public Members:

TArray<TPoint> Points

TArray<TPoint> Points

The points in the dictionary.

Source: Schola/Source/Schola/Public/Common/Points/DictPoint.h (line 17, column 8)

Used By

This type is used by:

Source: Schola/Source/Schola/Public/Common/Points/DictPoint.h (line 12, column 1)