2using System.Collections.Generic;
13 List<BlobProto> m_rgProtos =
new List<BlobProto>();
27 get {
return m_rgProtos.Count; }
37 get {
return m_rgProtos[nIdx]; }
38 set { m_rgProtos[nIdx] = value; }
56 m_rgProtos.RemoveAt(nIdx);
66 return m_rgProtos.Remove(bp);
83 return m_rgProtos.GetEnumerator();
90 System.Collections.IEnumerator
System.Collections.IEnumerable.GetEnumerator()
92 return m_rgProtos.GetEnumerator();
Specifies a collection of BlobProtos.
int Count
Specifies the number of items in the collection.
void Clear()
Remove all elements from the collection.
bool Remove(BlobProto bp)
Remove a given BlobProto if it exists in the collection.
void Add(BlobProto bp)
Add a new BlobProto to the collection.
IEnumerator< BlobProto > GetEnumerator()
Retrive the enumerator for the collection.
BlobProtoCollection()
The BlobProtoCollection Constructor.
void RemoveAt(int nIdx)
Remove a BlobProto at a given index.
The BlobProto contains the descripion of a blob.
The MyCaffe.param namespace contains parameters used to create models.