Custom Asteroids  1.0.0
A mod for Kerbal Space Program that lets users control where asteroids appear
 All Classes Namespaces Files Functions Variables Enumerations Properties Pages
Pair< T, U > Class Template Reference

Simple implementation of an ordered pair. More...

Public Member Functions

 Pair ()
 Should have a default constructor.
 
 Pair (T first, U second)
 Creates a new ordered pair. More...
 

Properties

First [get, set]
 The first element of the pair.
 
Second [get, set]
 The second element of the pair.
 

Detailed Description

Simple implementation of an ordered pair.

Works around the lack of tuple support in .NET 3.5

Template Parameters
TThe type of the first pair element
UThe type of the second pair element

Constructor & Destructor Documentation

Pair ( first,
second 
)

Creates a new ordered pair.

Parameters
[in]first,secondThe values to store
Postcondition
The new object represents the pair (first, second).
Exception Safety
Does not throw exceptions.

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