Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Tuple2< Class T1, Class T2 > Interface Template Reference

Tuple class template with two parameters (Pair). More...

Inheritance diagram for Tuple2< Class T1, Class T2 >:
[legend]

Public Member Functions

void Tuple2 (T1 p1, T2 p2)
 
override bool Serialize (Serializer ctx)
 
override bool Deserializer (Serializer ctx)
 
bool Serialize (Serializer ctx)
 
bool Deserializer (Serializer ctx)
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Public Attributes

T1 param1
 
T2 param2
 

Detailed Description

Tuple class template with two parameters (Pair).

Usage:

Tuple param = new Tuple2<float, string>(3.14, "Pi");
Tuple class template with two parameters (Pair).
Definition: tuple.c:61
Base Tuple class with no parameters.
Definition: tuple.c:13

Constructor & Destructor Documentation

◆ Tuple2()

void Tuple2< Class T1, Class T2 >.Tuple2 ( T1  p1,
T2  p2 
)

Member Function Documentation

◆ Deserializer()

override bool Tuple2< Class T1, Class T2 >.Deserializer ( Serializer  ctx)

Implements Tuple.

◆ Serialize()

override bool Tuple2< Class T1, Class T2 >.Serialize ( Serializer  ctx)

Implements Tuple.

Member Data Documentation

◆ param1

T1 Tuple2< Class T1, Class T2 >.param1

◆ param2

T2 Tuple2< Class T1, Class T2 >.param2

The documentation for this interface was generated from the following file: