Public Member Functions | Static Public Member Functions | Friends

MyGUI::Version Class Reference

#include <MyGUI_Version.h>

Public Member Functions

 Version ()
 Version (uint8 _major, uint8 _minor, uint16 _patch)
 Version (uint8 _major, uint8 _minor)
 Version (const std::string &_value)
uint8 getMajor () const
uint8 getMinor () const
uint16 getPatch () const
int getPoorVersion () const
int getFullVersion () const
std::string print () const

Static Public Member Functions

static Version parse (const std::string &_value)

Friends

bool operator< (Version const &a, Version const &b)
bool operator>= (Version const &a, Version const &b)
bool operator> (Version const &a, Version const &b)
bool operator<= (Version const &a, Version const &b)
bool operator== (Version const &a, Version const &b)
bool operator!= (Version const &a, Version const &b)
std::ostream & operator<< (std::ostream &_stream, const Version &_value)
std::istream & operator>> (std::istream &_stream, Version &_value)

Detailed Description

Definition at line 33 of file MyGUI_Version.h.


Constructor & Destructor Documentation

MyGUI::Version::Version (  )  [inline]

Definition at line 36 of file MyGUI_Version.h.

MyGUI::Version::Version ( uint8  _major,
uint8  _minor,
uint16  _patch 
) [inline]

Definition at line 37 of file MyGUI_Version.h.

MyGUI::Version::Version ( uint8  _major,
uint8  _minor 
) [inline]

Definition at line 38 of file MyGUI_Version.h.

MyGUI::Version::Version ( const std::string &  _value  )  [inline, explicit]

Definition at line 39 of file MyGUI_Version.h.


Member Function Documentation

int MyGUI::Version::getFullVersion (  )  const [inline]

Definition at line 68 of file MyGUI_Version.h.

uint8 MyGUI::Version::getMajor (  )  const [inline]

Definition at line 63 of file MyGUI_Version.h.

uint8 MyGUI::Version::getMinor (  )  const [inline]

Definition at line 64 of file MyGUI_Version.h.

uint16 MyGUI::Version::getPatch (  )  const [inline]

Definition at line 65 of file MyGUI_Version.h.

int MyGUI::Version::getPoorVersion (  )  const [inline]

Definition at line 67 of file MyGUI_Version.h.

static Version MyGUI::Version::parse ( const std::string &  _value  )  [inline, static]

Definition at line 76 of file MyGUI_Version.h.

std::string MyGUI::Version::print (  )  const [inline]

Definition at line 70 of file MyGUI_Version.h.


Friends And Related Function Documentation

bool operator!= ( Version const &  a,
Version const &  b 
) [friend]

Definition at line 47 of file MyGUI_Version.h.

bool operator< ( Version const &  a,
Version const &  b 
) [friend]

Definition at line 41 of file MyGUI_Version.h.

std::ostream& operator<< ( std::ostream &  _stream,
const Version _value 
) [friend]

Definition at line 49 of file MyGUI_Version.h.

bool operator<= ( Version const &  a,
Version const &  b 
) [friend]

Definition at line 44 of file MyGUI_Version.h.

bool operator== ( Version const &  a,
Version const &  b 
) [friend]

Definition at line 46 of file MyGUI_Version.h.

bool operator> ( Version const &  a,
Version const &  b 
) [friend]

Definition at line 43 of file MyGUI_Version.h.

bool operator>= ( Version const &  a,
Version const &  b 
) [friend]

Definition at line 42 of file MyGUI_Version.h.

std::istream& operator>> ( std::istream &  _stream,
Version _value 
) [friend]

Definition at line 55 of file MyGUI_Version.h.


Field Documentation

Definition at line 89 of file MyGUI_Version.h.

Definition at line 90 of file MyGUI_Version.h.


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