MyCaffe  1.11.8.27
Deep learning software for Windows C# programmers.
MyCaffe.basecode.descriptors.ValueDescriptorCollection Class Reference

The ValueDescriptorCollection class contains a list of ValueDescriptor's. More...

Inheritance diagram for MyCaffe.basecode.descriptors.ValueDescriptorCollection:

Public Member Functions

 ValueDescriptorCollection ()
 The ValueDescriptorCollection constructor. More...
 
 ValueDescriptorCollection (ValueDescriptorCollection rg)
 The ValueDescriptorCollection constructor. More...
 
void Add (ValueDescriptor p)
 Adds a ValueDescriptor to the collection. More...
 
ValueDescriptor Find (string strName)
 Searches for a parameter by name in the collection. More...
 
IEnumerator< ValueDescriptorGetEnumerator ()
 Returns the enumerator of the collection. More...
 

Properties

int Count [get]
 Returns the count of items in the collection. More...
 
ValueDescriptor this[int nIdx] [get]
 Returns the item at a given index within the collection. More...
 

Detailed Description

The ValueDescriptorCollection class contains a list of ValueDescriptor's.

Definition at line 14 of file ValueDescriptorCollection.cs.

Constructor & Destructor Documentation

◆ ValueDescriptorCollection() [1/2]

MyCaffe.basecode.descriptors.ValueDescriptorCollection.ValueDescriptorCollection ( )

The ValueDescriptorCollection constructor.

Definition at line 21 of file ValueDescriptorCollection.cs.

◆ ValueDescriptorCollection() [2/2]

MyCaffe.basecode.descriptors.ValueDescriptorCollection.ValueDescriptorCollection ( ValueDescriptorCollection  rg)

The ValueDescriptorCollection constructor.

Parameters
rgSpecifies another collection used to create this one.

Definition at line 29 of file ValueDescriptorCollection.cs.

Member Function Documentation

◆ Add()

void MyCaffe.basecode.descriptors.ValueDescriptorCollection.Add ( ValueDescriptor  p)

Adds a ValueDescriptor to the collection.

Parameters
pSpecifies the item to add.

Definition at line 59 of file ValueDescriptorCollection.cs.

◆ Find()

ValueDescriptor MyCaffe.basecode.descriptors.ValueDescriptorCollection.Find ( string  strName)

Searches for a parameter by name in the collection.

Parameters
strNameSpecifies the name to look for.
Returns
If found, the item is returned, otherwise null is returned.

Definition at line 69 of file ValueDescriptorCollection.cs.

◆ GetEnumerator()

IEnumerator< ValueDescriptor > MyCaffe.basecode.descriptors.ValueDescriptorCollection.GetEnumerator ( )

Returns the enumerator of the collection.

Returns
The collection's enumerator is returned.

Definition at line 84 of file ValueDescriptorCollection.cs.

Property Documentation

◆ Count

int MyCaffe.basecode.descriptors.ValueDescriptorCollection.Count
get

Returns the count of items in the collection.

Definition at line 40 of file ValueDescriptorCollection.cs.

◆ this[int nIdx]

ValueDescriptor MyCaffe.basecode.descriptors.ValueDescriptorCollection.this[int nIdx]
get

Returns the item at a given index within the collection.

Parameters
nIdxSpecifies the index.
Returns
Returns the item as the index.

Definition at line 50 of file ValueDescriptorCollection.cs.


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