STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | List of all members
cliext::priority_queue< _Value_t, _Cont_t > Class Template Reference
Inheritance diagram for cliext::priority_queue< _Value_t, _Cont_t >:
cliext::impl::priority_queue_select< _Value_t, _Dehandle< _Cont_t >::type, __is_ref_class(_Dehandle< _Value_t >::type)&&!is_handle< _Value_t >::value > cliext::impl::priority_queue_base< _Value_t, _Dehandle< _Cont_t >::type^>

Public Types

typedef priority_queue< _Value_t, _Cont_t > _Mytype_t
 
typedef impl::priority_queue_select< _Value_t, typename _Dehandle< _Cont_t >::type, __is_ref_class(typename _Dehandle< _Value_t >::type)&&!is_handle< _Value_t >::value > _Mybase_t
 
- Public Types inherited from cliext::impl::priority_queue_select< _Value_t, _Dehandle< _Cont_t >::type, __is_ref_class(_Dehandle< _Value_t >::type)&&!is_handle< _Value_t >::value >
typedef priority_queue_select< _Value_t, _Dehandle< _Cont_t >::type, _Is_ref > _Mytype_t
 
typedef priority_queue_base< _Value_t, _Dehandle< _Cont_t >::type^> _Mybase_t
 
typedef _Value_t value_type
 
typedef value_type reference
 
typedef value_type const_reference
 
- Public Types inherited from cliext::impl::priority_queue_base< _Value_t, _Dehandle< _Cont_t >::type^>
typedef priority_queue_base< _Value_t, _Dehandle< _Cont_t >::type^ > _Mytype_t
 
typedef _STLCLR IPriorityQueue< _Value_t, typename _Container_traits< _Dehandle< _Cont_t >::type^ >::generic_container_handle > _Mycont_it
 
typedef cli::array< _Value_t > _Myarray_t
 
typedef int size_type
 
typedef int difference_type
 
typedef _Value_t value_type
 
typedef value_type reference
 
typedef value_type const_reference
 
typedef _Mycont_it generic_container
 
typedef value_type generic_value
 
typedef _Dehandle< _Dehandle< _Cont_t >::type^ >::type container_type
 
typedef _STLCLR BinaryDelegate< _Value_t, _Value_t, boolvalue_compare
 

Public Member Functions

 priority_queue ()
 
 priority_queue (priority_queue%_Right)
 
 priority_queue (priority_queue^_Right)
 
priority_queue operator= (priority_queue%_Right)
 
priority_queue operator= (priority_queue^_Right)
 
 priority_queue (value_compare^_Pred)
 
 priority_queue (value_compare^_Pred, container_type%_Cont)
 
template<typename _Iter >
 priority_queue (_Iter _First, _Iter _Last)
 
template<typename _Iter >
 priority_queue (_Iter _First, _Iter _Last, value_compare^_Pred)
 
template<typename _Iter >
 priority_queue (_Iter _First, _Iter _Last, value_compare^_Pred, container_type%_Cont)
 
virtual System::Object Clone () override
 
- Public Member Functions inherited from cliext::impl::priority_queue_select< _Value_t, _Dehandle< _Cont_t >::type, __is_ref_class(_Dehandle< _Value_t >::type)&&!is_handle< _Value_t >::value >
 priority_queue_select ()
 
 priority_queue_select (value_compare^_Pred)
 
 priority_queue_select (value_compare^_Pred, container_type%_Cont)
 
priority_queue_select operator= (priority_queue_select%_Right)
 
- Public Member Functions inherited from cliext::impl::priority_queue_base< _Value_t, _Dehandle< _Cont_t >::type^>
 priority_queue_base ()
 
 priority_queue_base (value_compare^_Pred)
 
 priority_queue_base (value_compare^_Pred, container_type%_Cont)
 
priority_queue_base operator= (priority_queue_base%_Right)
 
 operator _Mycont_it^ ()
 
 ~priority_queue_base ()
 
reference top ()
 
container_type get_container ()
 
value_compare value_comp ()
 
