|
Infinity Engine v0.6.20
C++ API Documentation
|
Classes | |
| class | Base |
| Abstract base class for all Infinity Engine data types. More... | |
| class | Data |
| Base class for complex data types with memory wrapping and property support. More... | |
| class | IOStreamLegible |
| Interface for types that support single-line text representation. More... | |
| class | Pair |
| Generic container for holding two related values of potentially different types. More... | |
| class | PropertyValue |
| class | Value |
| Template wrapper for primitive types to integrate with the Infinity type system. More... | |
Typedefs | |
| using | Edge2D = Infinity::Types::Core::Pair< Infinity::Types::Math::Vector2, Infinity::Types::Math::Vector2 > |
| Type alias for a 2D edge represented as a pair of Vector2 points. | |
| using | Edge = Infinity::Types::Core::Pair< Infinity::Types::Math::Vector3, Infinity::Types::Math::Vector3 > |
| Type alias for a 3D edge represented as a pair of Vector3 points. | |
Functions | |
| std::ostream & | operator<< (std::ostream &out, const Infinity::Types::Core::Base *&v) |
| Stream insertion operator for Base pointers. | |
| std::istream & | operator>> (std::istream &in, Infinity::Types::Core::Base *&v) |
| Stream extraction operator for Base pointers. | |
| template<typename T > | |
| INFINITY_API_TEMPLATE std::ostream & | operator<< (std::ostream &out, const Value< T > &v) |
| Stream insertion operator for Value<T>. | |
| template<typename T > | |
| INFINITY_API_TEMPLATE std::istream & | operator>> (std::istream &in, Value< T > &v) |
| Stream extraction operator for Value<T>. | |
Type alias for a 3D edge represented as a pair of Vector3 points.
Represents an edge or line segment in 3D space, defined by a start and end point. Commonly used in:
Type alias for a 2D edge represented as a pair of Vector2 points.
Represents an edge or line segment in 2D space, defined by a start and end point. Commonly used in:
|
inline |
Stream insertion operator for Base pointers.
No-op operator to prevent accidental output of pointer addresses when attempting to serialize Base* variables. Returns the stream unchanged.
| out | Output stream. |
| v | Pointer to Base object (unused). |
out << *ptr; | INFINITY_API_TEMPLATE std::ostream & Infinity::Types::Core::operator<< | ( | std::ostream & | out, |
| const Value< T > & | v | ||
| ) |
Stream insertion operator for Value<T>.
Allows Value objects to be written to output streams using the operator. Outputs the underlying value directly.
| T | The wrapped type. |
| out | Output stream. |
| v | The Value to output. |
|
inline |
Stream extraction operator for Base pointers.
No-op operator to prevent accidental input into pointer variables. Returns the stream unchanged.
| in | Input stream. |
| v | Pointer to Base object (unused). |
in >> *ptr; | INFINITY_API_TEMPLATE std::istream & Infinity::Types::Core::operator>> | ( | std::istream & | in, |
| Value< T > & | v | ||
| ) |