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::impl::list_node< _Value_t > Class Template Reference
Inheritance diagram for cliext::impl::list_node< _Value_t >:

Public Types

typedef list_node< _Value_t > _Mytype_t
 
typedef _STLCLR Generic::INode< _Value_t > _Mynode_it
 
typedef _STLCLR Generic::IBidirectionalContainer< _Value_t > _Mycont_it
 
typedef _Value_t value_type
 

Public Member Functions

 list_node (_Mycont_it^_Owner)
 
_Mycont_it container ()
 
bool is_head ()
 
_Mytype_t next_node ()
 
_Mytype_t prev_node ()
 

Public Attributes

property _Value_t _Value
 
_Mycont_it _Mycont
 
_Mytype_t _Head
 
_Mytype_t _Next
 
_Mytype_t _Prev
 
value_type _Myval
 

Member Typedef Documentation

template<typename _Value_t>
typedef _STLCLR Generic::IBidirectionalContainer<_Value_t> cliext::impl::list_node< _Value_t >::_Mycont_it
template<typename _Value_t>
typedef _STLCLR Generic::INode<_Value_t> cliext::impl::list_node< _Value_t >::_Mynode_it
template<typename _Value_t>
typedef list_node<_Value_t> cliext::impl::list_node< _Value_t >::_Mytype_t
template<typename _Value_t>
typedef _Value_t cliext::impl::list_node< _Value_t >::value_type

Constructor & Destructor Documentation

template<typename _Value_t>
cliext::impl::list_node< _Value_t >::list_node ( _Mycont_it _Owner)
inline
23  : _Mycont(_Owner)
24  { // construct a node with defaults
25  }
_Mycont_it _Mycont
Definition: list:69

Member Function Documentation

template<typename _Value_t>
_Mycont_it cliext::impl::list_node< _Value_t >::container ( )
inline
28  { // return owning container
29  return (_Head == nullptr ? nullptr : _Head->_Mycont);
30  }
_Mytype_t _Head
Definition: list:70
_Mycont_it _Mycont
Definition: list:69
template<typename _Value_t>
bool cliext::impl::list_node< _Value_t >::is_head ( )
inline
33  { // test if head node
34  return (_Mycont != nullptr);
35  }
_Mycont_it _Mycont
Definition: list:69
template<typename _Value_t>
_Mytype_t cliext::impl::list_node< _Value_t >::next_node ( )
inline
38  { // return successor node
39  if (this == _Head || _Head == nullptr)
40  throw gcnew System::InvalidOperationException();
41  return (_Next);
42  }
_Mytype_t _Head
Definition: list:70
_Mytype_t _Next
Definition: list:71
template<typename _Value_t>
_Mytype_t cliext::impl::list_node< _Value_t >::prev_node ( )
inline
45  { // return predecessor node
46  if (_Head == _Prev || _Head == nullptr)
47  throw gcnew System::InvalidOperationException();
48  return (_Prev);
49  }
_Mytype_t _Head
Definition: list:70
_Mytype_t _Prev
Definition: list:72

Member Data Documentation

template<typename _Value_t>
_Mytype_t cliext::impl::list_node< _Value_t >::_Head
template<typename _Value_t>
_Mycont_it cliext::impl::list_node< _Value_t >::_Mycont
template<typename _Value_t>
value_type cliext::impl::list_node< _Value_t >::_Myval
template<typename _Value_t>
_Mytype_t cliext::impl::list_node< _Value_t >::_Next
template<typename _Value_t>
_Mytype_t cliext::impl::list_node< _Value_t >::_Prev
template<typename _Value_t>
property _Value_t cliext::impl::list_node< _Value_t >::_Value
Initial value:
{
virtual _Value_t% get()
{
if (this == _Head || _Head == nullptr)
throw gcnew System::InvalidOperationException();
return (_Myval);
}
virtual void set(_Value_t% _Val)
{
if (this == _Head || _Head == nullptr)
throw gcnew System::InvalidOperationException();
}
}

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