_Myarray_t to_array ()
 
size_type size ()
 
bool empty ()
 
void push (value_type _Val)
 
void pop ()
 
void assign (_Mytype_t%_Right)
 

Additional Inherited Members

- Public Attributes inherited from cliext::impl::priority_queue_base< _Value_t, _Dehandle< _Cont_t >::type^>
property value_type top_item
 
_STLCLR_FIELD_ACCESS __pad0__
 
container_type c
 

Member Typedef Documentation

template<typename _Value_t , typename _Cont_t = cliext::vector<_Value_t>>
typedef impl::priority_queue_select< _Value_t, typename _Dehandle<_Cont_t>::type, __is_ref_class(typename _Dehandle<_Value_t>::type) && !is_handle<_Value_t>::value> cliext::priority_queue< _Value_t, _Cont_t >::_Mybase_t
template<typename _Value_t , typename _Cont_t = cliext::vector<_Value_t>>
typedef priority_queue<_Value_t, _Cont_t> cliext::priority_queue< _Value_t, _Cont_t >::_Mytype_t

Constructor & Destructor Documentation

template<typename _Value_t , typename _Cont_t = cliext::vector<_Value_t>>
cliext::priority_queue< _Value_t, _Cont_t >::priority_queue ( )
inline
839  { // construct with empty container
840  }
template<typename _Value_t , typename _Cont_t = cliext::vector<_Value_t>>
cliext::priority_queue< _Value_t, _Cont_t >::priority_queue ( priority_queue< _Value_t, _Cont_t >%  _Right)
inline
843  : _Mybase_t(_Right.value_comp(), *_Right.get_container())
844  { // construct by copying a priority_queue
845  }
impl::priority_queue_select< _Value_t, typename _Dehandle< _Cont_t >::type, __is_ref_class(typename _Dehandle< _Value_t >::type)&&!is_handle< _Value_t >::value > _Mybase_t
Definition: queue:821
const _Ty & _Right
Definition: algorithm:4087
template<typename _Value_t , typename _Cont_t = cliext::vector<_Value_t>>
cliext::priority_queue< _Value_t, _Cont_t >::priority_queue ( priority_queue< _Value_t, _Cont_t >^  _Right)
inline
848  : _Mybase_t(_Right->value_comp(), *_Right->get_container())
849  { // construct by copying a priority_queue
850  }
impl::priority_queue_select< _Value_t, typename _Dehandle< _Cont_t >::type, __is_ref_class(typename _Dehandle< _Value_t >::type)&&!is_handle< _Value_t >::value > _Mybase_t
Definition: queue:821
const _Ty & _Right
Definition: algorithm:4087
template<typename _Value_t , typename _Cont_t = cliext::vector<_Value_t>>
cliext::priority_queue< _Value_t, _Cont_t >::priority_queue ( value_compare _Pred)
inlineexplicit
866  : _Mybase_t(_Pred)
867  { // construct with empty container, specified predicate
868  }
_FwdIt const _Ty _Pr _Pred
Definition: algorithm:1985
impl::priority_queue_select< _Value_t, typename _Dehandle< _Cont_t >::type, __is_ref_class(typename _Dehandle< _Value_t >::type)&&!is_handle< _Value_t >::value > _Mybase_t
Definition: queue:821
template<typename _Value_t , typename _Cont_t = cliext::vector<_Value_t>>
cliext::priority_queue< _Value_t, _Cont_t >::priority_queue ( value_compare _Pred,
container_type _Cont 
)
inline
871  : _Mybase_t(_Pred, _Cont)
872  { // construct with specified predicate and container
873  cliext::make_heap(c->begin(), c->end(), comp);
874  }
_FwdIt const _Ty _Pr _Pred
Definition: algorithm:1985
void make_heap(_RanIt _First, _RanIt _Last)
Definition: algorithm:1721
impl::priority_queue_select< _Value_t, typename _Dehandle< _Cont_t >::type, __is_ref_class(typename _Dehandle< _Value_t >::type)&&!is_handle< _Value_t >::value > _Mybase_t
Definition: queue:821
template<typename _Value_t , typename _Cont_t = cliext::vector<_Value_t>>
template<typename _Iter >
cliext::priority_queue< _Value_t, _Cont_t >::priority_queue ( _Iter  _First,
_Iter  _Last 
)
inline
878  { // construct by copying [_First, _Last), default comparator
879  c->insert(c->end(), _First, _Last);
880  cliext::make_heap(c->begin(), c->end(), comp);
881  }
void make_heap(_RanIt _First, _RanIt _Last)
Definition: algorithm:1721
_FwdIt _Last
Definition: algorithm:1936
template<typename _Value_t , typename _Cont_t = cliext::vector<_Value_t>>
template<typename _Iter >
cliext::priority_queue< _Value_t, _Cont_t >::priority_queue ( _Iter  _First,
_Iter  _Last,
value_compare _Pred 
)
inline
885  : _Mybase_t(_Pred)
886  { // construct by copying [_First, _Last), specified comparator
887  c->insert(c->end(), _First, _Last);
888  cliext::make_heap(c->begin(), c->end(), comp);
889  }
_FwdIt const _Ty _Pr _Pred
Definition: algorithm:1985
void make_heap(_RanIt _First, _RanIt _Last)
Definition: algorithm:1721
impl::priority_queue_select< _Value_t, typename _Dehandle< _Cont_t >::type, __is_ref_class(typename _Dehandle< _Value_t >::type)&&!is_handle< _Value_t >::value > _Mybase_t
Definition: queue:821
_FwdIt _Last
Definition: algorithm:1936
template<typename _Value_t , typename _Cont_t = cliext::vector<_Value_t>>
template<typename _Iter >
cliext::priority_queue< _Value_t, _Cont_t >::priority_queue ( _Iter  _First,
_Iter  _Last,
value_compare _Pred,
container_type _Cont 
)
inline
894  : _Mybase_t(_Pred, _Cont)
895  { // construct by copying [_First, _Last), container, and comparator
896  c->insert(c->end(), _First, _Last);
897  cliext::make_heap(c->begin(), c->end(), comp);
898  }
_FwdIt const _Ty _Pr _Pred
Definition: algorithm:1985
void make_heap(_RanIt _First, _RanIt _Last)
Definition: algorithm:1721
impl::priority_queue_select< _Value_t, typename _Dehandle< _Cont_t >::type, __is_ref_class(typename _Dehandle< _Value_t >::type)&&!is_handle< _Value_t >::value > _Mybase_t
Definition: queue:821
_FwdIt _Last
Definition: algorithm:1936

