OpenBarnyard
 
Loading...
Searching...
No Matches
TVersion Union Reference

#include <TVersion.h>

Public Member Functions

 TVersion ()=default
 
constexpr TVersion (TUINT32 a_uiVersion)
 
void operator= (TUINT32 a_uiVersion)
 
 operator TUINT32 & ()
 

Public Attributes

TUINT32 Value
 
struct { 
 
   TUINT16   Minor 
 
   TUINT16   Major 
 
Parts 
 

Detailed Description

Definition at line 6 of file TVersion.h.

Constructor & Destructor Documentation

◆ TVersion() [1/2]

TVersion::TVersion ( )
default

◆ TVersion() [2/2]

TVersion::TVersion ( TUINT32 a_uiVersion)
inlineconstexpr

Definition at line 11 of file TVersion.h.

12 : Value( a_uiVersion )
13 {}
TUINT32 Value
Definition TVersion.h:8

Member Function Documentation

◆ operator TUINT32 &()

TVersion::operator TUINT32 & ( )
inline

Definition at line 26 of file TVersion.h.

27 {
28 return Value;
29 }

◆ operator=()

void TVersion::operator= ( TUINT32 a_uiVersion)
inline

Definition at line 21 of file TVersion.h.

22 {
23 Value = a_uiVersion;
24 }

Member Data Documentation

◆ Major

TUINT16 TVersion::Major

Definition at line 18 of file TVersion.h.

◆ Minor

TUINT16 TVersion::Minor

Definition at line 17 of file TVersion.h.

◆ [struct]

struct { ... } TVersion::Parts

◆ Value

TUINT32 TVersion::Value

Definition at line 8 of file TVersion.h.


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