|
MGCL V10
V10
MGCL V10
|
MGParam_Vector provides a list to store parameters of a curve. [詳解]
公開型 | |
| typedef std::list< double > | container_type |
| typedef container_type::iterator | Citerator |
| typedef container_type::const_iterator | const_Citerator |
| typedef container_type::iterator | iterator |
| typedef container_type::const_iterator | const_iterator |
公開メンバ関数 | |
| MGCParam_list (const MGCurve *curve=0) | |
| Constructor of length 0. [詳解] | |
| ~MGCParam_list () | |
| void | append (double param) |
| Adds the parameter to the end of the list. [詳解] | |
| void | push_back (double param) |
| void | append (const MGCParam_list &lst) |
| Adds the parameter list to the end of the list. [詳解] | |
| Citerator | begin () |
| Get the pointer of the first element of the m_CPlist. [詳解] | |
| const_Citerator | begin () const |
| void | clear () |
| Clear all the elements in m_CPlist. [詳解] | |
| const MGCurve * | curve () const |
| Returns the pointer to the curve. [詳解] | |
| Citerator | end () |
| Get the pointer of the next of the last element of the m_CPlist. [詳解] | |
| const_Citerator | end () const |
| int | entries () const |
| Returns the number of items that are in the list. [詳解] | |
| int | size () const |
| Citerator | erase (Citerator i) |
| double | front () const |
| double | first () const |
| void | insertAt (Citerator i, double param) |
| int | isEmpty () const |
| int | empty () const |
| double | last () const |
| double | back () const |
| bool | lower_bound (double param, double &lowerBound) const |
| void | pop_front () |
| Erase the first element of m_CPlist if not null. [詳解] | |
| void | pop_back () |
| Erase the last element of m_CPlist if not null. [詳解] | |
| void | prepend (double param) |
| Adds the parameter to the beginning of the list. [詳解] | |
| void | push_front (double param) |
| double | removeAt (Citerator i) |
| double | removeFirst () |
| double | removeLast () |
| void | sort () |
| Sort the elements in m_CPlist;. [詳解] | |
| void | unique () |
| erase the same elements as previous element in the sequence. [詳解] | |
フレンド | |
| MG_DLL_DECLR friend std::ostream & | operator<< (std::ostream &, const MGCParam_list &) |
| String stream Function. [詳解] | |
MGParam_Vector provides a list to store parameters of a curve.
| typedef container_type::iterator MGCParam_list::Citerator |
| typedef container_type::const_iterator MGCParam_list::const_Citerator |
| typedef container_type::const_iterator MGCParam_list::const_iterator |
| typedef std::list<double> MGCParam_list::container_type |
| typedef container_type::iterator MGCParam_list::iterator |
|
explicit |
Constructor of length 0.
|
inline |
| void MGCParam_list::append | ( | double | param | ) |
Adds the parameter to the end of the list.
| void MGCParam_list::append | ( | const MGCParam_list & | lst | ) |
Adds the parameter list to the end of the list.
|
inline |
|
inline |
Get the pointer of the first element of the m_CPlist.
|
inline |
|
inline |
Clear all the elements in m_CPlist.
|
inline |
Returns the pointer to the curve.
|
inline |
|
inline |
Get the pointer of the next of the last element of the m_CPlist.
|
inline |
|
inline |
Returns the number of items that are in the list.
Erase the element of iterator i. Returned is the iterator located after the element i.
|
inline |
|
inline |
Returns(but does not remove) first element in the list. If list is empty, behavior is undefined.
|
inline |
Inserts parameter at the index position i. This position must be between zero and the number of items in the list, or behavior is undefined.
|
inline |
Return true (1) if there are no items in the list, false(0) otherwise.
|
inline |
Return(but does not remove) last element in the list. If list is empty, behavior is undefined.
|
inline |
Get Lower Bound(this must be sorted) if no lower bound return false
|
inline |
Erase the last element of m_CPlist if not null.
|
inline |
Erase the first element of m_CPlist if not null.
|
inline |
Adds the parameter to the beginning of the list.
|
inline |
|
inline |
| double MGCParam_list::removeAt | ( | Citerator | i | ) |
Remove the parameter and return the parameter. If i is not valid, behavior is undefined.
| double MGCParam_list::removeFirst | ( | ) |
Remove the first parameter int the list and return the parameter. If i is not valid, behavior is undefined.
| double MGCParam_list::removeLast | ( | ) |
Remove the last parameter in the list and return the parameter. If i is not valid, behavior is undefined.
|
inline |
|
inline |
Sort the elements in m_CPlist;.
|
inline |
erase the same elements as previous element in the sequence.
|
friend |
String stream Function.