Member Function Documentation

template<typename _Value_t , typename _Cont_t = cliext::vector<_Value_t>>
virtual System::Object cliext::priority_queue< _Value_t, _Cont_t >::Clone ( )
inlineoverridevirtual

Reimplemented from cliext::impl::priority_queue_base< _Value_t, _Dehandle< _Cont_t >::type^>.

902  { // clone the vector
903  return (gcnew _Mytype_t(*this));
904  }
priority_queue< _Value_t, _Cont_t > _Mytype_t
Definition: queue:816
template<typename _Value_t , typename _Cont_t = cliext::vector<_Value_t>>
priority_queue cliext::priority_queue< _Value_t, _Cont_t >::operator= ( priority_queue< _Value_t, _Cont_t >%  _Right)
inline
853  { // assign
855  return (*this);
856  }
priority_queue_select operator=(priority_queue_select%_Right)
Definition: queue:706
const _Ty & _Right
Definition: algorithm:4087
template<typename _Value_t , typename _Cont_t = cliext::vector<_Value_t>>
priority_queue cliext::priority_queue< _Value_t, _Cont_t >::operator= ( priority_queue< _Value_t, _Cont_t >^  _Right)
inline
859  { // assign
861  return (*this);
862  }
priority_queue_select operator=(priority_queue_select%_Right)
Definition: queue:706
const _Ty & _Right
Definition: algorithm:4087

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