MyGUI::types::TPoint< T > Struct Template Reference

#include <MyGUI_TPoint.h>

Inheritance diagram for MyGUI::types::TPoint< T >:
Inheritance graph
[legend]

Public Member Functions

 TPoint ()
 TPoint (T const &l, T const &t)
 TPoint (TPoint const &o)
TPointoperator-= (TPoint const &o)
TPointoperator+= (TPoint const &o)
TPoint operator- (TPoint const &o) const
TPoint operator+ (TPoint const &o) const
TPointoperator= (TPoint const &o)
template<typename U >
TPointoperator= (TPoint< U > const &o)
bool operator== (TPoint const &o) const
bool operator!= (TPoint const &o) const
void clear ()
void set (T const &l, T const &t)
void swap (TPoint &_value)
bool empty () const
std::string print () const

Static Public Member Functions

static TPoint< T > parse (const std::string &_value)

Data Fields

left
top

Friends

std::ostream & operator<< (std::ostream &_stream, const TPoint< T > &_value)
std::istream & operator>> (std::istream &_stream, TPoint< T > &_value)

Detailed Description

template<typename T>
struct MyGUI::types::TPoint< T >

Definition at line 32 of file MyGUI_TPoint.h.


Constructor & Destructor Documentation

template<typename T>
MyGUI::types::TPoint< T >::TPoint (  )  [inline]

Definition at line 36 of file MyGUI_TPoint.h.

template<typename T>
MyGUI::types::TPoint< T >::TPoint ( T const &  l,
T const &  t 
) [inline]

Definition at line 37 of file MyGUI_TPoint.h.

template<typename T>
MyGUI::types::TPoint< T >::TPoint ( TPoint< T > const &  o  )  [inline]

Definition at line 38 of file MyGUI_TPoint.h.


Member Function Documentation

template<typename T>
void MyGUI::types::TPoint< T >::clear (  )  [inline]

Definition at line 89 of file MyGUI_TPoint.h.

template<typename T>
bool MyGUI::types::TPoint< T >::empty (  )  const [inline]

Definition at line 107 of file MyGUI_TPoint.h.

template<typename T>
bool MyGUI::types::TPoint< T >::operator!= ( TPoint< T > const &  o  )  const [inline]

Definition at line 84 of file MyGUI_TPoint.h.

template<typename T>
TPoint MyGUI::types::TPoint< T >::operator+ ( TPoint< T > const &  o  )  const [inline]

Definition at line 59 of file MyGUI_TPoint.h.

template<typename T>
TPoint& MyGUI::types::TPoint< T >::operator+= ( TPoint< T > const &  o  )  [inline]

Definition at line 47 of file MyGUI_TPoint.h.

template<typename T>
TPoint MyGUI::types::TPoint< T >::operator- ( TPoint< T > const &  o  )  const [inline]

Definition at line 54 of file MyGUI_TPoint.h.

template<typename T>
TPoint& MyGUI::types::TPoint< T >::operator-= ( TPoint< T > const &  o  )  [inline]

Definition at line 40 of file MyGUI_TPoint.h.

template<typename T>
template<typename U >
TPoint& MyGUI::types::TPoint< T >::operator= ( TPoint< U > const &  o  )  [inline]

Definition at line 72 of file MyGUI_TPoint.h.

template<typename T>
TPoint& MyGUI::types::TPoint< T >::operator= ( TPoint< T > const &  o  )  [inline]

Definition at line 64 of file MyGUI_TPoint.h.

template<typename T>
bool MyGUI::types::TPoint< T >::operator== ( TPoint< T > const &  o  )  const [inline]

Definition at line 79 of file MyGUI_TPoint.h.

template<typename T>
static TPoint<T> MyGUI::types::TPoint< T >::parse ( const std::string &  _value  )  [inline, static]

Definition at line 119 of file MyGUI_TPoint.h.

template<typename T>
std::string MyGUI::types::TPoint< T >::print (  )  const [inline]

Definition at line 112 of file MyGUI_TPoint.h.

template<typename T>
void MyGUI::types::TPoint< T >::set ( T const &  l,
T const &  t 
) [inline]

Definition at line 94 of file MyGUI_TPoint.h.

template<typename T>
void MyGUI::types::TPoint< T >::swap ( TPoint< T > &  _value  )  [inline]

Definition at line 100 of file MyGUI_TPoint.h.


Friends And Related Function Documentation

template<typename T>
std::ostream& operator<< ( std::ostream &  _stream,
const TPoint< T > &  _value 
) [friend]

Definition at line 137 of file MyGUI_TPoint.h.

template<typename T>
std::istream& operator>> ( std::istream &  _stream,
TPoint< T > &  _value 
) [friend]

Definition at line 143 of file MyGUI_TPoint.h.


Field Documentation

template<typename T>
T MyGUI::types::TPoint< T >::left

Definition at line 34 of file MyGUI_TPoint.h.

template<typename T>
T MyGUI::types::TPoint< T >::top

Definition at line 34 of file MyGUI_TPoint.h.


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

Generated on 3 Dec 2009 for MyGUI by  doxygen 1.6.1