Teamcenter C++ API Reference  2312
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
BusinessObjectExtenderRef< T > Class Template Reference

BusinessObjectExtenderRef smart pointer. More...

#include <BusinessObjectExtenderRef.hxx>

Public Member Functions

 BusinessObjectExtenderRef ()
 
 BusinessObjectExtenderRef (tag_t owning_obj_tag)
 
 BusinessObjectExtenderRef (Teamcenter::RootObject owning_object)
 
template<typename S >
 BusinessObjectExtenderRef (const BusinessObjectExtenderRef< S > &other)
 
template<typename U >
bool isInstanceOf () const
 
const T & operator* () const
 
T * operator-> () const
 
BusinessObjectExtenderRefoperator= (const BusinessObjectExtenderRef &other)
 
BusinessObjectExtenderRefoperator= (tag_t owning_obj_tag)
 
virtual ~BusinessObjectExtenderRef ()
 

Private Member Functions

T * getPointee () const
 

Private Attributes

tag_t m_owning_obj_tag
 
T * m_pointee
 

Friends

template<typename S >
class BusinessObjectExtenderRef
 

Detailed Description

template<typename T>
class BusinessObjectExtenderRef< T >

BusinessObjectExtenderRef smart pointer.

BusinessObjectExtenderRef smart pointer. It is similar BusinessObjectRef.

tag_t owningObjectTag = fromSomewhere();
...
BusinessObjectExtenderRef<ExtenderObjectQualifiedName> extenderRef( owningObjectTag );
extenderRef->getXYZ(...);

Definition at line 37 of file BusinessObjectExtenderRef.hxx.

Constructor & Destructor Documentation

template<typename T>
BusinessObjectExtenderRef< T >::BusinessObjectExtenderRef ( )
inline

Default constructor

Definition at line 44 of file BusinessObjectExtenderRef.hxx.

template<typename T>
BusinessObjectExtenderRef< T >::BusinessObjectExtenderRef ( tag_t  owning_obj_tag)
inlineexplicit

Constructor

Parameters
owning_obj_tag(I) The input Owning Object tag

Definition at line 49 of file BusinessObjectExtenderRef.hxx.

template<typename T>
BusinessObjectExtenderRef< T >::BusinessObjectExtenderRef ( Teamcenter::RootObject  owning_object)
inlineexplicit

Constructor

Parameters
owning_object(I) The input Owning Object

Definition at line 58 of file BusinessObjectExtenderRef.hxx.

template<typename T>
template<typename S >
BusinessObjectExtenderRef< T >::BusinessObjectExtenderRef ( const BusinessObjectExtenderRef< S > &  other)
inlineexplicit

Template for BusinessObjectExtenderRef

Definition at line 70 of file BusinessObjectExtenderRef.hxx.

template<typename T>
virtual BusinessObjectExtenderRef< T >::~BusinessObjectExtenderRef ( )
inlinevirtual

Destructor for a BusinessObjectExtenderRef

Definition at line 127 of file BusinessObjectExtenderRef.hxx.

Member Function Documentation

template<typename T>
T* BusinessObjectExtenderRef< T >::getPointee ( ) const
inlineprivate

Definition at line 134 of file BusinessObjectExtenderRef.hxx.

template<typename T>
template<typename U >
bool BusinessObjectExtenderRef< T >::isInstanceOf ( ) const
inline

Template for isInstanceOf

Returns
true if input class is an instance of this class.

Definition at line 119 of file BusinessObjectExtenderRef.hxx.

template<typename T>
const T& BusinessObjectExtenderRef< T >::operator* ( ) const
inline

Operator to return a reference to the BusinessObjectExtenderRef

Definition at line 112 of file BusinessObjectExtenderRef.hxx.

template<typename T>
T* BusinessObjectExtenderRef< T >::operator-> ( ) const
inline

Operator to return a pointer to the BusinessObjectExtenderRef

Definition at line 107 of file BusinessObjectExtenderRef.hxx.

template<typename T>
BusinessObjectExtenderRef& BusinessObjectExtenderRef< T >::operator= ( const BusinessObjectExtenderRef< T > &  other)
inline

Copy constructor for BusinessObjectExtenderRef

Parameters
other(I) The input BusinessObjectExtenderRef

Definition at line 79 of file BusinessObjectExtenderRef.hxx.

template<typename T>
BusinessObjectExtenderRef& BusinessObjectExtenderRef< T >::operator= ( tag_t  owning_obj_tag)
inline

Assignment operator for BusinessObjectExtenderRef

Parameters
owning_obj_tag(I) The input Owning Object tag

Definition at line 95 of file BusinessObjectExtenderRef.hxx.

Friends And Related Function Documentation

template<typename T>
template<typename S >
friend class BusinessObjectExtenderRef
friend

Definition at line 143 of file BusinessObjectExtenderRef.hxx.

Member Data Documentation

template<typename T>
tag_t BusinessObjectExtenderRef< T >::m_owning_obj_tag
private

The Owning object tag

Definition at line 148 of file BusinessObjectExtenderRef.hxx.

template<typename T>
T* BusinessObjectExtenderRef< T >::m_pointee
mutableprivate

Definition at line 150 of file BusinessObjectExtenderRef.hxx.


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