STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Types | Private Attributes | List of all members
Platform::Agile< T, false > Class Template Reference

#include <agile.h>

Public Member Functions

 Agile () throw ()
 
 Agile (nullptr_t) throw ()
 
 Agile (TypeT object) throw ()
 
 Agile (const Agile &object) throw ()
 
 Agile (Agile &&object) throw ()
 
 ~Agile () throw ()
 
TypeT Get () const
 
TypeTGetAddressOf () throw ()
 
TypeTGetAddressOfForInOut () throw ()
 
TypeT operator-> () const throw ()
 
Agileoperator= (nullptr_t) throw ()
 
Agileoperator= (TypeT object) throw ()
 
Agileoperator= (Agile object) throw ()
 
void Release () throw ()
 
void Swap (Agile &object)
 
bool operator== (nullptr_t) const throw ()
 
bool operator== (const Agile &other) const throw ()
 
bool operator< (const Agile &other) const throw ()
 

Private Types

typedef Details::AgileTypeHelper< T >::agileMemberType TypeT
 

Private Attributes

TypeT _object
 

Member Typedef Documentation

template<typename T >
typedef Details::AgileTypeHelper<T>::agileMemberType Platform::Agile< T, false >::TypeT
private

Constructor & Destructor Documentation

template<typename T >
Platform::Agile< T, false >::Agile ( )
throw (
)
inline
336  : _object(nullptr)
337  {
338  }
TypeT _object
Definition: agile.h:333
template<typename T >
Platform::Agile< T, false >::Agile ( nullptr_t  )
throw (
)
inline
340  : _object(nullptr)
341  {
342  }
TypeT _object
Definition: agile.h:333
template<typename T >
Platform::Agile< T, false >::Agile ( TypeT  object)
throw (
)
inlineexplicit
344  : _object(object)
345  {
346  }
TypeT _object
Definition: agile.h:333
template<typename T >
Platform::Agile< T, false >::Agile ( const Agile< T, false > &  object)
throw (
)
inline
348  : _object(object._object)
349  {
350  }
TypeT _object
Definition: agile.h:333
template<typename T >
Platform::Agile< T, false >::Agile ( Agile< T, false > &&  object)
throw (
)
inline
352  : _object(nullptr)
353  {
354  Swap(object);
355  }
void Swap(Agile &object)
Definition: agile.h:410
TypeT _object
Definition: agile.h:333
template<typename T >
Platform::Agile< T, false >::~Agile ( )
throw (
)
inline
358  {
359  Release();
360  }
void Release()
Definition: agile.h:405

Member Function Documentation

template<typename T >
TypeT Platform::Agile< T, false >::Get ( ) const
inline
363  {
364  return _object;
365  }
TypeT _object
Definition: agile.h:333
template<typename T >
TypeT* Platform::Agile< T, false >::GetAddressOf ( )
throw (
)
inline
368  {
369  Release();
370  return &_object;
371  }
void Release()
Definition: agile.h:405
TypeT _object
Definition: agile.h:333
template<typename T >
TypeT* Platform::Agile< T, false >::GetAddressOfForInOut ( )
throw (
)
inline
374  {
375  return &_object;
376  }
TypeT _object
Definition: agile.h:333
template<typename T >
TypeT Platform::Agile< T, false >::operator-> ( ) const
throw (
)
inline
379  {
380  return Get();
381  }
TypeT Get() const
Definition: agile.h:362
template<typename T >
bool Platform::Agile< T, false >::operator< ( const Agile< T, false > &  other) const
throw (
)
inline
426  {
427  return reinterpret_cast<void*>(_object) < reinterpret_cast<void*>(other._object);
428  }
TypeT _object
Definition: agile.h:333
template<typename T >
Agile& Platform::Agile< T, false >::operator= ( nullptr_t  )
throw (
)
inline
384  {
385  Release();
386  return *this;
387  }
void Release()
Definition: agile.h:405
template<typename T >
Agile& Platform::Agile< T, false >::operator= ( TypeT  object)
throw (
)
inline
390  {
391  if (_object != object)
392  {
393  _object = object;
394  }
395  return *this;
396  }
TypeT _object
Definition: agile.h:333
template<typename T >
Agile& Platform::Agile< T, false >::operator= ( Agile< T, false object)
throw (
)
inline
399  {
400  object.Swap(*this);
401  return *this;
402  }
template<typename T >
bool Platform::Agile< T, false >::operator== ( nullptr_t  ) const
throw (
)
inline
416  {
417  return _object == nullptr;
418  }
TypeT _object
Definition: agile.h:333
template<typename T >
bool Platform::Agile< T, false >::operator== ( const Agile< T, false > &  other) const
throw (
)
inline
421  {
422  return _object == other._object;
423  }
TypeT _object
Definition: agile.h:333
template<typename T >
void Platform::Agile< T, false >::Release ( )
throw (
)
inline
406  {
407  _object = nullptr;
408  }
TypeT _object
Definition: agile.h:333
template<typename T >
void Platform::Agile< T, false >::Swap ( Agile< T, false > &  object)
inline
411  {
412  std::swap(_object, object._object);
413  }
void swap(any &_Left, any &_Right) _NOEXCEPT
Definition: any:450
TypeT _object
Definition: agile.h:333

Member Data Documentation

template<typename T >
TypeT Platform::Agile< T, false >::_object
private

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