|  | GL Studio C++ Runtime API
    | 
#include <util.h>
 
  
 | Public Member Functions | |
| GlsMultiVal () | |
| GlsMultiVal (const GlsMultiVal &src) | |
| GlsMultiVal (const T1 &val1, const T2 &val2=T2(), const T3 &val3=T3(), const T4 &val4=T4(), const T5 &val5=T5(), const T6 &val6=T6(), const T7 &val7=T7(), const T8 &val8=T8(), const T9 &val9=T9(), const T10 &val10=T10()) | |
| virtual bool | operator== (const GlsMultiVal &val) const | 
| virtual bool | operator!= (const GlsMultiVal &val) const | 
| virtual void | StreamOut (ostreamType &outstr) const | 
| virtual void | StreamIn (istreamType &instr) | 
GlsMultiVal is used to effectivly create a structure containing up to 10 values of varying types. An instance of the class is capable of streaming itself to and from a text stream. The individual values will be separated by spaces when written and read from the stream. The types have to follow some rules:
| 
 | inline | 
Default constructor. The _val member types must have default constructors.
| 
 | inline | 
Copy constructor. This GlsMultiVal will copy values from the src GlsMultiVal.
| src | GlsMultiVal object to use for initialization. | 
| 
 | inline | 
Full constructor. Creates a GlsMultiVal object with the provided data.
| val1 | First value to use for intialization of type T1. | 
| val2 | First value to use for intialization of type T2. | 
| val3 | First value to use for intialization of type T3. | 
| val4 | First value to use for intialization of type T4. | 
| val5 | First value to use for intialization of type T5. | 
| val6 | First value to use for intialization of type T6. | 
| val7 | First value to use for intialization of type T7. | 
| val8 | First value to use for intialization of type T8. | 
| val9 | First value to use for intialization of type T9. | 
| val10 | First value to use for intialization of type T10. | 
| 
 | inlinevirtual | 
Inverse of equality
| 
 | inlinevirtual | 
Compares two multival objects for equality
| 
 | inlinevirtual | 
StreamIn(). Uses the provided istream object to populate the current GlsMultiVal object
| instr | This is the stream object used by the GlsMultiVal instance to populate itself. | 
Implements GlsMultiValBase.
| 
 | inlinevirtual | 
StreamOut(). This function serializes itself into the provided stream object.
| outstr | This is the object used by the GlsMultiVal class to serialize itself onto. | 
Implements GlsMultiValBase.