![]() |
MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The GenericList provides a base used to implement a generic list by only implementing the minimum amount of the list functionality. More...
Public Member Functions | |
| GenericList () | |
| The constructor. More... | |
| virtual void | Add (T item) |
| Add a new item to the list. More... | |
| bool | Remove (T item) |
| Remove an item from the list. More... | |
| void | RemoveAt (int nIdx) |
| Remove the item at a given index in the list. More... | |
| void | Clear () |
| Remove all items from the list. More... | |
| IEnumerator< T > | GetEnumerator () |
| Get the list enumerator. More... | |
Protected Attributes | |
| List< T > | m_rgItems = new List<T>() |
| The actual list of items. More... | |
Properties | |
| int | Count [get] |
| Returns the number of items in the list. More... | |
| T | this[int nIdx] [getset] |
| Get/set the item at an index in the list. More... | |
The GenericList provides a base used to implement a generic list by only implementing the minimum amount of the list functionality.
| T | The base type of the list. |
Definition at line 14 of file GenericList.cs.
| MyCaffe.basecode.GenericList< T >.GenericList | ( | ) |
The constructor.
Definition at line 24 of file GenericList.cs.
|
virtual |
Add a new item to the list.
| item | Specifies the item to add. |
Definition at line 40 of file GenericList.cs.
| void MyCaffe.basecode.GenericList< T >.Clear | ( | ) |
Remove all items from the list.
Definition at line 67 of file GenericList.cs.
| IEnumerator< T > MyCaffe.basecode.GenericList< T >.GetEnumerator | ( | ) |
Get the list enumerator.
Definition at line 76 of file GenericList.cs.
| bool MyCaffe.basecode.GenericList< T >.Remove | ( | T | item | ) |
Remove an item from the list.
| item | Specifies the item to remove. |
Definition at line 50 of file GenericList.cs.
| void MyCaffe.basecode.GenericList< T >.RemoveAt | ( | int | nIdx | ) |
Remove the item at a given index in the list.
| nIdx | Specifies the index at which to remove the item. |
Definition at line 59 of file GenericList.cs.
|
protected |
The actual list of items.
Definition at line 19 of file GenericList.cs.
|
get |
Returns the number of items in the list.
Definition at line 31 of file GenericList.cs.
|
getset |
Get/set the item at an index in the list.
| nIdx | Specifies the index of the item to access. |
Definition at line 95 of file GenericList.cs.