STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Public Attributes | List of all members
cliext::BCL_reference< _Cont_t, _Is_ref > Class Template Reference
Inheritance diagram for cliext::BCL_reference< _Cont_t, _Is_ref >:
cliext::BCL_reference_base< _Cont_t, _Is_ref >

Public Types

typedef BCL_reference< _Cont_t > _Mytype_t
 
- Public Types inherited from cliext::BCL_reference_base< _Cont_t, _Is_ref >
typedef _Cont_t::value_type generic_value
 
typedef _Cont_t::value_type value_type
 

Public Member Functions

 BCL_reference (_Cont_t^_Cont, int _Offset)
 
 BCL_reference (BCL_reference%_Right)
 
BCL_reference operator= (BCL_reference%_Right)
 
BCL_reference operator= (value_type _Val)
 
 operator value_type ()
 
- Public Member Functions inherited from cliext::BCL_reference_base< _Cont_t, _Is_ref >
generic_value make_generic (value_type%_Val)
 
value_type make_value (generic_value%_Val)
 

Public Attributes

_STLCLR_FIELD_ACCESS __pad0__: _Cont_t^ _Mycont
 
int _Myoffset
 
value_type _Myval
 

Member Typedef Documentation

template<typename _Cont_t , bool _Is_ref = false>
typedef BCL_reference<_Cont_t> cliext::BCL_reference< _Cont_t, _Is_ref >::_Mytype_t

Constructor & Destructor Documentation

template<typename _Cont_t , bool _Is_ref = false>
cliext::BCL_reference< _Cont_t, _Is_ref >::BCL_reference ( _Cont_t^  _Cont,
int  _Offset 
)
inline
3311  : _Mycont(_Cont), _Myoffset(_Offset)
3312  { // construct from container and offset
3313  }
_Check_return_opt_ _In_ long _Offset
Definition: io.h:334
int _Myoffset
Definition: iterator:3349
template<typename _Cont_t , bool _Is_ref = false>
cliext::BCL_reference< _Cont_t, _Is_ref >::BCL_reference ( BCL_reference< _Cont_t, _Is_ref >%  _Right)
inline
3316  : _Mycont(nullptr), _Myoffset(0),
3317  _Myval(_Right.operator value_type())
3318  { // construct by copying _Right
3319  }
_Cont_t::value_type value_type
Definition: iterator:3265
value_type _Myval
Definition: iterator:3350
int _Myoffset
Definition: iterator:3349
const _Ty & _Right
Definition: algorithm:4087

Member Function Documentation

template<typename _Cont_t , bool _Is_ref = false>
cliext::BCL_reference< _Cont_t, _Is_ref >::operator value_type ( )
inline
3340  { // convert to value type
3341  if (_Mycont != nullptr)
3342  return (make_value(_Mycont->at_val(_Myoffset)));
3343  else
3344  return (_Myval);
3345  }
value_type make_value(generic_value%_Val)
Definition: iterator:3272
value_type _Myval
Definition: iterator:3350
int _Myoffset
Definition: iterator:3349
template<typename _Cont_t , bool _Is_ref = false>
BCL_reference cliext::BCL_reference< _Cont_t, _Is_ref >::operator= ( BCL_reference< _Cont_t, _Is_ref >%  _Right)
inline
3322  { // assign from a BCL_reference
3323  if (_Mycont != nullptr)
3324  _Mycont->at_set(_Myoffset, _Right.operator value_type());
3325  else
3326  _Myval = _Right.operator value_type();
3327  return (*this);
3328  }
_Cont_t::value_type value_type
Definition: iterator:3265
value_type _Myval
Definition: iterator:3350
int _Myoffset
Definition: iterator:3349
const _Ty & _Right
Definition: algorithm:4087
template<typename _Cont_t , bool _Is_ref = false>
BCL_reference cliext::BCL_reference< _Cont_t, _Is_ref >::operator= ( value_type  _Val)
inline
3331  { // assign a value
3332  if (_Mycont != nullptr)
3333  _Mycont->at_set(_Myoffset, _Val);
3334  else
3335  _Myval = _Val;
3336  return (*this);
3337  }
value_type _Myval
Definition: iterator:3350
_FwdIt const _Ty _Val
Definition: algorithm:1938
int _Myoffset
Definition: iterator:3349

Member Data Documentation

template<typename _Cont_t , bool _Is_ref = false>
_STLCLR_FIELD_ACCESS cliext::BCL_reference< _Cont_t, _Is_ref >::__pad0__
template<typename _Cont_t , bool _Is_ref = false>
int cliext::BCL_reference< _Cont_t, _Is_ref >::_Myoffset
template<typename _Cont_t , bool _Is_ref = false>
value_type cliext::BCL_reference< _Cont_t, _Is_ref >::_Myval

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